8 Oct
2009
8 Oct
'09
2:41 p.m.
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@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@domain.com") { fileinto "foo@example.com"; stop; }
Running 'sieve-test' works OK; however, I do not want to implement it and suddenly start losing mail.
-- Jerry gesbbb@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