[Dovecot] Ask about IMAP UID
Steffen Kaiser
skdovecot at smail.inf.fh-brs.de
Thu Mar 7 09:55:01 EET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 7 Mar 2013, Shiquan Wang wrote:
> I want to know if the same email will have the same IMAP UID on different
> machines given that they are synced by offlineimap to a local maildir and
> served by dovecot respectively.
No, sync'ing does not include the UID.
The UID is server-depended and may change across IMAP sessions, reflected
by the change of UIDVALIDITY of the folder.
However, Dovecot stores the UIDs in dovecot-uidlist files in each mailbox
folder, so you could patch offlineimap to synchronize that file with the
UIDs from the source IMAP server. But I think will get you other trouble.
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUThH1V3r2wJMiz2NAQJ3PAf+JUrPwxMoIfOcj/3Z9+JLJT7xOY8PVkeV
htVx4dPSIKEQebRzHcjlCAbMwYNYHilsxxrZLsdQxLLMHt8RWQrt/uoyuPDiEE/s
qRIiSvzNvAZPPhG8MmLuM9vAfFIjWQM0uL3kle0RNA21PtprMBqc8NNLouBtjIwx
/2YMI+1JrhrT1w9Ydik+9dPNegWmFJaEogDc0V79iN9hIac2m26XXA3Fsq/n8Sso
kmHcUqrYyW6OCNDRa0IaZZkG9nTBwaLsyGEy+777CK0dcLYYVbkujE7loddMesZF
GcLr6lPsw9k6q+pLDnr8ocCoJb+69eZcDL8XR3gVndgcur7SKdca7w==
=DPQP
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list