Barry Scott
2010-Apr-29 12:10 UTC
[Dovecot] Dovecot headers at start of text returned to KMail
The attachment show Kmail (kdepim-4.4.2-1.fc12.x86_64) accessing an email from dovecot over imap. From the wireshark-imap-trace.txt you can see at line 77 that the headers do not end cleanly "X-)". And at line 84 there is text from the headers that is not part of the body "-Spambayes-Trained: ham". The email being access by dovecot is in: 1272011889.M384349P30156.f12barry.office.onelan.co.uk,S=6494,W=6606:2,S Because of this bug kmail fails to show the message cleanly on screen. # 1.2.11: /etc/dovecot.conf # OS: Linux 2.6.32.11-99.fc12.x86_64 x86_64 Fedora release 12 (Constantine) login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 auth default: passdb: driver: pam userdb: driver: passwd Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: fetch-text-bug.tar.gz Type: application/x-compressed-tar Size: 4099 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20100429/67cb52df/attachment-0002.bin>
Mike Abbott
2010-Apr-29 12:26 UTC
[Dovecot] Dovecot headers at start of text returned to KMail
> 1272011889.M384349P30156.f12barry.office.onelan.co.uk,S=6494,W=6606:2,SThe size of this file should be 6494 bytes (S=6494) but in your attachment it is 6519 bytes. Did something insert a header into the file after dovecot received it? Perhaps this one, which (with a CR added) is 25 bytes, the same as the difference between 6519 and 6494: X-Spambayes-Trained: ham As I understand it, once messages are under dovecot's control they must not ever change at all. Adding headers after delivery is forbidden.