Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've set up dovecot and use it via IMAP. When I'm logged in onto my server is it fine to use dovecot maildir directly with something like Gnus or NotMuch?

share|improve this question
up vote 2 down vote accepted

I think the definitive answer will have to be "suck it and see" on a test server - the Dovecot Wiki has a section on locking which says

Because Dovecot uses its own non-standard locking (dovecot-uidlist.lock dotlock file), other MUAs accessing the maildir don't support it. This means that if another MUA is updating messages' flags or expunging messages, Dovecot might temporarily lose some message. After the next sync when it finds it again, an error message may be written to log and the message will receive a new UID.

If you can set your client to be read-only (or perhaps mount-rebind the disk read-only) you should be OK.

... or if you can afford the disk space for the mailbox you're working on, you could set up your client to connect to IMAP via localhost and avoid the mess entirely.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.