[Dovecot] Turning on autocreate of maildirs - how?

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Mar 12 06:23:43 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 11 Mar 2014, 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?

What's your UserDB? In some message you've mentioned LDAP. With "Attribute 
templates" you can prefix the location with "maildir:". If you do not 
return mail in the userdb, the global mail_location is used.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUx/9b3D1/YhP6VMHAQLFJgf+LTH0B8s4SGbqL2jueZrwApQfdmYrQE6h
0z9wuYEnPOBWJIvs2CI1M/H3cNzXXwyzl7ALFYWdAz6QMxHIqp/De3J1KhDKg8p+
1wxiQym1sOz4ieLo+/YYzSHRpwXEMNsl9l2581PvhN/IUKK/FbLL+H3wMhxoVOhe
m4XFS4Ip/bIqr8ZpYeIZhd9dFmDkBz1KhTw2ZgEBZBKyqRrJoaU6rg3nnq/QGYRF
yaH4QsB3YP35hTG/7r3WsEWSdBVlEKYQOHwSmACDbIFpPHBW+FL624owGhfR0ZGK
g0URKSvrVDRsae+DDg4CiqlDIHjHiGS+bJQgt54ox50acVz29CAHLQ==
=r1Sl
-----END PGP SIGNATURE-----


More information about the dovecot mailing list