[Dovecot] dovecot-dspam-plugin not launching dspam

Johannes Berg johannes at sipsolutions.net
Tue Apr 11 09:55:23 EEST 2006


Hi,

> 1) calling dspam from the commandline with the same parameters as in the 
> (slightly modified) plugin works fine
> 
> :/# su virtual
> :/$ /usr/bin/dspam --user retrain --source=error --stdout --class=spam 
> --signature=4,4434846e237406491211187 --debug

That user looks odd. Is that intentional?

> 2) when dspam is called via the (slightly modified) dovecot-dspam-plugin 
> it aborts (the unmodified version aborts the same way)
> 
> -> /var/log/mail.err
> 
> dovecot: imap-login: Login: user=<someuser at mydomain.com>, method=plain, 
> rip=123.123.123.123, lip=123.123.123.123
> imap: /usr/bin/dspam --user retrain --source=error --stdout --class=spam 
> --signature=4,4434846e237406491211187
> dspam[25157]: Unable to determine the destination user
> dspam[25157]: DSPAM agent misconfigured: aborting

I would guess that some environment is different, but I don't know.
dovecot is running as user 'virtual' in that setup?

Personally, I'm still running an ancient version of dspam with the
plugin. Maybe I'll run into the same problems once I managed to upgrade.

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 793 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060411/f16f7e97/attachment.pgp


More information about the dovecot mailing list