Hi Christoph, I think it may be easier to directly make antispam invoke dspam-retrain. I'm using a homegrown setup which is overly complicated and involves re-sending the mail to special spam and ham addresses, and dspam is then invoked from postfix. However, look at the config below.
HTH, Christoph This is straight from the message sent by Tom Handrikx on December 3: 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 ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user