[Dovecot] Sieve create non-existent folder
stephan at rename-it.nl
Sun Dec 19 09:45:24 EET 2010
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:
> 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.
More information about the dovecot