Anton Aylward wrote:
I find procmail easier to maintain than SA. SA needs to be compiled;
Uh, compiling is optional. I've never bothered, it's fast enough as it is.
procmail I just add to a test file:
This is the "long" version of the whilelist.rc module that makes it all very obvious.
---------------------------------------------------
# Test if the email's sender is whitelisted; if so, send it straight # to $DEFAULT. Note that this comes before any other filters. :0: * ? formail -rt -x"From" -x"From:" -x"Sender:" \ -x"Reply-To:" -x"Return-Path:" -x"To:" \ | egrep -is -f ${HOME}/.whitelist { LOG="Found on whitelist$NL" $DEFAULT }
So all I have to do is edit ~/.whitelist
Same with SA - just add/remove rules such as: whitelist_from whitelist_from_rcvd whitelist_from_dkim whitelist_from_spf (depending on the kind of whitelisting you want).
If there's a way to use an external dynamically modified list with SA, one that includes patters as well, I haven't found it.
SA handles patterns extremely well, virtually every rule is a regex. Only the whitelisting rules are a little picky (no regexes, only wildcards). I have occasionally had a need for using regex patterns in e.g. "whitelist_from_rcvd". As for using "an external dynamically modified list with SA", here's what I do - my whitelist is just an SA ruleset called whitelist.cf (for instance). When I modify it, I copy it to the servers that run SA, and do an "rcspamd reload". (of course this is all automated). Anyway, I'm not saying SA is better than your method with procmail, only that it could just as easily be done with SA. I do however think SA does the whitelisting a lot better with whitelist_from_{rcvd,dkim,spf}, but if you don't need that, that's obviously not an advantage. -- Per Jessen, Zürich (15.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org