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? Regards, Graham --
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
On 11/03/14 17: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? > > Regards, > Graham > --I have 15-mailboxes.conf where there are statements auto=create or auto=subscribe commented out inside namespace segments. It is where all the special use mailboxes get defined. I think the default is probably no - I can create folders with thunderbird specifically, but I don't think it is creating them automatically. I have auto = create within my special use mailboxes, and they did get created automatically when I needed them (I was deleting Trash for instance, but it sprung back after I had done that when it was next needed. -- Alan Chandler http://www.chandlerfamily.org.uk
-----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-----