Re: [Dovecot] dovecot-antispam plugin and "Failed to call dspam" message

2009-06-15 Thread Johannes Berg
On Mon, 2009-06-15 at 13:27 -0700, Jeremy Doran wrote: > It certainly seems to be the 'verbose debug' information that DSpam > prints to stderr that triggers this. > > After testing with the patches from Marcin Rzepecki and Harlan Stenn, I > managed completely disabled these kind of lines from be

Re: [Dovecot] dovecot-antispam plugin and "Failed to call dspam" message

2009-06-15 Thread Jeremy Doran
Johannes Berg wrote: > Hi, > >> However, I know from looking at the dspam system.log file, the retraining >> actually happens - so it >> -does- appear to be calling dspam. It appears that the 'move' operation >> fails. > >> Plugin debug log when I attempt to move a message: >> Jun 13 09:29:07 s

Re: [Dovecot] dovecot-antispam plugin and "Failed to call dspam" message

2009-06-14 Thread Johannes Berg
Hi, > However, I know from looking at the dspam system.log file, the retraining > actually happens - so it > -does- appear to be calling dspam. It appears that the 'move' operation fails. > Plugin debug log when I attempt to move a message: > Jun 13 09:29:07 stelleri imap: antispam: mailbox_is_u

Re: [Dovecot] dovecot-antispam plugin and "Failed to call dspam" message

2009-06-13 Thread Harlan Stenn
Note that according to dspam-exec.c, and info sent to stderr by dspam is treated by the antispam plugin as a fatal error. All my patch does is to provide enough information to see what the problem is. H

Re: [Dovecot] dovecot-antispam plugin and "Failed to call dspam" message

2009-06-13 Thread Jeremy Doran
Marcin Rzepecki wrote: > Sat, Jun 13, 2009 at 07:34:49AM -0700, Jeremy Doran wrote: >> Hi, >> >> I had this working until I recently upgraded Dovecot, and now I'm getting a >> message back from >> Thunderbird of "Failed to call dspam." when I attempt to move a message into >> one of the designate

Re: [Dovecot] dovecot-antispam plugin and "Failed to call dspam" message

2009-06-13 Thread Jeremy Doran
Harlan Stenn wrote: > It is probably a good idea to figure out the underlying problem instead > of ignoring it. > > I use the following patch... Oh, I agree. The extra logging only produced these extra lines in the logs: > Jun 13 15:35:18 stelleri imap: antispam: mailbox_is_unsure(SPAM): 0 > Ju

Re: [Dovecot] dovecot-antispam plugin and "Failed to call dspam" message

2009-06-13 Thread Harlan Stenn
It is probably a good idea to figure out the underlying problem instead of ignoring it. I use the following patch... H patch-dspam-exec.c Description: Binary data

Re: [Dovecot] dovecot-antispam plugin and "Failed to call dspam" message

2009-06-13 Thread Marcin Rzepecki
Sat, Jun 13, 2009 at 07:34:49AM -0700, Jeremy Doran wrote: > Hi, > > I had this working until I recently upgraded Dovecot, and now I'm getting a > message back from > Thunderbird of "Failed to call dspam." when I attempt to move a message into > one of the designated > spam folders. > > However,

[Dovecot] dovecot-antispam plugin and "Failed to call dspam" message

2009-06-13 Thread Jeremy Doran
Hi, I had this working until I recently upgraded Dovecot, and now I'm getting a message back from Thunderbird of "Failed to call dspam." when I attempt to move a message into one of the designated spam folders. However, I know from looking at the dspam system.log file, the retraining actually