[Dovecot] delivering to folder based on recipient_delimiter?
I'm currently running postfix + dovecot, with virtual users
In postfix I have set recipient_delimiter = + so that postfix accepts mail for user@example.com, user+foo@example.com, and user+spam@example.com all deliver to inbox.
what I would like is to have email directed to user+foo@example.com delivered to the IMAP folder foo (and, in the context of amavisd, have amavis configured for recipient_delimited, and add addr_extension_spam_maps add +spam to each mail identified as spam, and thus the mail would go to the spam folder on delivery.
The postfix guys say I should be able to do this. can someone point me to how to implement this with dovecot? (as I don't see how to even start).
Thx
Rick
Rick Steeves http://www.sinister.net
"The journey is the destination"
dovecot@corwyn.net wrote:
I'm currently running postfix + dovecot, with virtual users
In postfix I have set recipient_delimiter = + so that postfix accepts mail for user@example.com, user+foo@example.com, and user+spam@example.com all deliver to inbox.
what I would like is to have email directed to user+foo@example.com delivered to the IMAP folder foo (and, in the context of amavisd, have amavis configured for recipient_delimited, and add addr_extension_spam_maps add +spam to each mail identified as spam, and thus the mail would go to the spam folder on delivery.
The postfix guys say I should be able to do this. can someone point me to how to implement this with dovecot? (as I don't see how to even start).
I use Sieve to do this. There's probably other ways, too.
~Seth
Thank you; that took me to http://wiki.dovecot.org/LDA/Postfix which pretty much straight up fixed what I wanted it to.
At 02:38 PM 2/12/2009, you wrote:
dovecot@corwyn.net wrote:
I'm currently running postfix + dovecot, with virtual users
In postfix I have set recipient_delimiter = + so that postfix accepts mail for user@example.com, user+foo@example.com, and user+spam@example.com all deliver to inbox.
what I would like is to have email directed to user+foo@example.com delivered to the IMAP folder foo (and, in the context of amavisd, have amavis configured for recipient_delimited, and add addr_extension_spam_maps add +spam to each mail identified as spam, and thus the mail would go to the spam folder on delivery.
The postfix guys say I should be able to do this. can someone point me to how to implement this with dovecot? (as I don't see how to even start).
I use Sieve to do this. There's probably other ways, too.
~Seth
participants (3)
-
dovecot@corwyn.net
-
Edgar Fuß
-
Seth Mattinen