Hi all.
I'm trying to configure sendmail as masquerading server for my lan.
It works fine but all mail I try to send with "mail" command will send
this is my sendmail.mc
....
FEATURE(always_add_domain)dnl
FEATURE(`masquerade_entire_domain')
FEATURE(`masquerade_envelope')
FEATURE(`allmasquerade')
MASQUERADE_AS(`domain.com.')
MASQUERADE_DOMAIN(`domain.com.')
MASQUERADE_AS(domain.com)
....
now I use the m4 macro
m4 sendmail.mc > sendmail.cf
and send a mail directly from the host:
I'm reading a lot of documents.. it seems the conf is OK.. but cannot
understand!
Cheers.