[Dovecot] filtering problem using sieve
ajmcello ajmcello
ajmcello at gmail.com
Mon Aug 28 03:47:51 EEST 2006
For some reason, I cannot filter messages that have uppercase or possibly
mixed casing in them. I have tried several tests by connecting
to port 25 and sending messages. The ones that fail are from
MAILER-DAEMON at mydomain.net. Here are the rules I have tried:
require ["fileinto", "reject", "vacation"];
if header :contains ["To", "Cc", "Bcc", "Reply-To", "In-Reply-To"] "
mailer-daemon at mydomain.net" {
fileinto "mailer-daemon";
stop;
}
if header :contains ["To", "Cc", "Bcc", "Reply-To", "In-Reply-To"] "
MAILER-DAEMON at mydomain.net" {
fileinto "mailer-daemon";
stop;
}
if header :contains ["To", "Cc", "Bcc", "Reply-To", "In-Reply-To"] "
MAILER-DAEMON at mail.mydomain.net" {
fileinto "mailer-daemon";
stop;
}
if header :contains ["To", "Cc", "Bcc", "Reply-To", "In-Reply-To"] "
mailer-daemon at mail.mydomain.net" {
fileinto "mailer-daemon";
stop;
}
They all fail to deliver to my mail folder "mailer-daemon" and go to my
inbox instead.
Anybody have any ideas what I am doing wrong? Also, how can I add a wildcard
so that I do not have to
specify subdomains?
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dovecot.org/pipermail/dovecot/attachments/20060827/eae3e117/attachment.html
More information about the dovecot
mailing list