Re: Sieve script not working

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

 



Andrea,
It would help to know which version of Cyrus you're having difficulty with, and what setting you're using for 'unixhierarchysep'?  If you've recently upgraded to 3.X, for example, have you followed the instructions and converted your sieve scripts?

Cheers,
    -nic

On 1/19/19 5:14 AM, Andrea Venturoli wrote:
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

--
Nic Bernstein                             nic@xxxxxxxxxxx
Onlight Inc.                              www.onlight.com
6525 W Bluemound Rd., Ste 24	          v. 414.272.4477
Milwaukee, Wisconsin  53213-4073	  f. 414.290.0335

----
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