|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
I have a machine running Sendmail and I'd like it to use an Exchange
server for a smart host. It's an AIX machine, but I had the same problem on a Tru64 machine, about a year or two ago, and I never got it resolved. I'd like *all* email to go through the Exchange server - local or not. I have the following lines in my sendmail.cf: DSsmtp:mail.mydomain.com DRsmtp:mail.mydomain.com DHsmtp:mail.mydomain.com For outgoing mail, this works fine. However, when I use the command: mailx -v -s Testing me@mydomain.com I see that sendmail rewrites the address as: me@mail.mydomain.com Apparently, Exchange doesn't like that. Is it possible to get sendmail to leave the address completely alone and just make the Exchange server handle it? Thanks |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
dadoo3002@gmail.com wrote:
> I have a machine running Sendmail and I'd like it to use an Exchange > server for a smart host. It's an AIX machine, but I had the same > problem on a Tru64 machine, about a year or two ago, and I never got it > resolved. > > I'd like *all* email to go through the Exchange server - local or not. > I have the following lines in my sendmail.cf: > > DSsmtp:mail.mydomain.com > DRsmtp:mail.mydomain.com > DHsmtp:mail.mydomain.com > > For outgoing mail, this works fine. However, when I use the command: > > mailx -v -s Testing me@mydomain.com > > I see that sendmail rewrites the address as: > > me@mail.mydomain.com > > Apparently, Exchange doesn't like that. Is it possible to get sendmail > to leave the address completely alone and just make the Exchange server > handle it? > > Thanks > use masquerade and masquerade_envelope. |
|
|
|
#3 (permalink) |
|
Messages: n/a
Hébergeur: |
Alton Yu wrote: > > use masquerade and masquerade_envelope. That worked, thanks, but it wasn't easy. AIX doesn't have sendmail.mc and all the other stuff to build a cf file. I had to go to a Linux machine, set up the sendmail.mc there, "make" it, then transfer sendmail.cf to the AIX machine. There was one problem: apparently, AIX wanted a version 9 sendmail.cf file, while Linux produced a version 10 file. Initially sendmail on AIX choked on the file, so I went in and changed the "V10/Berkeley" line to "V9/Berkeley". I know it's a total kluge, but all I really want is for the machine to email me its logs. Is there any reason that shouldn't work, for my limited purposes? Thanks for your |
|
|
|
#4 (permalink) |
|
Messages: n/a
Hébergeur: |
dadoo3002@gmail.com wrote:
> Alton Yu wrote: >> use masquerade and masquerade_envelope. > > That worked, thanks, but it wasn't easy. AIX doesn't have sendmail.mc > and all the other stuff to build a cf file. I had to go to a Linux > machine, set up the sendmail.mc there, "make" it, then transfer > sendmail.cf to the AIX machine. > > There was one problem: apparently, AIX wanted a version 9 sendmail.cf > file, while Linux produced a version 10 file. Initially sendmail on AIX > choked on the file, so I went in and changed the "V10/Berkeley" line to > "V9/Berkeley". I know it's a total kluge, but all I really want is for > the machine to email me its logs. > > Is there any reason that shouldn't work, for my limited purposes? > > Thanks for your > Download the source and use that. Good luck. |
|
![]() |
| Outils de la discussion | |
|
|