sieve not filing messages? (update)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Afternoon,

I'm still working on a sieve issue reported by a user. It seems the
issue happens when the vacation rule is enabled. I have the users using
SmartSieve rather than trying to teach them how to create rules using
vi(1).

I copied the user's sieve rule list (long, I'll not post here) and tried
one of the messages and received a message I've not seen before from
the smart sieve tester.

The user insists on having lots of rules that file messages into multiple
hundreds of folders. When the vacation rule is enabled the incoming
messages are not filed. When the vacation rule isn't there (disabled),
the incoming messages get filed as the user wants.

I'm using the sieve tester at
<http://www.fastmail.fm/docs/sieve/sievetest.php>.

The error I get is:

Envelope body of 'to'? Envelope body of 'from'? filing message into 'INBOX.backup'
	with flags '\seen'


The first few rules are (not wrapped):

#Mail filter rules for $USER1
#Generated by $USER1 using SmartSieve 1.0.0-RC2 2010/11/22 13:40:37
require ["regex","imapflags","fileinto","vacation"];

if allof (header :regex "subject" ".*") {
	addflag "\\Seen";
	fileinto "INBOX.backup";
}

removeflag "\\Seen";
if anyof (header :contains "subject" "NOTICE: mail delivery status", header :contains "subject" "/usr/bin/fetchmail", header :contains "subject" "Postmaster notify: see transcript for details", header :contains "subject" "Warning: could not send message for past 4 hours", header :contains "subject" "Returned mail: see transcript for details") {
	addflag "\\Deleted";
	addflag "\\Seen";
	fileinto "INBOX.spam";
	stop;
}

elsif anyof (header :contains "subject" "*** SPAM ***", header :contains "subject" "*** VIRUS") {
	addflag "\\Seen";
	addflag "\\Deleted";
	fileinto "INBOX.spam";
}

elsif allof (address :contains ["to","cc"] "$USER1@$DOMAIN.com") {
	vacation :days 7 :addresses ["$USER1@$DOMAIN.com"] text:
Hello. 

I am out of the office on holiday and will have limited access to email.
I will return Monday, November 29th. 

If you have a general sales question, please send an email to $GROUP@$DOMAIN.com.

If you have a technical support question, please send an email to
$GROUP@$DOMAIN.com

;

}

elsif allof (address :contains "from" "$USER2@$DOMAIN.com") {
	fileinto "INBOX.Co-workers.$USER2";
	stop;
}

elsif allof (address :contains "from" "$USER3@$DOMAIN.com") {
	fileinto "INBOX.Co-workers.$USER3";
	stop;
}

<and on and on>

Does anyone see anything?

Mike



$ rpm -qa | grep cyrus
cyrus-imapd-devel-2.3.1-2.8.fc5
cyrus-sasl-lib-2.1.21-10
cyrus-sasl-2.1.21-10
cyrus-imapd-utils-2.3.1-2.8.fc5
cyrus-sasl-ldap-2.1.21-10
cyrus-imapd-2.3.1-2.8.fc5
cyrus-sasl-devel-2.1.21-10

$ cat /etc/redhat-release
Fedora Core release 5 (Bordeaux)

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux