1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 00:02:29 +01:00
imapsync/FAQ.d/FAQ.Use_addheader.txt

40 lines
1.7 KiB
Plaintext
Raw Normal View History

2016-09-19 17:17:24 +02:00
#!/bin/cat
2019-07-03 01:17:46 +02:00
$Id: FAQ.Use_addheader.txt,v 1.6 2018/12/10 20:12:05 gilles Exp gilles $
This document is also available online at
https://imapsync.lamiral.info/FAQ.d/
https://imapsync.lamiral.info/FAQ.d/FAQ.Use_addheader.txt
2016-09-19 17:17:24 +02:00
2017-09-23 23:54:48 +02:00
=======================================================================
2019-07-03 01:17:46 +02:00
Imapsync --addheader suggestion.
2017-09-23 23:54:48 +02:00
=======================================================================
2016-09-19 17:17:24 +02:00
=======================================================================
Q. What means this log message:
"Host1 Sent/1234 ignored (no wanted headers so we ignore this message.
To solve this: use --addheader)"
2019-07-03 01:17:46 +02:00
R. In order to sync messages from one account to another, Imapsync has
2016-09-19 17:17:24 +02:00
to identify messages on both sides, and compare them.
2019-07-03 01:17:46 +02:00
2016-09-19 17:17:24 +02:00
Imapsync can use two completely different methods to identify
messages on each account.
2019-07-03 01:17:46 +02:00
The first one, the default one, uses some headers of messages.
Real world syncs with various imap servers have bring me to use
2016-09-19 17:17:24 +02:00
two headers "Message-Id:" and "Received:". It works for most
messages except for special folders like Sent or Draft where
messages in those folders don't have "Message-Id:" nor
2019-07-03 01:17:46 +02:00
"Received:" headers.
2017-09-23 23:54:48 +02:00
Here comes --addheader option. When a message has no "Message-Id:"
2019-07-03 01:17:46 +02:00
nor "Received:" headers, option --addheader adds a "Message-Id" header
2017-09-23 23:54:48 +02:00
consisting of the imap UID of the message on the host1 folder,
like "Message-Id: 12345@imapsync".
This way, messages are well identified on both sides,
transferred, and only once.
2016-09-19 17:17:24 +02:00
=======================================================================
2017-09-23 23:54:48 +02:00
=======================================================================