Hi,
I have a question on sendmail. I am using sendmail to receive emails for several domains and forward the emails to the appropriate email servers. I noticed that when the "From:" field of incoming emails do not contain a domain name, the domain name of my mail server will be appended to the "From:" field of the email. For example, when there is an email with the following "From:" field:
From: "ABC"
To: somebody@somedomain.com
Subject: Test
sendmail will append its domain name to the email as:
From: "ABC"@mydomain.com
To: somebody@somedomain.com
Subject: Test
Anybody knows how to prevent sendmail from doing this?
Any help is appreciated. Thanks.
Lewis
I have a question on sendmail. I am using sendmail to receive emails for several domains and forward the emails to the appropriate email servers. I noticed that when the "From:" field of incoming emails do not contain a domain name, the domain name of my mail server will be appended to the "From:" field of the email. For example, when there is an email with the following "From:" field:
From: "ABC"
To: somebody@somedomain.com
Subject: Test
sendmail will append its domain name to the email as:
From: "ABC"@mydomain.com
To: somebody@somedomain.com
Subject: Test
Anybody knows how to prevent sendmail from doing this?
Any help is appreciated. Thanks.
Lewis