[Dovecot] Using sieve with virtual delivery & maildir
Jerry
gesbbb at yahoo.com
Thu Oct 8 14:41:07 EEST 2009
I am using Postfix virtual users/domains with Dovecot virtual delivery
to maildir style mailboxes. Now I want to get sieve working to sort out
a few minor delivery problems.
I want all mail with a message header "Delivered-To: foo+bar at domain.com
placed in the /var/mail/vhost/example.com/foo/new directory.
Would this work:
require "fileinto";
if anyof (header :contains "Delivered-To" "foo+bar at domain.com") {
fileinto "foo at example.com";
stop;
}
Running 'sieve-test' works OK; however, I do not want to implement it
and suddenly start losing mail.
--
Jerry
gesbbb at yahoo.com
Outside of a dog, a book is a man's best friend: and inside a dog,
it's too dark to read.
Groucho Marx
More information about the dovecot
mailing list