Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail adding local domain to From field

Status
Not open for further replies.

reachdan

Technical User
Jul 4, 2006
2
GB
Hi,

I have a problem with sendmail leaking information regarding the local domain of the server.

In the sendmail.mc file I have the following line: define(`confDOMAIN_NAME', `
In the sendmail.cf file I have the following line

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
Dj$w.
Now sometimes what happens are mails are sent out using the following format:
sendmail -i -t -v
From: "Dan" <dan@somedomain.com>
To: joe.bloggs@someotherdomain.com
Subject: test
Some email body.

So when it gets to the recipeint you find that the from address has been translated (assume the local domain on the server is jollyroger.com) to From: "Dan" <dan@somedomain.com.jollyroger.com>, but this does not happen on every mail sent and I think it depends on what server it is sending to.

However I need to stop sendmail from leaking this information.

Does anyone know what the problem could be or is the config file misconfigured?

thanks in advance

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top