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 problem with masquerading

Status
Not open for further replies.

garycrow

IS-IT--Management
Jun 4, 2008
3
US
I am having a problem with my sendmail configuration I have masquerading on but when I send a mail to multiple people it masquerades my email but not the others? see the sample below:

From: name@domain.net
Sent: Friday, July 24, 2009 9:42 AM
To: name2@machine.domain.net; name3@machine.domain.net; name4@machine.domain.net
Subject: Used Inventory


in this way if someone does a reply to all names 2,3,4 and 5 bounce back as bad addresses.

how can I have it masquerade all email addresses from my domain?

Thanks,

Gary
 
I had some issue with this as well and this fixed it for me
MASQUERADE_AS(`mycompany.com')dnl
dnl #
dnl # masquerade not just the headers, but the envelope as well
dnl #
FEATURE(masquerade_envelope)dnl
dnl #
dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well
dnl #
FEATURE(masquerade_entire_domain)dnl
dnl #
MASQUERADE_DOMAIN(`mycompany.com')dnl

Norm
 
Thanks normntwrk

I made these changes to my system and it didn't fix my original problem but it did fix a few others. the original problem only seems to happen if i send a mail internally to someone without the domain name added like this:

mail gary

it will be delivered but will show up with gary@machinename.domainname.net
 
How about the local-host-names file- include all aliases for your machine here.

include your domainname.net as well as the fully qualified name in here


Norm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top