Sendmail Masquerade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi All,

I'm usually quite good with sendmail on Centos 5.8 but I must have 
missed something here. I've not done this before but, I want to set 
sendmail so that its outgoing mail appears to come from the domain of 
the network it lives on. Its real hostname is server2.domain.co.uk ( the 
domain bit is substituted for this post) and I want it to send as 
domain.co.uk, that is really valid, but the specific host 
server2.domain.co.uk does not have an A record and other mailservers 
reject its outgoing mail because server2.domain.co.uk does not resolve. 
But with these settings in sendmail.mc it still sends as 
server2.domain.co.uk if I simply type "mail -s test kens@xxxxxxxxxxx" 
into bash.

MASQUERADE_AS(`domain.co.uk')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(domain.co.uk)dnl

(Yes I have done the m4 bit and restarted sendmail)

If I telnet to sendmail on port 25 and manually send as 
username@xxxxxxxxxxxx it has the right "from" address.

So what have I missed?

Thanks

Ken



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux