[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] order of email rejections
- Subject: Re: [vps-mail] order of email rejections
- From: Bennett Lanford <ben@xxxxxxxxxxxxx>
- Date: Mon, 14 Jun 2004 13:48:37 -0600 (MDT)
On Mon, 14 Jun 2004, Chris Edwards wrote:
Hi
Does the order of features in the sendmail config file dictate which feature
runs first?
Sometimes. According to the cf/README, the "general" order of directives
in the mc file is:
VERSIONID
OSTYPE
DOMAIN
FEATURE
local macro definitions
MAILER
LOCAL_CONFIG
LOCAL_RULE_*
LOCAL_RULESETS
(Different sources have given slightly different versions of the above,
but it is generally a good rule of thumb.)
ex.
If I declare FEATURE(`access_db', `hash -T<TMPF> -o /etc/access')dnl
before FEATURE(`dnsbl', `bl.spamcop.net', `"SPAM blocked see:
http://spamcop.net/bl.shtml?"$&{client_addr}')dnl
Will the access file be checked before the balick list file?
No.
In order for that to occur, you need to add the line:
FEATURE(`delay_checks')dnl
*after* the line that begins:
FEATURE(`access_db' ...
Ben
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index