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
2
votes
1 answer
Blocking empty subject line emails from being sent or received?
How can I configure Postfix, Dovecot, and/or SpamAssasin to reject all incoming and outgoing emails with empty subject line emails?
I am running on a Debian 8.6.

KingsInnerSoul
- 201
- 3
- 10
2
votes
1 answer
Spamassassin logging
I have a Postfix, Postgrey, Spamassassin, amavisd-new, dovecot setup.
When I send an e-mail through the system, the log file goes completely nuts.
I can't find any info to explain what the log lines mean, so I'm not sure what the best thing is to…

Spuggiehawk
- 59
- 1
- 8
2
votes
2 answers
Spamassassin: failed to open file /usr/local/spamassassin/spamfilter.log: Permission denied
I'm trying to follow this tutorial
https://www.rosehosting.com/blog/how-to-install-and-integrate-spamassassin-with-postfix-on-a-centos-6-vps/
But Spamassassin is giving an error
[root@ip-172-99-99-99 ~]# service spamassassin restart
Stopping spamd: …

Chloe
- 1,164
- 4
- 19
- 35
2
votes
2 answers
How to disable sorbs in spamassassin
I notice that sorbs.net is marking GMail's IP as spam sender which causes my users not able to receive from gmail.com. I want to disable or remove sorbs.net from checking process or add more DNSBLs in order let gmail emails in.
I tried adding the…

undone
- 167
- 1
- 1
- 10
2
votes
2 answers
Rewrite Email Subject
Is there a way to rewrite a subject of an Email on the receiving MTA (presumably at the Spam Filtering stage).
An example would be if giving Email accounts to young children where certain words need to be blocked/X'd out (Profanity, etc.).
Currently…
yayim
2
votes
0 answers
System reboot results in T_DKIM_INVALID spamassassin
I have installed and configured OpenDKIM in my Ubuntu 16.04 digitalocean vps and enabled the DKIM Plugin in SpamAssassin with loadplugin Mail::SpamAssassin::Plugin::DKIM in one of the .pre files located in /etc/spamassassin/ I have also installed…

Phoenix Aspacio
- 21
- 1
2
votes
2 answers
How to get spamassassin working with postfix as a milter
I'm trying to get spamassassin working on Ubuntu 16.04 with postfix.
When receiving mail, I get messages similar to the following in my logs:
Jun 11 14:29:47 myhost postfix/smtpd[2387]: connect from mail-oi0-f54.google.com[209.85.218.54]
Jun 11…

Anonymouslemming
- 891
- 4
- 15
- 26
2
votes
1 answer
Postfix block double extensions in archive attachment
These days I have problems with trojans in attachments like:
//EZuS.zip//invoice_scan_xcFSuO.xls.js contains a potentially infected object HEUR:Trojan-Downloader.Script.Generic.
//TuxX.zip//invoice_YAFFOg.doc.js contains a potentially infected…

Max
- 23
- 1
- 7
2
votes
1 answer
spamassassin how to remove explanation and score breakdown in the message?
I have setup SpamAssassin in Windows (using the JamSoftware), created a service for spamd.exe and currently SpamAssassin works fine. However, I would like to disable the explanation that SpamAssassin gives on top of the SPAM Message that starts…

Gasim
- 977
- 4
- 14
- 23
2
votes
1 answer
Postfix change add-on priority
I have just started to fight with Spam mails because of my new project. I will explain structure of that system.
We have Postfix as MTA on relay server and fresh Spamassasian and Policyd(v2 Cluebringer) add-ons for it. These are working well and…

itirazimvar
- 171
- 1
- 7
2
votes
1 answer
check spamassassin DNSBL results
Is there a way to check the results of spamassassin on an email when it checks DNSBL?
I see nothing in the maillog and nothing in the mail header.
I do not know if it is actually querying the DNSBLs or not, which I would like to know.
I currently…

PixelPaul
- 343
- 2
- 12
2
votes
1 answer
Will spamassassin’s bayes filter work if learned spam mails have *SPAM* in the subject?
When my mail setup detects that a mail is spam, it puts *SPAM* in the subject. Now I want to improve my bayes filter by training it on my corpus of spam.
If I feed these thousands of mails to sa-learn, will that work even if they still have the…

Joachim Breitner
- 3,779
- 3
- 18
- 21
2
votes
1 answer
Spamassassin: sa-update failed for unknown reasons, daily error, How to fix?
For a while now I'm getting the following error-mail sent to my root account on my server. This is a fail occurring every time on the daily spamassassin update.
My setup followed the Ars Technica Setup guide and I've already tried chown'ing the…

SEJPM
- 367
- 5
- 16
2
votes
1 answer
How to stop a loop I have introduced in a transitional postfix-spamassassin-dovecot setup
I am at the early stages of the steep email handling learning curve, gentleness appreciated :-).
I have a setup with postfix and dovecot. I am trying to migrate
my email server (domain example.com) from my house to an instance running somewhere else…

copper.hat
- 155
- 1
- 8
2
votes
1 answer
Sane Spam Strategy
Right now I'm using spamd to score spam and then procmail to put it in user's .Spam Maildir folder and then manually running sa-learn on .LearnAsSpam and .LearnAsHam and then also manually just deleting everything in those folders. Clearly there…

squarewav
- 121
- 3