[Dovecot] dovecot-dspam-integration

Johannes Berg johannes at sipsolutions.net
Tue May 8 11:36:48 EEST 2007


Hi,

> I understand. I have a few questions about your code. You do a case -3:
> on enh_error, yet there is NO such entry anywhere in the code.

Heh. Cruft, I guess. The code has changed a lot over time.

> Additionally, you check for 0 for a good condition, yet there is no
> possibility of a changed enh_error value for 0 in call_dspam nor in the
> function that calls it.

Cruft too then, or just defensive coding maybe...

> I am getting errors when I try to move things
> into the spam folder (default case error). DSPAM is installed, it is
> getting run and if I run it by hand with --user someone (without any
> domain junk) it runs fine. So, where does the 0 case get it's value
> where it doesn't show up in call_dspam?

Have you tried printing out the dspam command line and doing exactly
that command by hand?

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


More information about the dovecot mailing list