[Dovecot] dovecot >1.1.3 + antispam plugin issues
Marcin Rzepecki
m.rzepecki at iem.pw.edu.pl
Sun Dec 14 19:46:41 EET 2008
Timo Sirainen wrote:
> > When i try to move message to SPAM folder (using dspam-exec backend) i'm
> > getting IMAP error: antispam signature not found and in dovecot logs:
> > Nov 23 23:44:24 freebsd dovecot: IMAP(mr): Next message unexpectedly
> > lost from 2708619
>
> See if it works with the changes I did yesterday to hg.
Hi Timo,
i've tested your patches with dovecot 1.1.7 (FreeBSD8 ports tree)
After rebuilding dovecot & dovecot-antispam with your patches and
moving message from INBOX to SPAM folder i've unfortunatelly get the same error:
Dec 13 15:28:02 freebsd dovecot: IMAP(mr): Next message unexpectedly lost from 2518625
When I comment out following code with this patch (same way as with v.1.1.3),
everything is working properly.
--- src/lib-storage/index/mbox/istream-raw-mbox.c.dist 2008-12-14 14:12:53.000000000 +0100
+++ src/lib-storage/index/mbox/istream-raw-mbox.c 2008-12-14 14:13:18.000000000 +0100
@@ -312,18 +312,18 @@
new_pos--;
}
- if (stream->istream.v_offset -
- rstream->hdr_offset + new_pos > rstream->mail_size) {
+/* if (stream->istream.v_offset -
+ rstream->hdr_offset + new_pos > rstream->mail_size) { */
/* istream_raw_mbox_set_next_offset() used invalid
cached next_offset? */
- i_error("Next message unexpectedly lost from %"PRIuUOFF_T,
+/* i_error("Next message unexpectedly lost from %"PRIuUOFF_T,
rstream->hdr_offset + rstream->mail_size);
rstream->eof = TRUE;
rstream->corrupted = TRUE;
rstream->istream.istream.stream_errno = EINVAL;
stream->pos = 0;
return -1;
- }
+ } */
stream->buffer = buf;
if (new_pos == stream->pos) {
So now it's a little bit better, altough still something goes wrong.
But at least it is possible to switch to a newer release now :)
Anyway, thank you very much for your work. Keep it up!
Greets,
--
Marcin Rzepecki
m.rzepecki(at)iem.pw.edu.pl
More information about the dovecot
mailing list