[Dovecot] Turning on autocreate of maildirs - how?

Jeroen Massar jeroen at massar.ch
Tue Mar 11 17:48:16 UTC 2014


On 2014-03-11 18:41 , Graham Leggett wrote:
> On 11 Mar 2014, at 7:32 PM, Graham Leggett <minfrin at sharp.fm> wrote:
> 
>> Giving the different prefix a try on a test account, a mailbox directory is created, but the rest of the maidir directories (new, cur, tmp) aren't created, and the error below is returned.
>>
>> The key is the message "Error: user test at sharp.fm: Initialization failed: namespace configuration error: There can be only one namespace with inbox=yes"
> 
> This is somewhat of a moot point - the addition of maildir: breaks maildrop:
> 
> Mar 11 17:35:36 monica postfix/pipe[25561]: 10E29804B4: to=<test at sharp.fm>, relay=maildrop, delay=0.21, delays=0.15/0.02/0/0.03, dsn=4.3.0, status
> =deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to change to home directory. )
> 
> Is there a way to get dovecot autocreate to work without fiddling with the paths? For example, declare a global maildir default?

See http://wiki2.dovecot.org/maildrop that has a global default settings
file documented.

Personally, I am in favor of using LMTP (http://wiki2.dovecot.org/LMTP)
especially as you gain SIEVE powers (when enabled) ;)

Grets,
 Jeroen



More information about the dovecot mailing list