Sieve script not working
Andrea Venturoli
ml at netfence.it
Sat Jan 19 06:14:56 EST 2019
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.
More information about the Info-cyrus
mailing list