Bennett Lanford wrote:
On Mon, 14 Jun 2004, Chris Edwards wrote:HiDoes 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')dnlbefore FEATURE(`dnsbl', `bl.spamcop.net', `"SPAM blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}')dnlWill 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' ...
if I add the delay_checks, would I still have to put the FEATURE(`access_db`... before the FEATURE(`dnsbl`).. lines?
Thanks. -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 chris.edwards@xxxxxxxxxx http://www.OuterBanksInternet.com
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature