2020-03-08 19:24:42 +08:00
|
|
|
use = ["spam-header", "x-spamd-result", "x-rspamd-queue-id", "authentication-results", "fuzzy-hashes"];
|
2017-06-07 04:00:34 +08:00
|
|
|
skip_local = false;
|
2017-06-13 13:41:00 +08:00
|
|
|
skip_authenticated = true;
|
2017-06-07 04:00:34 +08:00
|
|
|
routines {
|
|
|
|
spam-header {
|
|
|
|
header = "X-Spam-Flag";
|
|
|
|
value = "YES";
|
|
|
|
remove = 1;
|
|
|
|
}
|
2018-11-12 16:57:25 +08:00
|
|
|
fuzzy-hashes {
|
|
|
|
header = "X-Rspamd-Fuzzy";
|
|
|
|
}
|
2017-06-07 04:00:34 +08:00
|
|
|
authentication-results {
|
|
|
|
header = "Authentication-Results";
|
2019-05-30 00:02:14 +08:00
|
|
|
add_smtp_user = false;
|
2020-03-08 19:24:42 +08:00
|
|
|
remove = 1;
|
2017-06-07 04:00:34 +08:00
|
|
|
spf_symbols {
|
|
|
|
pass = "R_SPF_ALLOW";
|
|
|
|
fail = "R_SPF_FAIL";
|
|
|
|
softfail = "R_SPF_SOFTFAIL";
|
|
|
|
neutral = "R_SPF_NEUTRAL";
|
|
|
|
temperror = "R_SPF_DNSFAIL";
|
|
|
|
none = "R_SPF_NA";
|
|
|
|
permerror = "R_SPF_PERMFAIL";
|
|
|
|
}
|
|
|
|
dkim_symbols {
|
|
|
|
pass = "R_DKIM_ALLOW";
|
|
|
|
fail = "R_DKIM_REJECT";
|
|
|
|
temperror = "R_DKIM_TEMPFAIL";
|
|
|
|
none = "R_DKIM_NA";
|
|
|
|
permerror = "R_DKIM_PERMFAIL";
|
|
|
|
}
|
|
|
|
dmarc_symbols {
|
|
|
|
pass = "DMARC_POLICY_ALLOW";
|
|
|
|
permerror = "DMARC_BAD_POLICY";
|
|
|
|
temperror = "DMARC_DNSFAIL";
|
|
|
|
none = "DMARC_NA";
|
|
|
|
reject = "DMARC_POLICY_REJECT";
|
|
|
|
softfail = "DMARC_POLICY_SOFTFAIL";
|
|
|
|
quarantine = "DMARC_POLICY_QUARANTINE";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|