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
1
vote
1 answer
relearn bayes autolearned spam when mails already processed by exchange
I'm using postfix with amavis and spamassassin to filter out spam before relaying everything to an exchange server. Regularly I got mails which weren't catched by spamassassin, even worse, they were autolearned as ham.
So I started to collect them…

Jens
- 13
- 2
1
vote
1 answer
Spamassassin cannot write files to disk
I am running spamassassin on Ubuntu 14.04 as root. When I am calling any of the methods, such as Check or ReportSpam, I am also passing in another user that the check should be run as. However I get a permissions issue
spamd: Can't locate…

Peter Kelly
- 1,102
- 2
- 7
- 10
1
vote
1 answer
How to redirect spam to a different email address (spamassassin/postfix)
I have setup postfix and spamassassin on Ubuntu 14.04.
I would like to set it up such that if the score of a message is above 5.0, it goes to one email account on my mailserver. If it's less that 5.0 it continues to the original destination.
I have…

Ben Holness
- 944
- 2
- 10
- 28
1
vote
3 answers
Order emails from online shop not delivered due to SPF errors
I have my domain served by two servers with different IP addresses: one for main website and another for online shop. When a customer places an order, among other things, an email is being sent to an internal email address sales@example.com. This…

Aleks G
- 936
- 2
- 8
- 18
1
vote
1 answer
Spamassassin DKIM DNS issue
Here is the setup where I encounter my issues :
My computer has the IP 10.6.2.5.
There is a DNS server ns.isp6.lab with the IP 10.6.2.4 (I can reach it).
My computer has Postfix + Dovecot + SpamAssassin installed. I receive emails signed with DKIM…

Raphael Laurent
- 219
- 1
- 6
- 17
1
vote
0 answers
Spamassassin not respecting my blacklist
I've tried putting my blacklist_from and whitelist_from lines in ~/.spamassassin/user_prefs and in /etc/spamassassin/local.cf, but they appear to be ignored.
This is from postfix's master.cf:
smtp inet n - - - - …

mkaito
- 129
- 4
1
vote
1 answer
Postfix/spamassassin incoming mail not being filtered, but outgoing is
I have what I hope is a fairly normal home postfix setup. I fetch POP3 mail using fetchmail, which passes on to postfix via /usr/sbin/sendmail. In postfix's master.cf I added a spamassassin service, and set -o content_filter=spamassassin on the…

Andy Balaam
- 131
- 4
1
vote
2 answers
Is there a way to whitelist and address or domain in Postfix's helo_restrictions?
I'm using postfix helo_restrictions to blacklist some spam leaning domains. One of those is a service that provides email service to people who want email addresses with their domains, but don't want to run a mail server. I'm blocking that service…

Lido
- 45
- 2
- 8
1
vote
1 answer
Spam - individual user
I have a bit of an issue with a users inbox in that a lot of spam is getting through for him alone.
We use Amavis/Postfix and SA in our mail setup. Config setup like this:
Config:
$sa_tag_level_deflt = 2.0;
$sa_tag2_level_deflt = 6.2; …

GerryI90
- 45
- 1
- 4
1
vote
3 answers
Suggested mechanisms for user-driven spam training?
I'm looking at having a way for my mail users to completely manage their own spam training. Before I get into it, my mail server details:
Debian 7.5, postfix 2.9.6, dovecot 2.1.7, amavisd-new 2.7.1, spamassassin 3.3.2
So, each of my users in each…

CaptSaltyJack
- 638
- 2
- 13
- 36
1
vote
0 answers
Spamassassin && Exim: redirect spam emails
I want to redirect all email, being marked as SPAM to special mailbox.
Works with Exim4, SpamAssassin Server version 3.3.1 on CentOS 6.5.
Rules from Exim in acl_check_data block:
warn message = X-Redirect-To: spam@mail.com
hosts =…

setevoy
- 334
- 2
- 4
- 15
1
vote
2 answers
is there something similar like sa-learn-cyrus for dovecot?
I was looking whole morning and found nothing.
I have a debian box running dovecot IMAP. I want to train the spamassassin with the users spam folders.
is there something similar like sa-learn-cyrus for dovecot?

Max Muster
- 337
- 2
- 6
- 27
1
vote
1 answer
Deliver fetchmail messages to two different MDA's
I'm running fetchmail on a AntiSpam server to get messages on user's junk folder to feed SpamAssassin bayesian filtering. It's been running nicely with the -m option in fetchmail to deliver the messages to SpamAssassin sa-learn tool.
But I would…

Vinícius Ferrão
- 5,520
- 11
- 55
- 95
1
vote
0 answers
spamassassin does not honour local.cf
I updated my /etc/spamassassin/local.cf spamassassin file to update some score rules. However, even after restarting spamassassin (via service), the new score are not shown in spam emails. In fact, nothing in that file seem to influence how…
1
vote
1 answer
Error in amavisd.conf -missing curly or bracket
I'm currently trying to setup Spam and Virus Filtering on my CentOS 6.4 machine using SpamAssassin and ClamAV. I've installed all necessary packages (SA, ClamAV and Amavisd-new) and configured them. While trying to start amavisd I get the following…

Peter Noble
- 111
- 3