[Dovecot] Sieve create non-existent folder

Jeff Mitchell jeffrey.mitchell at gmail.com
Sun Dec 19 17:10:46 EET 2010

On Sun, Dec 19, 2010 at 2:45 AM, Stephan Bosch <stephan at rename-it.nl> wrote:
> On 12/18/2010 4:52 PM, Jeff Mitchell wrote:
>> On Sat, Dec 18, 2010 at 9:52 AM, Pascal Volk
>> <user+dovecot at localhost.localdomain.org>  wrote:
>>> On 12/18/2010 03:33 PM Jeff Mitchell wrote:
>>>> Is there a way to have a Sieve script create a non-existent folder
>>>> rather than have it deliver messages to INBOX instead?
>>> See RFC 5490 section 3.2 - ":create" Argument to "fileinto" Command:
>>> http://tools.ietf.org/html/rfc5490#section-3.2
>> Thanks, Pascal.
>> The RFC doesn't mention whether this will subscribe a user to the
>> newly-created mailbox (such as you can do with the -s flag to doveadm
>> mailbox create) -- is that not done, or an implementation detail (and
>> if so, what does Dovecot do?)
> There is no explicit Sieve syntax for that. Dovecot automatically subscribes
> to a newly created folder upon delivery when the lda_mailbox_autosubscribe
> setting is set. Pigeonhole Sieve also uses this setting accordingly.

That makes a lot of sense. Thanks!


More information about the dovecot mailing list