Re: [Dovecot] Doubled mails and UIDs
On Wed Mar 21, 2007 at 22:37:10 +0200, Timo Sirainen wrote: On Mon, 2007-03-19 at 16:19 +0100, Adam Lackorzynski wrote: 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. Is Dovecot running on more than one computer? That error message looks exactly like what would happen if Dovecot saw two different INBOXes but the same index files were tried to be used with both of them. Our IMAP(s)/POP3(s) server is a single host so this should not happen. http://wiki.dovecot.org/MboxProblems anyway lists all the possible reasons for that problem. I've now put the whole Mail directory of the user on a local filesystem to see if that makes a difference. Adam -- Adam [EMAIL PROTECTED] Lackorzynski http://os.inf.tu-dresden.de/~adam/
Re: [Dovecot] Doubled mails and UIDs
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. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Doubled mails and UIDs
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 [EMAIL PROTECTED] Lackorzynski http://os.inf.tu-dresden.de/~adam/