› Foros › PC › Software libre
Crea el archivo /var/vmail/globalsieverc conteniendo las siguientes líneas:
require ["fileinto"];
# Move spam to spam folder
if header :contains "X-Spam-Flag" ["YES"] {
fileinto "spam";
stop;
}
sieve_global_path = /var/vmail/globalsieverc
#$mydomain='example.com';
$forward_method='smtp:127.0.0.1:10025';
$notify_method=$forward_method;
#$final_virus_destiny = D_PASS;
$sa_spam_subject_tag = undef;
$sa_tag_level_deflt = undef;
$final_spam_destiny = D_PASS;
$sa_spam_subject_tag = '***SPAM*** ';
$sa_tag_level_deflt = 2.0; # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 6.31; # add 'spam detected' headers at that level
$sa_kill_level_deflt = 6.31; # triggers spam evasive actions
$sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent
$sa_mail_body_size_limit = 200*1024; # don't waste time on SA if mail is larger
$sa_local_tests_only = 0; # only tests which do not require internet access?
# Quota limits to avoid bombs (like 42.zip)
$MAXLEVELS = 14;
$MAXFILES = 1500;
$MIN_EXPANSION_QUOTA = 100*1024; # bytes
$MAX_EXPANSION_QUOTA = 300*1024*1024; # bytes
if ( /^X-Spam-Flag: YES/ )
to ".Spam/"