[Dovecot] mbox inbox default
bhayden at umn.edu
bhayden at umn.edu
Wed Aug 1 21:29:04 EEST 2007
On Aug 1 2007, Timo Sirainen wrote:
>On Wed, 2007-08-01 at 08:58 -0500, bhayden at 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
More information about the dovecot
mailing list