Sendmail add the hostname as a prefix to the domain name
Posted on 2003-03-07
I have my sendmail configured, and it works almost perfectly in my labs except:
1. when I sent from user1 to a user let's say email@example.com, the recipient received as from user1@SERVER.domain.com instead of firstname.lastname@example.org.
2. In my second scenario is that I configured my sendmail to use my ISP smart host(mail.DomainA.com) for relaying mail while my local coporated mail is mail.DomainB.com.
Now, whenever I sent a mail to out side world from my LAN, the recipients received my message as from the ISP domain name i.e user@DomainA.com instead of appearing from my original address which is user@DomainB.com.
Is that something to do with "MASQUERADE_AS, MASQUERADE_DOMAIN or MASQUERADE_ENVELOP" at my ISP?
Thanks very much in advance,