Martin Jangowski
2006-Mar-21 09:22 UTC
[Dovecot] FreeBSD 5.4/Dovecot 1.0.b3: lots of error messages
Hi!
I installed Dovecot from the FreeBSD port. I have about 20 users on this
machine and used popper before switching.
I get a lot of error messages like:
dovecot: Mar 21 10:03:41 Error: pop3(xxx): mbox sync: UID
inserted in the middle of mailbox /var/mail/xxx (37326 > 35874, seq=1,
idx_msgs=26)
dovecot: Mar 21 10:06:17 Error: imap(yyy): mbox sync: UID
inserted in the middle of mailbox /var/mail/yyy (37352 > 36945, seq=1,
idx_msgs=2)
dovecot: Mar 21 10:06:18 Error: imap(yyy): kevent(1) in
io_loop_handle_add() failed: Bad file descriptor
dovecot: Mar 21 10:06:18 Error: imap(yyy): kevent(1) in
io_loop_handle_remove failed: Bad file descriptor
dovecot: Mar 21 10:06:22 Error: imap(yyy): mbox sync: UID
inserted in the middle of mailbox /var/mail/yyy (37354 > 36945, seq=1,
idx_msgs=205)
Most of the errors are the mbox sync messages. The users report that they
get all mails double, triple and more... I think this is connected to the
UID problem.
My config file looks like that:
protocols = imap imaps pop3
disable_plaintext_auth = no
log_path = /var/log/dovecot.err
info_log_path = /var/log/dovecot.info
log_timestamp = "%b %d %H:%M:%S "
login_process_size = 64
verbose_proctitle = yes
first_valid_gid = 0
mail_extra_groups = mail
default_mail_env = mbox:/var/mail/%u
protocol imap {
imap_client_workarounds = delay-newmail outlook-idle netscape-eoh
tb-extra-mailbox-sep
}
protocol pop3 {
login_executable = /usr/local/libexec/dovecot/pop3-login
mail_executable = /usr/local/libexec/dovecot/pop3
pop3_uidl_format = %08Xu%08Xv
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
auth default {
mechanisms = plain
passdb pam {
}
userdb passwd {
}
user = root
}
plugin {
}
Any ideas?
Gr??e aus Hohenlohe,
Martin Jangowski
| Martin Jangowski E-Mail: Martin at Jangowski.de|
| Netzwerke und Multimedia |
| Voice: +49 7946/940790 Fax: +49 7946/940791 |
| Snail Mail: Von-Olnhausen Str. 4 74626 Bretzfeld Germany |
Timo Sirainen
2006-Mar-25 09:04 UTC
[Dovecot] FreeBSD 5.4/Dovecot 1.0.b3: lots of error messages
On Tue, 2006-03-21 at 10:22 +0100, Martin Jangowski wrote:> dovecot: Mar 21 10:03:41 Error: pop3(xxx): mbox sync: UID > inserted in the middle of mailbox /var/mail/xxx (37326 > 35874, seq=1, > idx_msgs=26)These mean that X-UID header in the mbox file don't match what Dovecot was expecting to see based on its indexes. This shouldn't be happening unless the mboxes keep changing in very unexpected ways, for example if the mails are rearranged inside the file or if eg. older version of the mbox is restored from backups, or something similar. Is anything else than Dovecot touching those mbox files?> dovecot: Mar 21 10:06:18 Error: imap(yyy): kevent(1) in > io_loop_handle_add() failed: Bad file descriptorI've fixed a couple of these since beta3. They don't cause any problems though. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060325/668843c6/attachment.bin>