doc:appunti:linux:sa:rspamd_spamassassin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:rspamd_spamassassin [2023/11/17 11:15] – [Configure the blacklists] niccolo | doc:appunti:linux:sa:rspamd_spamassassin [2024/01/26 15:22] (current) – [ClamAV on TCP socket in Debian 12] niccolo | ||
---|---|---|---|
Line 259: | Line 259: | ||
< | < | ||
+ | # Map containing additional IPv4/IPv6 addresses/ | ||
+ | # be excluded from checks where exclude_local is true (the default). | ||
+ | local_exclude_ip_map = " | ||
+ | |||
# Add a custom RBL. | # Add a custom RBL. | ||
rbls { | rbls { | ||
Line 279: | Line 283: | ||
" | " | ||
} | } | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | The file pointed by the **local_exclude_ip_map** option can be updated (adding or removing IP addresses or subnets) without the need to reload any service. | ||
+ | |||
+ | A custom score can be defined into **local.d/ | ||
+ | |||
+ | < | ||
+ | symbols = { | ||
+ | " | ||
+ | weight = 6.2; | ||
+ | description = "From address is listed in ZEN Rigacci.Org"; | ||
+ | groups = [" | ||
+ | } | ||
+ | } | ||
+ | |||
+ | symbols = { | ||
+ | " | ||
+ | weight = 6.8; | ||
+ | description = "From address is listed in ZEN Rigacci.Org, | ||
+ | groups = [" | ||
} | } | ||
} | } | ||
Line 367: | Line 393: | ||
</ | </ | ||
- | As you can see from the log below, an SPF fail does not trigger a significative SPAM score using the default metrics: only 0.90/18.00: | + | The '' |
< | < | ||
Line 514: | Line 540: | ||
^ add_header | ^ add_header | ||
^ rewrite_subject | ^ rewrite_subject | ||
- | ^ soft reject | + | ^ soft reject |
^ reject | ^ reject | ||
Line 621: | Line 647: | ||
===== Logging ===== | ===== Logging ===== | ||
- | Example to enable logging | + | Example to enable logging |
< | < | ||
- | debug_modules = [" | + | debug_modules = [" |
</ | </ | ||
Line 648: | Line 674: | ||
< | < | ||
systemctl daemon-reload | systemctl daemon-reload | ||
+ | systemctl restart clamav-daemon.socket | ||
systemctl restart clamav-daemon.service | systemctl restart clamav-daemon.service | ||
</ | </ |
doc/appunti/linux/sa/rspamd_spamassassin.txt · Last modified: 2024/01/26 15:22 by niccolo