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!

Masquerading problem

Status
Not open for further replies.

Weppie

ISP
Nov 3, 2003
11
NL
Hi. I'm new to this forum, but I welcome it. I'll also try to help some fellow Techies as I'm quite used to sendmail. But sometimes it does stuff that even I don't expect.

We're using sendmail as a relay server behind our Exchange server. The Exchange server is using intern.ourdomain.com
which it sends to sendmail.
Sendmail then rewrites it to ourdomain.com and this works great both ways (outgoing and incoming)

Thing is, only the sender address will be rewritten. If I CC an address on our internal network and send it to an outside e-mail account, the CC address will appear as intern.ourdomain.com in the outside e-mail, thus a reply to all wouldn't work.


My virtusertable looks like this
@ourdomain.com %1@intern.ourdomain.com

and the genericstable like this
@intern.ourdomain.com %1@ourdomain.com

these are in my sendmail.mc and are probably relevant to this issue (the complete one is quite long)

FEATURE(`genericstable',`hash -o /etc/mail/genericstable.db')dnl
MASQUERADE_AS(ourdomain.com)
GENERICS_DOMAIN_FILE(`/etc/mail/genericsdomain')
FEATURE(`masquerade_envelope')dnl
FEATURE(`virtusertable',`hash o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(`access_db',`hash -o /etc/mail/access.db')dnl

Any help would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top