[Dovecot] POP3 and big mailboxes
Hello.
Today one of my users has returned from vacation and his mailbox has grown to 67 Mbyte in 1705 e-mails. dovecot can't index this mailbox with this message (i've changed username with 'xxx'): pop3-login: Sep 06 10:03:43 Info: Login: xxx [172.16.4.9] pop3(xxx): Sep 06 10:03:43 Error: Error indexing mbox file /var/mail/xxx: LF not found where expected pop3(xxx): Sep 06 10:03:43 Error: Error indexing mbox file /var/mail/xxx: LF not found where expected pop3(xxx): Sep 06 10:03:43 Warning: I/O leak: 0x8050600 (0) pop3(xxx): Sep 06 10:03:43 Warning: I/O leak: 0x80858f0 (1) pop3(xxx): Sep 06 10:03:43 Warning: Timeout leak: 0x8065b90
Is it a bug in dovecot?
PS. dovecot-0.99.10.9 on FreeBSD 5.2-CURRENT (a month before BETA1 released).
Sem.
whats your conf files? Sergey Matveychuk wrote:
Hello.
Today one of my users has returned from vacation and his mailbox has grown to 67 Mbyte in 1705 e-mails. dovecot can't index this mailbox with this message (i've changed username with 'xxx'): pop3-login: Sep 06 10:03:43 Info: Login: xxx [172.16.4.9] pop3(xxx): Sep 06 10:03:43 Error: Error indexing mbox file /var/mail/xxx: LF not found where expected pop3(xxx): Sep 06 10:03:43 Error: Error indexing mbox file /var/mail/xxx: LF not found where expected pop3(xxx): Sep 06 10:03:43 Warning: I/O leak: 0x8050600 (0) pop3(xxx): Sep 06 10:03:43 Warning: I/O leak: 0x80858f0 (1) pop3(xxx): Sep 06 10:03:43 Warning: Timeout leak: 0x8065b90
Is it a bug in dovecot?
PS. dovecot-0.99.10.9 on FreeBSD 5.2-CURRENT (a month before BETA1 released).
-- richard venne dental-on-line 01 43 27 94 24
venne wrote:
whats your conf files?
% egrep -v '^#|^$' dovecot.conf base_dir = /var/dovecot/ protocols = imap imaps pop3 pop3s ssl_disable = no ssl_cert_file = /var/dovecot/ssl/certs/imapd.pem ssl_key_file = /var/dovecot/ssl/private/imapd.pem ssl_parameters_file = /var/dovecot/ssl/parameters.dat log_path = /var/log/dovecot.log login_dir = /var/dovecot/login login_chroot = yes login = imap login_executable = /usr/local/libexec/dovecot/imap-login login_user = dovecot login = pop3 login_executable = /usr/local/libexec/dovecot/pop3-login verbose_proctitle = yes verbose_ssl = yes first_valid_gid = 0 valid_chroot_dirs = /var/mail default_mail_env = mbox:/var/mail/%u client_workarounds = oe6-fetch-no-newmail outlook-idle mail_save_crlf = yes maildir_copy_with_hardlinks = yes mbox_locks = fcntl imap_executable = /usr/local/libexec/dovecot/imap pop3_executable = /usr/local/libexec/dovecot/pop3 auth = default auth_mechanisms = plain auth_userdb = passwd auth_passdb = passwd auth_executable = /usr/local/libexec/dovecot/dovecot-auth auth_user = root auth_verbose = yes
Sem.
On 6.9.2004, at 09:31, Sergey Matveychuk wrote:
pop3(xxx): Sep 06 10:03:43 Error: Error indexing mbox file /var/mail/xxx: LF not found where expected
These usually happen if there are two adjacent From-lines without anything between them. 0.99 Dovecot can't parse such mboxes. Normally that shouldn't happen anyway. You could try to manually fix the mbox by finding the extra From-line. 1.0-tests handle that properly though.
participants (3)
-
Sergey Matveychuk
-
Timo Sirainen
-
venne