If you plan to use spamassassin only, create custom rules for DNSBL blacklist.
https://support.cpanel.net/hc/en-us/articles/4403033351959-Adding-Custom-RBL-DNS-Lookups-To-SpamAssassin
# DNSBL custom blacklist
header DNSBL_UCEPROTECT1 eval:check_rbl('uceprotect1'...
1. Global whitelist (Configuration -> Mail Proxy - Whitelist) will disable all SMTP checking include greylist, SPF and DNSBL.
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#_mail_proxy_configuration
2. Disable DNSBL and spamassassin should able to detect blacklisted IP (with the...
Too much DNSBL site and only 1 threshold could lead to false positive. Try use less DNSBL site or increase the threshold.
Below is my DNSBL setting.
For mail filter, create custom mail filter to quarantine suspicious mails.
https://forum.proxmox.com/threads/mail-filter-example.71904/
From your mail header, there is no X-SPAM-LEVEL info. Did you enable the default modify header mail rule?
You still did not list down what mail filter rule that you have setup to filter the spam.
You need to customize your own mail filter to catch the spam as different enviroment is not the same.
https://forum.proxmox.com/threads/mail-filter-example.71904/
Use mail filter with who/what object to filter from/to/subject header.
Again, you have to study the spam mail and customize your rules against it.
https://forum.proxmox.com/threads/mail-filter-example.71904/
PMG utilize few options to block spam.
1. DNSBL - block blacklisted IP based on your DNSBL list.
2. Mail filter - block/quarantine based on your custom what/who object rule.
3. Spamassassin rules - increase/decrease SA score based on spamassassin default and your custom rules.
You have to...
You need to enable uceprotect and backscatterer in your DNSBL list.
https://www.uceprotect.net/en/index.php?m=6&s=11
https://www.backscatterer.org/?target=usage
Check out some spamassassin custom rules. For the URI rule, you have to customize it based on your situation and keyword.
https://landofnightandday.blogspot.com/2021/05/proxmox-mail-gateway-spamassassin.html
If the spam mail match your custom rules, it will show up in your mail's spam info.
X-SPAM-LEVEL: Spam detection results: 9
AWL -3.026 Adjusted score from AWL reputation of From: address
BAYES_50 0.8 Bayes spam probability is 40 to 60%...
Check out uri rule.
https://cwiki.apache.org/confluence/display/SPAMASSASSIN/writingrules
https://github.com/kawaiipantsu/spamassassin-rules/tree/master/rules
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.