sieve-filter failure problems

Jost Krieger Jost.Krieger+dovecot at rub.de
Thu Aug 13 14:33:24 UTC 2015


I use sieve-filter for postprocessing misclassified mail.
For false positives I use the following script:

	require [ "variables", "include", "fileinto" ];

	global [ "FORCENOSPAM", "ext", "ext1" ];

	set "FORCENOSPAM" "YES";

	fileinto "JUNK-PRENOUCE";

	if header :matches "Delivered-To" "*+*@*" {
	   set "ext" "${2}";
	   set "ext1" "${2}";
	}

	include :personal "production";

FORCENOSPAM suppresses the spam handling and the Delivered-To stuff
tries to regenerate envelope info.

This is my crontab entry:
	1-57/4 * * * * cd ~kriegjcb; /usr/local/dovecot/bin/sieve-filter -v -e -W -u kriegjcb -m Spam/U0-failed ~kriegjcb/sieve/nospamfilter.sieve Spam/U0
 
Most things work fine, but a few of my rules will try to forward mail.
This will fail and my idea was I handle this manually from the folder
Spam/U0-failed.

Unfortunately the mail will arrive there but will also be left in the source folder
Spam/U0 and will be processed again every 4 minutes ...

This is probably not intentional?

Yours
Jost Krieger
-- 
| Jost.Krieger+sig at ruhr-uni-bochum.de  Please help stamp out spam! |
| Postmaster, JAPH, resident answer machine    at RUB Comp. Center |
| Sincere words are not sweet, sweet words are not sincere.        |
|                                          Lao Tse, Tao Te King 81 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4784 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20150813/136c180f/attachment.p7s>


More information about the dovecot mailing list