Sieve script not working

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

 



Hello.

I'm using sieve scripts (among other things) to move messages that MIMEDefang marked as spam into a dedicated folder.

My scripts look like this:

require ["fileinto"];
require ["regex"];

if anyof (header :regex "X-Spam-Score" "^[1-9][0-9]\.",
          header :contains "X-Attachment-Dropped" "")
  {fileinto "INBOX.Spam.Received";}

Thus a message with the following header should go directly into the "Spam/Received" folder:
X-Spam-Score: 26.012 (**************************) BITCOIN_SPAM_07,DCC_CHECK,DOS_OE_TO_MX,FSL_BULK_SIG,HDR_ORDER_FTSDMCXX_DIRECT,HDR_ORDER_FTSDMCXX_NORDNS,HELO_DYNAMIC_HCC,HELO_DYNAMIC_IPADDR2,HTML_MESSAGE,MIMEOLE_DIRECT_TO_MX,NO_FM_NAME_IP_HOSTN,RATWARE_NO_RDNS,RDNS_NONE,TO_EQ_FM_DIRECT_MX,ZMIde_OutlookExpress



I'm doing this for three mailboxes: it works on two of them, not on the third one. I checked the script is there and the folder exists; now I'm out of ideas on what to try.

Is there some way to get a sieve log or to debug it?

 bye & Thanks
	av.
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/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