[Dovecot] Maildir and Invalid data in file
Hi Timo,
Regarding our conversation in IRC, I'm attaching the uidlist and copying in the original message just in case.
I'm using dovecot version 1.0.13 on reiserfs on hardware RAID-0, but I'm getting the following error in the logs every time one user tries to access his old mails in the .Sent directory:
dovecot: 2008-06-23 15:09:46 Error: IMAP(marek.chajecki): Invalid data in file /var/mail/Maildir/marek.chajecki/.Sent/dovecot-uidlist
As a result he fails to get access to the emails in this folder.
I've googled a bit and read that deleting the uidlist makes dovecot recreate it, but after some time the same thing happens. It's a new hard drive, so I don't think this is a hard drive fault.
Some additional info: this server is being used by about 200 users who get about 100 emails daily each one of them.
Config:
root@warsaw Maildir # dovecot -n # 1.0.13: /etc/dovecot/dovecot.conf log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot.log log_timestamp: %Y-%m-%d %H:%M:%S ssl_listen: * login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/imap-login login_process_per_connection: no login_processes_count: 15 login_max_processes_count: 512 max_mail_processes: 4096 mail_privileged_group: mail mail_location: maildir:/var/mail/Maildir/%u maildir_copy_with_hardlinks: yes auth default: worker_max_count: 100 passdb: driver: pam args: cache_key=%u dovecot userdb: driver: passwd
Any help will be appreciated!
-- Regards, Patryk Rzadzinski
On Wed, 2008-06-25 at 10:08 +0200, Patryk wrote:
I'm using dovecot version 1.0.13 on reiserfs on hardware RAID-0, but I'm getting the following error in the logs every time one user tries to access his old mails in the .Sent directory:
dovecot: 2008-06-23 15:09:46 Error: IMAP(marek.chajecki): Invalid data in file /var/mail/Maildir/marek.chajecki/.Sent/dovecot-uidlist
I think I already asked about this, but the files really look like they contain LF characters in them for some reason.
Try applying the attached patch. Does it start complaining about LFs?
participants (2)
-
Patryk
-
Timo Sirainen