SpamAssassin is a computer program released under the Apache License 2.0 used for e-mail spam filtering based on content-matching rules.
Questions tagged [spamassassin]
447 questions
3
votes
3 answers
Strip SpamAssassin headers before processing
I have a server running cPanel/WHM with exim and SpamAssassin. I've been noticing an issue where emails coming in with forged spamassassin headers bypassing some of the filtering. I want to strip out all SpamAssassin headers before it goes through…

ytjohn
- 417
- 6
- 12
3
votes
2 answers
Bayesian filtering for Exchange 2010
So here's the deal.
Basically, I am looking for a convenient way to get spam from my Exchange 2010 mail server to my spam filter/proxy (whatever you want to call it) in a mail format for SpamAssassin to do its Bayesian filtering (Maildir or Mbox…

jmreicha
- 790
- 1
- 16
- 29
3
votes
6 answers
SpamAssassin trying to read config files under /root/
I have mail gateway servers configured to use MailScanner + Postfix + SpamAssassin as described here, along with MailWatch as a web front end.
When sa-learn is run from MailWatch (it's run as the postfix user), it throws this error:
SA Learn:…

gharper
- 5,425
- 4
- 29
- 35
3
votes
1 answer
Tell Postfix not to deliver mail when SpamAssassin isn't running
I have Postfix configured to filter mail using the SpamAssassin spamd daemon. I noticed recently that some spam messages would be delivered to my inbox with no SpamAssassin headers added. I tracked this down to the fact that I had a daily cron job…

Ben Williams
- 2,376
- 4
- 21
- 17
3
votes
1 answer
Force users to use BCC
I want to force users sending mail to my server to use BCC (we're
getting a lot of internal spam created by mailings to 30+ mailing
lists which then reply to all).
I thought spamassassin could be a good place to start since it is already used for…

dtech
- 633
- 2
- 10
- 27
3
votes
2 answers
How is spamassasin called by amavisd-new?
I initially thought amavisd passed incoming email message through to spamassin via the spamd daemon but now the spamd daemon is down on my new test email relay and the messages are still being flagged as spam and headers are added correctly.
I…

tomdeb
- 709
- 1
- 7
- 10
3
votes
5 answers
Best practices for mass email platform
I am in the process of setting up mass email service.
My question is: what are the best practices to achieve maximum deliver-ability.
More precisely - what should I do/know to prevent spam filters from blocking the emails (the emails are not…

Niro
- 1,401
- 4
- 20
- 36
3
votes
2 answers
Recommended SpamAssassin update channels?
I'm currently using SpamAssassin on a couple of mail servers that I look after. SpamAssassin runs in the context of amavisd-new on those servers and with the usual bunch of plugins (FuzzyOCR, DCC, pyzor, razor). Currently the servers are getting…

Timo Geusch
- 458
- 1
- 4
- 9
3
votes
1 answer
Spamassassin working but not learning? Bayes-filter accuracy is not improving
I have a mailserver with a working spamassassin installation (postfix, dovecot, amavis, clamav, spamassassin on debian).
Everything is working great. Spamassassin is filting out Spams and I get the headers:
X-Virus-Scanned: Debian amavisd-new at…

Esprit1st
- 31
- 3
3
votes
0 answers
Trusting "networks" (IPs) in SpamAssassin by DNS?
I have an IPv6-only server that runs Postfix with SpamAssassin (via Amavisd). I use a trusted relay service so that I can still receive emails from IPv4-only servers. It adds SPF headers for me and I've configured pypolicyd-spf to whitelist (as in…

IBBoard
- 175
- 6
2
votes
2 answers
Which command to send to SpamD to test the connection?
I run a few SpamAssassin servers and I'd like to ensure that they are up and running.
Just checking for "service spamassassin status" isn't enough as I had recently the case it was showing "Active" but the server didn't respond.
When connecting to…

Cyril N.
- 624
- 1
- 10
- 36
2
votes
1 answer
What is wrong with this Spamassassin META rule?
I am 99.99% sure this rule set of rules used to work fine, but has started throwing up errors if the meta rule at the end is uncommented. This appears to be engine related, as it happens in multiple places.
The resulting error when I lint is:
Sep…

davidgo
- 6,222
- 3
- 23
- 41
2
votes
2 answers
SpamAssassin, Postfix, and Multiple Addresses in From Header
I'm working on a problem that I'm seeing with an email scanning server (MailScanner, Spamassassin, Postfix, etc.), and From header spoofing. Unfortunately, some of the versions of these components are old, so this may be a bug in one or more of…

rickyboone
- 23
- 3
2
votes
1 answer
Blacklist recipient email addresses
I have a mail server on Ubuntu using Postfix and Dovecot and SpamAssassin. In Postfix I am using "plus addressing" via the recipient_delimiter option. So, for example foo_junker@me.com and foo_stupid@me.com are valid and actually deliver to the foo…

Phrogz
- 543
- 7
- 18
2
votes
0 answers
spamassassin + postfix doesn't work without log files
ps aux|grep spamd
root 12207 0.0 1.0 159920 83460 ? Ss 17:38 0:01 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir
root 12208 0.0 0.9 160484 79996 ? S 17:38 …

Pol Hallen
- 1,095
- 2
- 13
- 24