Hello
We have moved our domain hosting to gmail recently. We want to continue using our linux server as our local post office. The problem faced is that the sender's email address is sent as the user whose credentials are used for authentication.
Suppose xyz@mydomain.com is the user whose credentials are used for authentication, then mail sent by me go out as Vinayakam Murugan ( xyz@mydomain.com) instead of (vinayak@mydomain.com) which was the case earlier.
We have added the following lines to my sendmail.mc
LOCAL_CONFIG C{VirtHost}mydomain.com http://o-i.com/ FEATURE(`nocanonify') define(`confCON_EXPENSIVE',`true') define(`confME_TOO',`true') define(`SMTP_MAILER_FLAGS',e) define(SMART_HOST,mydomain http://mail.w-o-i.com/.com http://o-i.com/) dnl define(`SMTP_MAILER_MAXRCPTS',`1') MASQUERADE_AS(`mydomain.com http://o-i.com/') define(`confMAX_MESSAGE_SIZE',`10000000') FEATURE(`always_add_domain') FEATURE(`allmasquerade') FEATURE(`masquerade_entire_domain') FEATURE(`masquerade_envelope') DAEMON_OPTIONS(`Port=465,Addr=10.0.0.1, Name=MTA')
Any pointers to what might be going wrong would be helpful.