Hi, I'm still seeing mails being downloaded twice via POP3 in my setup, running rc27. The log file shows: dovecot: Mar 18 22:08:05 Error: POP3(joe): mbox sync: UID inserted in the middle of mailbox /home/joe/Mail/INBOX (442671 > 80, seq=10, idx_msgs=153) dovecot: Mar 18 22:08:05 Info: POP3(joe): Disconnected: Logged out top=0/0, retr=153/1069109, del=153/153, size=1066449 The next POP3 connect will fetch most of the messages again. dovecot: Mar 18 22:18:48 Info: POP3(joe): Disconnected: Logged out top=0/0, retr=147/1006204, del=147/147, size=1003647 Is there a problem if an incoming message already contains an X-UID header? Might it be worthwhile to remove this header when mails are being delivered (e.g. with procmail)? Thanks, Adam -- Adam adam at os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
On Mon, 2007-03-19 at 15:39 +0100, Adam Lackorzynski wrote:> I'm still seeing mails being downloaded twice via POP3 in my setup, > running rc27. The log file shows: > > dovecot: Mar 18 22:08:05 Error: POP3(joe): mbox sync: UID inserted in the middle of mailbox /home/joe/Mail/INBOX (442671 > 80, seq=10, idx_msgs=153)Show me your dovecot -n output? Where are the index files located?> Is there a problem if an incoming message already contains an X-UID > header? Might it be worthwhile to remove this header when mails are > being delivered (e.g. with procmail)?Yes, it's a good idea and it might fix this problem, but I don't know any specific bugs that would cause invalid X-UID header to be used. http://wiki.dovecot.org/MboxProblems has more information about this. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070319/ecb4a384/attachment.bin>
On Mon Mar 19, 2007 at 16:59:50 +0200, Timo Sirainen wrote:> On Mon, 2007-03-19 at 15:39 +0100, Adam Lackorzynski wrote: > > I'm still seeing mails being downloaded twice via POP3 in my setup, > > running rc27. The log file shows: > > > > dovecot: Mar 18 22:08:05 Error: POP3(joe): mbox sync: UID inserted in the middle of mailbox /home/joe/Mail/INBOX (442671 > 80, seq=10, idx_msgs=153) > > Show me your dovecot -n output? Where are the index files located?The index files are on NFS (home directory), ~/Mail/INBOX points to /var/mail/joe on local fs. base_dir: /var/run/dovecot/ log_path: /var/log/dovecot/dovecot.log info_log_path: /var/log/dovecot/dovecot.log protocols: imap imaps pop3 pop3s login_dir: /var/run/dovecot//login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login mail_extra_groups: mail mail_location: mbox:~/Mail:INBOX=/home/%u/Mail/INBOX mmap_disable: yes mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: passdb: driver: pam userdb: driver: passwd> > Is there a problem if an incoming message already contains an X-UID > > header? Might it be worthwhile to remove this header when mails are > > being delivered (e.g. with procmail)? > > Yes, it's a good idea and it might fix this problem, but I don't know > any specific bugs that would cause invalid X-UID header to be used. > > http://wiki.dovecot.org/MboxProblems has more information about this.Adam -- Adam adam at os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/