[Dovecot] Doubled mails and UIDs

Adam Lackorzynski adam at os.inf.tu-dresden.de
Mon Mar 19 17:19:20 EET 2007


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/


More information about the dovecot mailing list