On 12/18/2010 4:52 PM, Jeff Mitchell wrote:
On Sat, Dec 18, 2010 at 9:52 AM, Pascal Volk
<[email protected]>  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.

Regards,

Stephan.


Reply via email to