On 03-12-11 17:43, sean darcy wrote:
> I'm trying to set up the antispam plugin for dovecot using dspam as the 
> backend.
> 
>     antispam_backend = dspam
>      antispam_signature = X-DSPAM-Signature
>      antispam_signature_missing = error
>      antispam_trash = "trash;Trash;Deleted Items;Deleted Messages"
>      antispam_spam = SPAM;Spam;spam
>      antispam_dspam_binary = "/usr/bin/dspam"
>       antispam_dspam_args = "--source=error;--signature=%%s"
>       antispam_dspam_spam = "--class=spam"
>       antispam_dspam_notspam = "--class=innocent"
> 

My working config looks like this:

plugin {
        antispam_signature = X-DSPAM-Signature
        antispam_signature_missing = move
        antispam_spam_pattern_ignorecase = Junk;Junk.*
        antispam_trash_pattern_ignorecase = Trash;Deleted Items;Deleted
Messages
        antispam_backend = dspam
        antispam_dspam_binary = /usr/bin/dspamc
        antispam_dspam_args =
--user;%u;--deliver=;--source=error;--signature=%%s
        antispam_dspam_spam = --class=spam
        antispam_dspam_notspam = --class=innocent
}

You are probably missing the --user parameter, and the quotes might give
some trouble too...

--
Tom

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to