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: Whitelist programmatically

2010-06-22 Thread Massimiliano Giovine
Really thanks for the answers. So, i need to configure my spamassassin installation to use the running database (i'm already using a mysql database for other reason) for whitelisting or i have to write the logic of a whitelist using my database installationa? Is there something i can read to go

Whitelist programmatically

2010-06-21 Thread Massimiliano Giovine
Hi all. I need to programmatically put one or more address into whitelist. How can i do it? Thanks in advance. -- -Massimiliano Giovine

Re: Whitelist programmatically

2010-06-21 Thread Benny Pedersen
On man 21 jun 2010 23:41:57 CEST, Massimiliano Giovine wrote I need to programmatically put one or more address into whitelist. How can i do it? perldoc Mail::SpamAssassin::Conf perldoc Mail::SpamAssassin::Plugin::Freemail perldoc Mail::SpamAssassin::Plugin::SPF perldoc