Re: Whitelist programmatically

2010-06-26 Thread Massimiliano Giovine
I understood i have 2 ways: 1) use the conf whitelisting $permsgstatus-{conf}-{whitelist_from} 2) use a database that contains whitelist address and 2 plugins: 1 to read and the other one to write. If i wrote a plugin to customize whitelist for recipient i'd use the second way but i also need

Re: Whitelist programmatically

2010-06-26 Thread Charles Gregory
On Sat, 26 Jun 2010, Massimiliano Giovine wrote: What does it do? How can i read the documentation of the spamassassin behavior with whitelisting? Firstly, the behaviour of the various whitelist options are described in the Mail::SpamAssassin::Conf documentation. There is a copy on the web

Re: Whitelist programmatically

2010-06-26 Thread Massimiliano Giovine
You guessed right! It's a little bit more complicated but the target is what you said! If i write into user_prefs i have to restart spamassassin service? 2010/6/26 Charles Gregory cgreg...@hwcn.org: On Sat, 26 Jun 2010, Massimiliano Giovine wrote: What does it do? How can i read the

Re: Whitelist programmatically

2010-06-26 Thread John Hardin
On Sat, 26 Jun 2010, Massimiliano Giovine wrote: I understood i have 2 ways: 1) use the conf whitelisting $permsgstatus-{conf}-{whitelist_from} Don't use whitelist_from. it is too easy for a spammer to spoof. 2) use a database that contains whitelist address and 2 plugins: 1 to read and

Re: Whitelist programmatically

2010-06-26 Thread Charles Gregory
On Sat, 26 Jun 2010, Massimiliano Giovine wrote: You guessed right! It's a little bit more complicated but the target is what you said! If i write into user_prefs i have to restart spamassassin service? H Not sure about that one. I know you have to restart spamd for changes to the

Re: A developers perspective on Spamassassin

2010-06-26 Thread LuKreme
On 25-Jun-2010, at 10:50, Ted Mittelstaedt wrote: SA would parse the entire attachment except that there's a default setting saying to stop processing after a certain amount of KB of data has been processed. The idea is that a spammer isn't going to send a large attachment on every spam.

Re: A developers perspective on Spamassassin

2010-06-26 Thread Henrik K
On Sat, Jun 26, 2010 at 11:51:14AM -0600, LuKreme wrote: On 25-Jun-2010, at 10:50, Ted Mittelstaedt wrote: SA would parse the entire attachment except that there's a default setting saying to stop processing after a certain amount of KB of data has been processed. The idea is that a

anti porn rules for spamassassin

2010-06-26 Thread Sharma, Ashish
Hi, I want to implement anti porn rules for spam assassin. Right now I have implemented SARE Adult rules (http://www.rulesemporium.com/rules/70_sare_adult.cf) and added scores to spamassassin's latest porn rule set. But since it's about 3 years the SARE rules have not been upgraded , I think

Re: TMPDIR as a tmpfs

2010-06-26 Thread Daryl C. W. O'Shea
On 22/06/2010 10:52 AM, Henrique Fernandes wrote: It is safe to use spamassassin tmpdir on a tmpfs mounted system ? Yes it's safe. And if its safe it would have a better performance ? Potentially. If you've got memory free for it, it certainly shouldn't perform worse. Daryl

Re: TMPDIR as a tmpfs

2010-06-26 Thread jdow
From: Daryl C. W. O'Shea spamassas...@dostech.ca Sent: Saturday, 2010/June/26 15:23 On 22/06/2010 10:52 AM, Henrique Fernandes wrote: It is safe to use spamassassin tmpdir on a tmpfs mounted system ? Yes it's safe. And if its safe it would have a better performance ? Potentially. If

Re: TMPDIR as a tmpfs

2010-06-26 Thread RW
On Sat, 26 Jun 2010 16:33:32 -0700 jdow j...@earthlink.net wrote: Potentially. If you've got memory free for it, it certainly shouldn't perform worse. That might be a big if with a huge downside, Daryl. If the memory used by tmpfs forces SpamAssassin into memory swapping any speed