|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
I've configured sendmail to relay all local and remote e-mail to an exchange server for distribution. The relay to remote address is working just fine. The only problem I have is with the relaying of the local e-mail. Name of my machine: my_local Name of our exchange server: my_exchg Name of our domain: my_domain.com When my machine relays the e-mail to the exchange server, this is what happens: MAIL From:<root@my_domain.com> root@my_domain.com....Sender OK RCPT To:<hector@my.exchg.my_domain.com> Sent. The e-mail gets received by the exchange server just fine, but why is sendmail changing my address to hector@my.exchg.my_domain.com ? What I want is for sendmail just to say: hector@my_domain.com . Now, this only happens when the cron job sends an e-mail to hector (local address) without specifying the address, just to "hector". If the cron job sends it to "hector@hotmail.com", the exchange server gets the correct addres. Any ideas? Thanks for your . Hector B. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On May 14, 6:35 pm, hdbarr...@hotmail.com wrote:
> Hi, > > I've configured sendmail to relay all local and remote e-mail to an > exchange server for distribution. > > The relay to remote address is working just fine. > > The only problem I have is with the relaying of the local e-mail. > > Name of my machine: my_local > Name of our exchange server: my_exchg > Name of our domain: my_domain.com > > When my machine relays the e-mail to the exchange server, this is what > happens: > > MAIL From:<root@my_domain.com> > root@my_domain.com....Sender OK > RCPT To:<hec...@my.exchg.my_domain.com> > Sent. > > The e-mail gets received by the exchange server just fine, but why is > sendmail changing my address to hec...@my.exchg.my_domain.com ? > > What I want is for sendmail just to say: hector@my_domain.com . > > Now, this only happens when the cron job sends an e-mail to hector > (local address) without specifying the address, just to "hector". > If the cron job sends it to "hec...@hotmail.com", the exchange server > gets the correct addres. > > Any ideas? Perhaps you could post the output of grep -v '^dnl' < sendmail.mc grep -v '^dnl' < submit.mc > > Thanks for your . > > Hector B. |
|
![]() |
| Outils de la discussion | |
|
|