|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
[SPAM] wanting to check both black and whitelists-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256 Hi all, I have some dns based black and whitelists that I'd like to check when receiving messages. What I want is for certain filters I later run to skip processing if something like dnswl has them listed. I could do the whitelist checks later, but I have reasons why I'd like them all done at once. I'm aware of how to do blacklists, and I think I know of a way to get whitelisting to work too. However, before I try this in production, I want to run it past you all and make sure no one can see any potential issues I haven't thought of. I'm thinking, if the address is whitelisted, all one need do is to set BLOCK to an empty string. This line should, if I'm not mistaken, refuse mail from anyone listed on spamhaus while setting BLOCK to the empty string (and allowing the mail to pass) for anything on dnswl. - -block="list.dnswl.org,BLOCK,\"\" zen.spamhaus.org,BLOCK" Will this always have the consequences I am intending? If not, what am I doing wrong and how do I fix it? - -- Those of you who think they know everything are very annoying to those of us who actually do. Joseph C. Lininger, <jbahm@...> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) iQEcBAEBCAAGBQJK40VdAAoJEMh8jNraUiwqaqkH/ifAwOCT51u8RHTaXqKrSogx e/T/0rRD8YQknO8jallOHK5m81TWpIaQwhN1rOjsfjtPSwATwyfEiWD/dYTYlKdH YNUVdb6JNYbHSNJeLqTHxROePNqbT2muu78hTgrXIZlFjH+BnrEdrBI7fwYFX7Cp x++NwkoZua8oFNQaATID275rk2oPNpWXd2sC7KZ3VGBBezehG0pkftsgYsww+6VU Xanps6pX8X2M7BO4XuAlWpSXOd6iH+J8JvDZfbckXnqd0kA5HxSUAit9hyGfIp1J 3ScoTwqoh360U80XXtpVMsC6pzScSDvRo7jpr44BQ6eeBJUtEtnkonkLjERDqmc= =EI+u -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ courier-users mailing list courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
|
|
Re: [SPAM] wanting to check both black and whitelistsJoseph C. Lininger wrote:
> I'm thinking, if the address is > whitelisted, all one need do is to set BLOCK to an empty string. This > line should, if I'm not mistaken, refuse mail from anyone listed on > spamhaus while setting BLOCK to the empty string (and allowing the mail > to pass) for anything on dnswl. > > - -block="list.dnswl.org,BLOCK,\"\" zen.spamhaus.org,BLOCK" > > Will this always have the consequences I am intending? I think you miss the second "-block" option in your syntax above. That should then cause couriertcpd to skip the spamhaus lookup for dnswl hits, as you apparently wish. Specifically, I don't think that's the intended meaning of dnswl. They claim to monitor spamhaus block lists and revoke listing to servers that get caught there. AFAIK, they don't attempt to dig their nose in a mail domain's operations. Therefore, the recommended use of dnswl is just bettering SpamAssassin's score. > If not, what am I doing wrong and how do I fix it? The BLOCK1/BLOCK2 alternative described in the man page allows for more flexibility. E.g., one can block according to users' options. In your case, it would allow to log addresses listed in both lists --in theory, none. You'd need to use courier's whitelisting API, though: It is activated via courier's "maildropfilter" configuration file, usually so as to result in "embedded mode" maildrop invocations, right after RCPT. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ courier-users mailing list courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
| Free embeddable forum powered by Nabble | Forum Help |