livestrong
Technical User
HI,
On my Lan i have an exchange machine which my onlinestore is using to send mail at the moment, however this is the company mail server thus i wish to configure my sendmail server to masquerade as the exchage machine.
In my sendmail.mc file i have the following
ok....
When i send a test mail from the command line
The address is masquerading as @livestrong.com
however when i look at the mail message in detail
i notice that "Recieved from :" is incorrect, the domain
does not seem to be masquerading.
im getting in the mail message
Thus the mails are getting flagged as spam as the should appear to be coming from the exchange machine
Is this something to do with my /etc/host file??
Any help would be great.
Regards
On my Lan i have an exchange machine which my onlinestore is using to send mail at the moment, however this is the company mail server thus i wish to configure my sendmail server to masquerade as the exchage machine.
In my sendmail.mc file i have the following
Code:
LOCAL_DOMAIN(`localhost.localdomain')dnl
dnl #
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com
dnl #
MASQUERADE_AS(`livestrong.com')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(exchange.livestrong.com)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
dnl MAILER(cyrusv2)dnl
ok....
When i send a test mail from the command line
Code:
mail -v teastaccount@hotmail.com
however when i look at the mail message in detail
i notice that "Recieved from :" is incorrect, the domain
does not seem to be masquerading.
im getting in the mail message
Code:
Received: from onlinestoretest (onlinestoretest.localhost.localdomain [127.0.0.1])
Is this something to do with my /etc/host file??
Any help would be great.
Regards