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
-- 
| [email protected]  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 |

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to