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: [email protected]
placed in the /var/mail/vhost/example.com/foo/new directory.

Would this work:

require "fileinto";
if anyof (header :contains "Delivered-To" "[email protected]") {
 fileinto "[email protected]";
stop;
}

Running 'sieve-test' works OK; however, I do not want to implement it
and suddenly start losing mail.


-- 
Jerry
[email protected]

Outside of a dog, a book is a man's best friend: and inside a dog,
it's too dark to read.

        Groucho Marx

Reply via email to