doc:appunti:prog:esempi_maildrop
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
doc:appunti:prog:esempi_maildrop [2014/02/18 10:18] – created niccolo | doc:appunti:prog:esempi_maildrop [2014/02/18 11:13] – niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Esempio regole maildrop ====== | ====== Esempio regole maildrop ====== | ||
+ | |||
+ | Vedere **'' | ||
< | < | ||
Line 27: | Line 29: | ||
# spamc automatically skip messages greater than 512000 bytes. | # spamc automatically skip messages greater than 512000 bytes. | ||
# | # | ||
- | if ( $SIZE < 256000 ) | + | if ($SIZE < 256000) |
{ | { | ||
exception { | exception { | ||
xfilter "/ | xfilter "/ | ||
} | } | ||
+ | } | ||
+ | |||
+ | # | ||
+ | # Move sender into a folder (beware of extra char in From header!). | ||
+ | # | ||
+ | if (/^From: *Newsletter/ | ||
+ | { | ||
+ | to Maildir/ | ||
} | } | ||
Line 37: | Line 47: | ||
# Blackhole or move into subfolder messages tagged as SPAM. | # Blackhole or move into subfolder messages tagged as SPAM. | ||
# | # | ||
- | if ( / | + | if (/ |
{ | { | ||
exception { | exception { |
doc/appunti/prog/esempi_maildrop.txt · Last modified: 2014/02/18 13:09 by niccolo