ryan80
asked on
mail sent from sendmail does not have correct domain name
I am configuring a few Linux server to send mail to my internal Exchange server. I am just using sendmail to only send mail internaly.
I configured my Exchange server to be ther smart host, and am able to send mail to my internal domain now. However those emails show up as coming from @localhost.localdomain.
I edited the sendmail.mc file and edited these 2 lines thinking it would fix it, but no luck. What am I doing wrong?
MASQUERADE_DOMAIN(serverna me.this is my domain.com)dnl
MASQUERADE_AS(`this is my domain.com')dnl
I configured my Exchange server to be ther smart host, and am able to send mail to my internal domain now. However those emails show up as coming from @localhost.localdomain.
I edited the sendmail.mc file and edited these 2 lines thinking it would fix it, but no luck. What am I doing wrong?
MASQUERADE_DOMAIN(serverna
MASQUERADE_AS(`this is my domain.com')dnl
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I logged on as another user and still had an issue. However I commented out
FEATURE(masquerade_envelop
and it started working.