Bug#776094: dovecot-imapd: corrupts mailbox after trying to retrieve it (fwd)

Robert Schetterer rs at sys4.de
Tue May 5 15:15:16 UTC 2015


Am 05.05.2015 um 16:26 schrieb Santiago Vila:
> I have just verified with IMAP commands. This is the procedure:
> 
> telnet localhost 143
> 
> and then type this:
> 
> A0001 CAPABILITY
> A0002 LOGIN "bluser" "bluser"
> A0003 SELECT "inbox-b"
> A0004 EXPUNGE
> A0005 FETCH 1:12 RFC822.SIZE
> A0006 FETCH 1 RFC822.HEADER
> A0007 FETCH 1 BODY.PEEK[TEXT]
> A0008 STORE 1 +FLAGS (\Seen \Deleted)
> A0009 EXPUNGE
> A0010 FETCH 1 RFC822.HEADER
> A0011 FETCH 1 BODY.PEEK[TEXT]
> A0012 STORE 1 +FLAGS (\Seen \Deleted)
> A0013 EXPUNGE
> A0014 FETCH 1 RFC822.HEADER
> A0015 FETCH 1 BODY.PEEK[TEXT]
> A0016 STORE 1 +FLAGS (\Seen \Deleted)
> A0017 EXPUNGE
> A0018 FETCH 1 RFC822.HEADER
> A0019 FETCH 1 BODY.PEEK[TEXT]
> A0020 STORE 1 +FLAGS (\Seen \Deleted)
> A0021 EXPUNGE
> A0022 FETCH 1 RFC822.HEADER
> A0023 FETCH 1 BODY.PEEK[TEXT]
> A0024 STORE 1 +FLAGS (\Seen \Deleted)
> A0025 EXPUNGE
> A0026 FETCH 1 RFC822.HEADER
> A0027 FETCH 1 BODY.PEEK[TEXT]
> A0028 STORE 1 +FLAGS (\Seen \Deleted)
> A0029 EXPUNGE
> A0030 FETCH 1 RFC822.HEADER
> A0031 FETCH 1 BODY.PEEK[TEXT]
> A0032 STORE 1 +FLAGS (\Seen \Deleted)
> A0033 EXPUNGE
> A0034 FETCH 1 RFC822.HEADER
> A0035 FETCH 1 BODY.PEEK[TEXT]
> A0036 STORE 1 +FLAGS (\Seen \Deleted)
> A0037 EXPUNGE
> A0038 FETCH 1 RFC822.HEADER
> A0039 FETCH 1 BODY.PEEK[TEXT]
> A0040 STORE 1 +FLAGS (\Seen \Deleted)
> A0041 EXPUNGE
> A0042 FETCH 1 RFC822.HEADER
> A0043 FETCH 1 BODY.PEEK[TEXT]
> A0044 STORE 1 +FLAGS (\Seen \Deleted)
> A0045 EXPUNGE
> A0046 FETCH 1 RFC822.HEADER
> A0047 FETCH 1 BODY.PEEK[TEXT]
> A0048 STORE 1 +FLAGS (\Seen \Deleted)
> A0049 EXPUNGE
> A0050 FETCH 1 RFC822.HEADER
> A0051 LOGOUT
> 
> After this, mbox folder inbox-b is corrupted, as the line saying
> 
> From: abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz at example.com
> 
> becomes
> 
> rstuvwxyzabcdefghijklmnopqrstuvwxyz at example.com

is this related to mbox only ?
i have no mbox install online to test

did you try install dovecot from scratch with latest sources?

i used a script to install a quick dovecot test server on ubuntu

see
https://sys4.de/de/blog/2013/06/06/postfix-dovecot-ceph-cluster-storage/

beyond

...
Dovecot install
...

then retry with telnet , sorry no time to test myself

> 
> 
> So: Could we please stop blaming fetchmail for this?
> It's just the messenger.
> 



Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein


More information about the dovecot mailing list