[Dovecot] dovecot-2.2 Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Hi
After upgrading to 2.2, I get this: Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
I found no documentation on mailbox { auto }. Where should it go in the config file?
-- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu@netbsd.org
Am Wed, 17 Apr 2013 03:02:03 +0200 schrieb manu@netbsd.org (Emmanuel Dreyfus):
Hi
After upgrading to 2.2, I get this: Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
I found no documentation on mailbox { auto }. Where should it go in the config file?
Oli Schacher dovecot@lists.wgwh.ch wrote:
I am not sure on how to make it fit at mine. doveconf -n says this:
mail_location = mbox:~/mail:INBOX=/var/mail/%u:INDEX=/mail/indexes/%u: SUBSCRIPTIONS=../.mailboxlist (...) plugin { autocreate = INBOX autosubscribe = INBOX quota = fs:User quota quota_warning = storage=95%% quota-warning %u }
What should I have instead? Something like this?
mail_location = mbox:~/mail:INBOX=/var/mail/%u:INDEX=/mail/indexes/%u: SUBSCRIPTIONS=../.mailboxlist (...) plugin { autosubscribe = INBOX quota = fs:User quota quota_warning = storage=95%% quota-warning %u }
namespace inbox { mailbox INBOX { auto = create } }
-- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu@netbsd.org
On 17.4.2013, at 7.25, Emmanuel Dreyfus manu@netbsd.org wrote:
plugin { autocreate = INBOX autosubscribe = INBOX
INBOX doesn't have to be explicitly autocreated, it always is. I also doubt any client needs it to be autosubscribed.
namespace inbox { mailbox INBOX { auto = create
auto = subscribe if you want it to be autosubscribed.
} }
Although now I started to wonder if namespace has non-empty prefix if it's possible to autosubscribe to INBOX..
Am 17.04.2013 05:57, schrieb Oli Schacher:
Am Wed, 17 Apr 2013 03:02:03 +0200 schrieb manu@netbsd.org (Emmanuel Dreyfus):
Hi
After upgrading to 2.2, I get this: Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
I found no documentation on mailbox { auto }. Where should it go in the config file?
to my knowledge, in 2.1 autocreate worked still but only for first login but SPECIAL-USE can and/or can/should be used additional, so the question is, did this change in 2.2, i guess not , "warning" normal means, its still working but you should use other ways, and the feature is not longer developed, and may not included in future so Timo perhaps should do some clarification, or add some words to wiki about it.
For small search in 2.2 changelog i didnt found any autocreate change so at recent it should still work like 2.1
Best Regards MfG Robert Schetterer
-- [*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Joerg Heidrich
participants (4)
-
manu@netbsd.org
-
Oli Schacher
-
Robert Schetterer
-
Timo Sirainen