8 Sep 2006 02:46
Bug: X-OfflineIMAP header in wrong place
Bruce Campbell <bru-offlineimap <at> vicious.dropbear.id.au>
2006-09-08 00:46:27 GMT
2006-09-08 00:46:27 GMT
Hi,
Just started using offlineimap, and have noticed a somewhat annoying bug
in syncing between two IMAP servers. This bug results in mail messages on
the destination side being noticably different from the same message on
the source side.
The problem is the 'X-OfflineIMAP' meta header. Ideally, the same message
on both sides, after this header is removed, should be identical.
However, in 4.0.8 and onwards to 4.0.12, these header is inserted in a
manner which makes it awkward to actually remove it properly; an annoyance
if additional mail-handling programs are being used on the destination
side (eg, SpamAssassin).
To illustrate the problem, a message on the source mail spool may look
like:
Received: from nagbeast by XXXX with local
id 1GLRiX-00054f-GG
for XXXX <at> XXXX; Fri, 08 Sep 2006 07:47:25 +1000
To: XXXX <at> XXXX
Subject: Host UP alert for XXXX!
On the destination mail spool after the gentle ministrations of
offlineimap, two IMAP servers and savemessage_addheader(), these same
headers become:
Received: from nagbeast by XXXX with local
X-OfflineIMAP-878846305-6c6f63616c696d6170-494e424f58: 1157665717-0884545389509-v4.0.8
(Continue reading)
RSS Feed