[Dovecot] Errors in Dovecot 1.0.5
Jeff Tucker
jeff at jltnet.com
Fri Nov 2 17:47:01 EET 2007
>
> Do you have more than one server accessing the same indexes on NFS? Without
> turning off the NFS access cache on each server (slow) thats a bad idea in 1.0.
> To get around this, I use this:
>
> mail_location =
> maildir:~/Maildir:CONTROL=%h/Maildir/dovecot/private/control:INDEX=/cache/dovecot/%u/private/indexes
>
> Where CONTROL is shared on NFS but INDEX is on a local partition. If the user
> doesn't access mail very often and logs into random servers, they run the chance of
> having an empty cache, but thats better than corruption and this has been working
> solidly for me. I'll be testing out 1.1 soon which when setup properly should allow
> sharing INDEX on NFS safely, not to mention more self healing.
>
> I would delete that users index files at the minimum.
Thanks for the help. I am getting fewer errors in the log file now,
after switching the indices over to local files, but they are still
happening.
For example, this morning:
Nov 2 06:19:33 server2 dovecot: IMAP(x): Maildir
/home/store4/x/.Garbage sync: UIDVALIDITY changed (1193995001 -> 1193996801)
Nov 2 06:19:33 server2 dovecot: IMAP(x): Corrupted transaction log file
/var/dovecot/x/.Garbage/dovecot.index.log.2: invalid indexid (1193995001
!= 1193998773)
Nov 2 06:19:33 server2 dovecot: IMAP(x): Corrupted index cache file
/var/dovecot/x/.Garbage/dovecot.index.cache: indexid changed
Here is another from yesterday afternoon:
Nov 1 17:39:39 server2 dovecot: imap-login: Login: user=<x>,
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Nov 1 17:39:39 server2 dovecot: IMAP(x): Transaction log file
/var/dovecot/x/.sent-mail/dovecot.index.log: marked corrupted
Nov 1 17:39:39 server2 dovecot: IMAP(x): Transaction log file
/var/dovecot/x/.sent-mail/dovecot.index.log.2: marked corrupted
Nov 1 17:39:39 server2 dovecot: IMAP(x): Maildir
/home/store4/x/.sent-mail sync: UID < next_uid (3 < 69, file =
1193952487.P1105Q0M269080.server2:2,S)
Nov 1 17:39:39 server2 dovecot: IMAP(x): Disconnected: Mailbox
is in inconsistent state, please relogin.
All of this is with maildir stores accessed via NFS but indices are
stored locally.
Is this normal? It seems like dovecot mostly continues and plays through
it, but there are a lot of errors in the logs about corrupted files.
Thanks
Jeff
More information about the dovecot
mailing list