/^X-Spam-Level: \*{9,}/    REJECT Spam-Level over 10.
/^To: undisclosed-recipients:/    REJECT Please specify who your sending to.
/^To: Undisclosed recipients:/    REJECT Please specify who your sending to.

/^From:.*\@[^ ]*\.(cn|ru|kr|tr|ro|in|br)\b/	REJECT Sorry, your TLD is not allowed here

/^Subject:.*=\?(big5|euc-kr|gb2312|ks_c_5601-1987|Windows-1251|Windows-1256|KOI8-R)\?/   REJECT Language not accepted by this server as it is probably spam
/[^[:print:]]{8}/       REJECT Sorry, ascii chara
Tags
  1. https://wiki.debian.org/DebianSpamAssassin 
  2. ai spamassassin spamass-milter re2c pyzor libmail-spamassassin-perl libarchive-zip-perl libidn2-dev libgeo-ip-perl libgeoip-dev perl-doc cpanminus
  3. cpanm IP::Country::Fast Compress::Zlib Geo::IP Net::LibIDN2 Mail::SpamAssassin Digest::SHA1 Net::LibIDN2 IP::Country::DB_File Encode::Detect::Detector Net::Patricia Net::CIDR::Lite Devel::Cycle Test::More
  4. sa-update
  5. sa-compile
  6. spamassassin --lint -D
  7. /etc/default/spamd
  8. /etc/default/sp

## Blocklists and DNS-Based Rules
# Rules related to blocklists, DNS checks, and relay listings.
score RCVD_IN_SBL_CSS 4.0            # Listed in Spamhaus SBL-CSS blocklist
score URIBL_DBL_PHISH 3.5            # Phishing URL in Spamhaus DBL
score RCVD_IN_VALIDITY_RPBL 2.0      # Relay in Validity RPBL
score URIBL_BLOCKED 1.5              # Blocked URI query

Tags

chown debian-spamd:debian-spamd -R /var/lib/spamassassin/bayes/

Tags

sa-learn --spam /home/USER/Maildir/.Spam/
sa-learn --ham /home/USER/Maildir/.Sent/

spamassassin --add-addr-to-whitelist=IPADDRESS

Tags