[CentOS] help with sendmail closing relay

Scott Silva ssilva at sgvwater.com
Fri Jun 4 23:38:36 UTC 2010


on 6-4-2010 8:10 AM Jerry Geis spake the following:
> I have centos 4.8 i686. It has stock sendmail. see file below.
> 
> I am getting reports that it is an open relay. I have searched all 
> around and
> it seems like it should be closed. I have dnl for 
> accept_unresolvable_domains.
> 
> What can I do to close my sendmail.
> Thanks,
> 
> Jerry
> 
<snip>
I know the m4 processor is very picky that things are in order..
http://www.sendmail.org/m4/intro.html

The general rules are that the order should be:

VERSIONID
OSTYPE
DOMAIN
FEATURE
local macro definitions
MAILER
LOCAL_CONFIG
LOCAL_RULE_*
LOCAL_RULESETS

If they get out of order, the m4 processor drops stuff




More information about the CentOS mailing list