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

Address Re-Writting

Status
Not open for further replies.

sproosy

IS-IT--Management
Oct 31, 2002
94
AU
Hey all! Happy new year hope all was great!

Now down to business, i need to rewrite my sendmail rules so when i send a message from my mail server the reply-to address doe not look like this:

user@host.domain.com

I would ideally prefer:

user@domain.com

Does anybody have any recomendations for me?

Thanks for your time guys! Sproosy MCP

Keep it real!
 
You can try adding the option:
MASQUERADE_AS(`domain.com')
to your .mc file.

You will need to recompile the .cf file, install it at /etc/mail/sendmail.cf, and restart sendmail.
 
To recompile would take forever as i have never used m4 before im running Solaris which just makes thongs worse cause it sucks. Sproosy MCP

Keep it real!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top