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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail - reduce host in From: 1

Status
Not open for further replies.

rocketgeek

Programmer
Sep 23, 2006
14
0
0
US
Just upgraded our server to Slackware 11.0, using Sendmail. One annoying problem is that mail created on the server has a from of host.sld.tld, rather than the preferred sld.tld.

Anyone know where I go to change this?

Thanks.
 
You can use LOCAL_RULE_2 in sendmail config, there you put this line:
R$+<@host.sld.tld.> $1<@sld.tld.>

When Using this sendmail will cut of the "host" portion.

Regards,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top