Hi all,
I am new to dovecot. I am trying to use offlineimap + dovecot + gnus for some emails on multiple machines. I need to use org-mode capture links on emails.
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.
Best, Shiquan
-- 王时全 Shiquan Wang
National Laboratory of Pattern Recognition (NLPR) Institute of Automation, Chinese Academy of Sciences(CASIA) No.95 ZhongGuanCun East Road, HaiDian District, Beijing, China, 100190 Tel: +86-10-62653768 Fax: +86-10-62551993 Email: sqwang@nlpr.ia.ac.cn / shiquanwang@gmail.com Homepage: http://www.cbsr.ia.ac.cn/users/sqwang/
Am 07.03.2013 06:17, schrieb Shiquan Wang:
I am new to dovecot. I am trying to use offlineimap + dovecot + gnus for some emails on multiple machines. I need to use org-mode capture links on emails.
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
-----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-----
participants (3)
-
Reindl Harald
-
Shiquan Wang
-
Steffen Kaiser