[Dovecot] litte problems upgrade from 1.0.x to 1.1.1

Andre Hübner andre.huebner at gmx.de
Wed Jul 2 09:52:41 EEST 2008


Hi List,

last time i did a lot of packaging and installing different versions of 
dovecot 1.0.x (rc not included ;) )and all was fine.
Now a have a little problem. In this case it was an update from 1.0.13 to 
1.1.1
Sometime it happens that 1 user out of x (more than 100) got this 
standardmessage  for ~1 or ~2 thousend times in his mailbox (mbox)

for example:

>From MAILER_DAEMON  Mon Sep 18 16:16:14 2006
Date: Mon, 18 Sep 2006 16:16:14 +0200
From: Mail System Internal Data <MAILER-DAEMON at myhostname>
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
Message-ID: 1158588974 at myhostname
X-IMAP: 1158588973 0000001177
Status: RO

This text is part of the internal format of your mail folder, and is not
a real message.  It is created automatically by the mail system software.
If deleted, important folder data will be lost, and it will be re-created
with the data reset to initial values.

I can follow this in maillog:
Jul  1 16:01:04 myhostname dovecot: POP3(username): Disconnected: Logged out 
top=0/0, retr=1177/21638, del=1177/1177, size=454

The Mails came from nowhere from one moment to other. But it seems that it 
was not first pop-login after dovecot update.
Update time was 14:57 Uhr. Pop-Login which "created" this mails was 3rd 
after update.
It is not a big problem, seems to happens one only time but i want to know 
the backgrounds.
Do you need further data? My 1.1.1 /etc/dovecot.conf looks like this:

protocols = imap imaps pop3 pop3s
ssl_disable = no
ssl_cert_file = "/etc/*.hostname.com.crt"
ssl_key_file = "/etc/*.hostname.com.key"
ssl_ca_file = "/etc/*.hostname.com.bundle.crt"
disable_plaintext_auth = no
syslog_facility = mail
login_user = dovecot
login_process_per_connection = no
login_processes_count = 1
login_greeting = hostname.com mailserver ready.
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
login_log_format = %$: %s
max_mail_processes = 100
verbose_proctitle = yes
auth_verbose = yes
mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u
#default_mail_env = mbox:~/mail:INBOX=/var/spool/mail/%u
mail_cache_min_mail_count = 30
mmap_disable=no
mail_debug=no
lock_method = flock
mbox_read_locks = dotlock
mbox_write_locks = dotlock fcntl
mbox_dirty_syncs = yes
mbox_very_dirty_syncs = yes
mbox_lazy_writes = no


##
## IMAP specific settings
##

protocol imap {
  login_executable = /usr/libexec/dovecot/imap-login
  imap_client_workarounds = outlook-idle netscape-eoh tb-extra-mailbox-sep 
delay-newmail
  mail_plugins = mail_log
}


##
## POP3 specific settings
##

protocol pop3 {
  ssl_disable = no
  login_executable = /usr/libexec/dovecot/pop3-login
  mail_executable = /usr/libexec/dovecot/pop3
  pop3_no_flag_updates = no
  pop3_uidl_format = %08Xu%08Xv
  pop3_client_workarounds = oe-ns-eoh outlook-no-nuls
}


##
## Authentication processes
auth default {
  mechanisms = plain

  passdb shadow {
  }

  userdb passwd {
  }

  user = root
}


##
## Plugins
##

plugin {
}


Thanks
Andre 



More information about the dovecot mailing list