On Aug 1 2007, Timo Sirainen wrote:
On Wed, 2007-08-01 at 08:58 -0500, bhayden@umn.edu wrote:
We're an mbox environment, inboxes in /var/mail/$USER (I'll include dovecot -n output at the bottom of this mail). mail_location is set accordingly for deliver.
I'd assumed that if the /var/mail/$USER file doesn't exist, dovecot would create it, but we've discovered from experience (and I verified it in mbox-storage.c) that if access(path, R_OK|W_OK) fails--as it does if the file doesn't exist--that dovecot defaults then to delivering in root_dir/inbox.
That access() check is done only if INBOX location isn't explicitly specified.
Is this a problem only with deliver or also with imap?
Deliver only. On further review, I discovered where the problem lies locally, it was not a Dovecot issue. Sorry to bother. :) Thanks for your help,
-Brian