Carlos E. R. wrote:
On 2014-08-23 10:51, Per Jessen wrote:
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.
I didn't even know it was possible?
There is a new(ish) function called sa-compile : http://spamassassin.apache.org/full/3.2.x/doc/sa-compile.html Compiling the ruleset will no doubt speed up things, but as you and I have both mentioned, most of the time is spent waiting for DNS replies. I'm planning on playing with it at some point, but I also subscribe to "if it ain't broke, ...."
Same with SA - just add/remove rules such as:
whitelist_from whitelist_from_rcvd whitelist_from_dkim whitelist_from_spf
I edit the file ".spamassassin/user_prefs" and add them. How do you do it?
My setup is slightly different, but in essence I also edit ".spamassassin/user_prefs".
But I have only used whitelist_from and blacklist_from, I don't know what the others are for (I can guess a bit, though).
The problem with the plain whitelist is that sender addresses are so easily forged. When you use whitelist_from_{rcvd,spf,dkim} instead, the rule is a lot more accurate.
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).
I'd be interesting in learning more details about that ;-)
One correction - for the per-user rules, spamd isn't reloaded, those rules are loaded when needed. In the above, I was talking about my site-wide whitelist. There isn't much to it really - I run spamd as an smtp relay within postfix. For our test-system (this is a corporate setup) I have four old desktop boxes with PentiumII 400MHz and 384Mb. I maintain the SA config on a central system. From here it is rsync'ed to the four servers. Each server monitors (see "incron") the SA config for changes and does an rcspamd reload when there are changes. -- Per Jessen, Zürich (16.7°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org