[Dovecot] Older messages not showing up after reinstall
I reinstalled Ubuntu, keeping my maildir directories. Messages older than the date of reinstall are not being served by dovecot. The messages show up normally in my MUA if I load the maildir directory directly.
I assume there is a file somewhere where dovecot is keeping a list of seen messages which I need to reset. The old messages appear to be in dovecot-uidlist. I tried moving dovecot.index* to no effect.
How do I get the pre-reinstall messages to be served by dovecot?
# 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.8.0-31-generic x86_64 Ubuntu 13.04 auth_debug = yes auth_debug_passwords = yes log_timestamp = "%Y-%m-%d %H:%M:%S " mail_debug = yes mail_location = mbox:~/mail:INBOX=/var/mail/%u mail_privileged_group = mail namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = /etc/dovecot/password driver = passwd-file } passdb { driver = pam } plugin { fts = squat fts_squat = partial=4 full=4 } protocols = imap service auth { user = root } ssl_cert = </etc/dovecot/dovecot.pem ssl_key = </etc/dovecot/private/dovecot.pem userdb { args = uid=vmail gid=vmail home=/home/vmail/%u driver = static } userdb { driver = passwd } protocol imap { mail_plugins = fts fts_squat } protocol pop3 { pop3_uidl_format = %08Xu%08Xv }
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 1 Oct 2013, dclist wrote:
I reinstalled Ubuntu, keeping my maildir directories. Messages older than the date of reinstall are not being served by dovecot. The messages show up normally in my MUA if I load the maildir directory directly.
May I say that I doubt that Dovecot does not serve them, if you see newer messages in the same mailbox :-)
I assume there is a file somewhere where dovecot is keeping a list of seen messages which I need to reset. The old messages appear to be in dovecot-uidlist. I tried moving dovecot.index* to no effect.
remove dovecot-uidlist, this causes a full sync with the MUA, because the validity changes.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUku8jF3r2wJMiz2NAQJLmAf/SHjrSjgymtb+lBwsB9YhCdhXuBCgX1X/ aaGCL9BGHazNqPvXeQAmnw1XIk34e0vyByR1TG4WGL0qOVAXDzUFzlAj5r9+oHAH cEDoRl+Nxq8rBE/6E+pHCbpGKHh0eybN4zlAdPfM4nkP0Ksfu4N5ciolE9OpD9wT yRB7ZZg6VaNwvYSAt1unXbYX722xEhNFl+I4S8We/7MUA1wuzcSTPx7q57+j2mxz XVez1gHT+RsO6uHEy1Y9EPaBisJY5teaYjBnaP3ugDruk0XeITCt3L6Ed5jv1yic WqeuMnicb0g90rVpoaYNyYYyknuXC7KWxSuY09K6eHrgXTVd/iYu2A== =p+2f -----END PGP SIGNATURE-----
participants (2)
-
dclist
-
Steffen Kaiser