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

Re: [cobalt-developers] Adding spam blacklists to sendmail on aCobaltserver



JL> Date: Tue, 22 Apr 2003 05:58:07 -0700
JL> From: Jeff Lasman


JL> Yes, but looking at my sendmail.cf file, the blacklists run
JL> in order... if one returns ok, the next one still gets
JL> checked.  So I'm not sure how to do it.

Without knowing the specifics, it's hard to say.  I ran
blacklists at the end of the rule, so

	R$={whitelist}		$: OK

worked great.  If you can't just end the rule with something like
that, it gets much uglier...

In many of my custom rules, I apply tags like <!3> to the
beginning of an expression to indicate the "phase" of the rule.
You might

	R${whitelist}	$: <!123> $1
	R$-.$-.$-.$-	$: <!200> $(host $4.$3.$2.$1.somebl. $: OK $)

and have subsequent blacklist checks only work on the proper
"phase" (200), thus skipping things tagged with 123.

FWIW, these snippets/examples are incomplete... and I want to
stress the importance of context to readers: one can't just cut
and paste arbitrary sendmail.cf tidbits into arbitrary config
files without very bad results.

sendmail.cf mods tend to get messy. :-)


Eddy
--
Brotsman & Dreger, Inc. - EverQuick Internet Division
Bandwidth, consulting, e-commerce, hosting, and network building
Phone: +1 (785) 865-5885 Lawrence and [inter]national
Phone: +1 (316) 794-8922 Wichita

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Date: Mon, 21 May 2001 11:23:58 +0000 (GMT)
From: A Trap <blacklist@xxxxxxxxx>
To: blacklist@xxxxxxxxx
Subject: Please ignore this portion of my mail signature.

These last few lines are a trap for address-harvesting spambots.
Do NOT send mail to <blacklist@xxxxxxxxx>, or you are likely to
be blocked.