[Dovecot] Sieve create non-existent folder
Hello,
Is there a way to have a Sieve script create a non-existent folder rather than have it deliver messages to INBOX instead?
I'm using Dovecot 2.0.8 with Postfix, via LMTP.
Thanks!
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
Regards, Pascal
The trapper recommends today: cafebabe.1035201@localdomain.org
On Sat, Dec 18, 2010 at 9:52 AM, Pascal Volk user+dovecot@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?)
Thanks, Jeff
On 12/18/2010 4:52 PM, Jeff Mitchell wrote:
On Sat, Dec 18, 2010 at 9:52 AM, Pascal Volk user+dovecot@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.
Regards,
Stephan.
On Sun, Dec 19, 2010 at 2:45 AM, Stephan Bosch stephan@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@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!
--Jeff
participants (3)
-
Jeff Mitchell
-
Pascal Volk
-
Stephan Bosch