SpamAssassin is a computer program released under the Apache License 2.0 used for e-mail spam filtering based on content-matching rules.

learn more… | top users | synonyms

13
votes
10answers
4k views

Using fake MX records to combat spam

I have a client that is getting heavily spammed.. It's the 15th of the month and POP3 bandwidth is almost 100 GB. There are only 7 e-mail accounts on this domain. I installed SpamAssassin set it to 5 ...
11
votes
2answers
731 views

How can I reduce the damage of stolen mail accounts?

Currently I’m offering some webhosting to a few advertising agencies for their premium customers. But currently I have a great problem with the E-Mail Service. In the last week, the E-Mail Accounts of ...
10
votes
5answers
7k views

Is there any alternative to SpamAssassin? [closed]

I'm looking for an alternative to Spamassassin. Anyone tried rspamd ?
10
votes
5answers
9k views

How to minimise SpamAssassin (spamd) memory use

I'm using SpamAssassin on Debian (the default configuration with Pyzor, AWL and Bayes disabled, and sa-compile enabled), and each of the spamd child processes consume around 100 to 150MB of memory (...
9
votes
1answer
365 views

Is there a way to get spamassassin to score the top lines of a message body more heavily?

A lot of spam is getting through the filter on the mail server I run with the relatively simple trick of starting with few lines of (incredibly obvious) weight loss or other scam text at the top, ...
8
votes
1answer
2k views

I need advices: small memory footprint linux mail server with spam filtering

I have a VPS which is originally destined to be a webserver but some minimal mail capabilities are needed to be deployed as well, including sending and receiving as standalone server. The current ...
8
votes
1answer
1k views

How to edit bad word filter in SpamAssassin?

How can I add several custom "bad" words into SpamAssassin, so emails that contains that words are marked as a spam? UPDATE one of the keys is to edit file /etc/mail/spamassassin, and to add badword ...
7
votes
3answers
195 views

Is SRS rewriting absolutely necessary for a forwarding mailserver?

I am operating a Postfix email server for my domain, say mydomain.com. It mostly acts as a forwarding email server: users receive an email address @mydomain.com, but usually elect to have their ...
7
votes
1answer
513 views

Let Postfix handle spam in two ways

I've got postfix setup so that mail coming in from smtpd is automatically filtered through spamassassin (which reinjects it into the mailqueue with added headers) Now I want to do 2 things with ...
6
votes
1answer
1k views

amavis cronjob throwing an error out of nowhere

Can someone explain why amavis cronjob is suddenly trowing the following error? Cron <amavis@bee> test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync rules: ...
6
votes
2answers
5k views

Recommended way to implement Postfix 'before-queue' SpamAssassin filtering?

After some discussions with colleagues and the relevant depts. in my office, I have come to the conclusion that for my Postfix server, I must implement a 'before-queue' filtering. The reason is that ...
6
votes
1answer
1k views

Stop Outgoing Spam Already Tagged as Spam

I run a Postfix server with Amavis and Spamassassin among other things. Postfix receives mail from the outside world and passes it on to Amavis. Amavis has Spamassassin rate the mail, and then tags it ...
6
votes
1answer
494 views

Spamassassin: store bayes per user in mysql (with amavis)

I use postfix (mysql virtual users) + amavis + spamassassin and configured spamassassin to use mysql for storing the bayes data: use_bayes 1 bayes_auto_learn 1 ...
6
votes
3answers
2k views

postfix skip spam checks for authorized SMTP

Is there any way to configure postfix to skip spam/antivirus checks for those smtp connections that are SMTP-AUTH'ed? I would like to keep all the standard checks for external smtp traffic, but for my ...
5
votes
6answers
2k views

Prevent outgoing spam

What are some ways to prevent spam from leaving your servers should a hosting account get compromised? Have a bunch of clients on a server with cpanel but wondering if there was a way to just ...
5
votes
2answers
924 views

Workaround SpamAssassin Y2K10 Bug (Mac OS X Server)

Bug Report: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6269 It turns out that SpamAssassin is adding a score of 3.2 (FH_DATE_PAST_20XX) to all email going through my mail server (Mac OS X ...
5
votes
3answers
4k views

How to reject/detect emails claiming to be from my own domain?

We have following e-mail topology: Exchange server --------- Sendmail server ---------------Internet On sendmail server there is no any user mailbox and messages with sender address user@my.domain....
5
votes
3answers
6k views

Why does gmail flag my server emails as spam?

I recently moved my server to a new slice at slicehost and since, gmail has been flagging my email as spam. I have added domain keys, created a SPF record, have reverse dns setup, and my ip is not ...
5
votes
3answers
1k views

How to modify a message, so it will be for 100% recognizable as spam by Exchange junk e-mail filter

I have an sendmail server, sitting in front of my Exchange server. This server filters spam with SpamAssassin (and does it incredibly well!), but it merely tags spam messages with appropriate header ...
4
votes
1answer
890 views

How to stop backscatter email spam

I know I can't do anything about people spoofing my email address, but what can I do about all those annoying bounce-mails? I get 5-10 "Undeliverable mail" a day, but I don't know how I can filter ...
4
votes
7answers
1k views

Email Deliverability on Yahoo is very poor. Any suggestions please? [duplicate]

All other ISPs (Google, AOL, Hotmail) are fantastic, hitting 98-100% in the inbox. Yahoo is very random, and lately our deliverability has dropped drastically. All IPs are senders certified by Return ...
4
votes
1answer
3k views

Using razor2 with spamassassin

I have installed and configured razor2 according to official doc including editing the v310.pre config file in spamassassin folder. I ran both of the following commands with success (both indicated ...
4
votes
1answer
3k views

Enabling Bayesian filter with amavisd-new + Spamassassin

I run a Postfix mailserver on CentOS, and am trying to enable Spamassassin's bayes filter, but I seem to be missing something. We're running amavisd-new 2.9.1: Name : amavisd-new Arch :...
3
votes
5answers
2k views

Best practices for mass email platform [duplicate]

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 ...
3
votes
1answer
2k views

Is there a reason why DKIM signs every mail twice [closed]

I've configured my postfix/amavisd-new/spam-assassin setup after this tutorial https://help.ubuntu.com/community/Postfix/DKIM. But now the problem is that all mails I send are double signed with two ...
3
votes
2answers
227 views

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 ...
3
votes
2answers
144 views

Debugging spamassassin with postfix

I am trying to setup spamassassin milter on my postfix mail server. SpamAssassin Server version 3.4.1 running on Perl 5.20.2 with SSL support (IO::Socket::SSL 2.019) with zlib support (Compress:...
3
votes
1answer
4k views

Amavis / spamassassin setup, how to disable quarantine and get default spamassassin behavior back?

I've set up my first mail server that uses amavis. First off, I don't really see the point in amavis if I don't care about viruses. I don't use clamav as it's a huge RAM hog. SpamAssassin has worked ...
3
votes
2answers
3k views

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 ...
3
votes
2answers
7k views

amavis + SA not marking messages as spam

I'm running Postfix + amavis + SpamAssassin. Messages are coming through just fine, and they're getting X-Spam-Score as I would expect, along with X-Spam-Status values, implying that SA is doing ...
3
votes
1answer
944 views

Spamassassin RDNS_NONE matches, but there is a RDNS

I got a a little problem - spam assassin's RDNS_NONE-rule matches on my outgoing mails but there is a RDNS set for all hosts, that are in the delivery-chain. If I send an Email to "receipient-...
3
votes
1answer
1k views

Quarantined mail retrieval from SpamAssassin/ClamAV/Postfix

We run a mail relay service in a multi tenant deployment for clients. We started doing this because commercially available relay services were silly money when compared to the costs of building one ...
3
votes
1answer
60 views

spamassassin tries to use /nonexistent even though its user has a valid home directory

I have a spamassassin daemon used by exim on a FreeBSD 9.3 System that tries to use /nonexistent for its temp files and bayes-filter storage. Passing the username or a home directory via the daemons ...
3
votes
2answers
157 views

Dealing with spam flood in Postfix + Amavis

I run a mail server for several thousand users. It uses Postfix + Amavis (with SpamAssassin + Clam). Most of the time it's a pretty happy setup, but from time to time we receive a flood of virus/...
3
votes
1answer
134 views

Spamassassin filter based on destination domain

I am trying to configure my SpamAssassin (running in combo with amavisd) in order to lower the spam score limit assigned to emails directed to a specific domain (lower required_score only for incoming ...
3
votes
1answer
352 views

SpamAssassin coming back with zero scores

When I run tests (spamassassin -t) on obvious spam, I get results like this: Content analysis details: (2.0 points, 5.0 required) pts rule name description ---- ----------------------...
3
votes
1answer
2k views

SpamAssassin - ready to give up - extremely unreliable, marking spam as ham

I run a VPS, and I have to say that by far, getting SpamAssassin working right has been the most frustrating thing of all. It keeps missing spam mails and I see autolearn=ham in the header, yet when I ...
3
votes
2answers
2k views

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 ...
3
votes
1answer
287 views

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 ...
3
votes
2answers
7k views

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, ...
3
votes
1answer
2k views

Spamassassin? update channels?

I know this was asked here: but things seem to have changed. It appears that the old SARE rules are listed as broken The recommended SOUGHT channels seem to be down and DNS is broken for sought....
3
votes
1answer
25 views

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 ...
3
votes
1answer
296 views

Migrate and merge SpamAssassin

I have two separate SpamAssassin configurations that I need to merge into one. Since both of them have seen gzillion mails I'd feel stupid to dismiss one of them. Is it possible to merge their spam/...
2
votes
3answers
8k views

AMaViS: missing X-Spam-Status header

I set up a mail server with Dovecot, Postfix and AMaViS on Debian Squeeze following the tutorial on workaround.org (ISPmail tutorial for Debian Squeeze). It uses virtual domains and stores the domains,...
2
votes
1answer
392 views

What is a valid target for Spam Assassin's sa-learn?

I'd like to train my Spam Assassin with some spam that it's missed, however I'm confused. With sa-learn I could target: raw message text-message (body) html (body) What one of those options is ...
2
votes
5answers
8k views

Open Source or lower-cost alternatives to Barracuda Spam Filter

I'm aware of SpamAssassin-based solutions, but I'm looking for a free or low(er) cost spam filtering solution that's similar in functionality to the Barracuda Spam Filter. The Barracuda works well, ...
2
votes
2answers
1k views

Spamassassin filter systematically produces negative (ham) scores for spam messages

I have problem with lots of spam. My server setup is VPS with CentOS 6.5 and Dovecot+Postfix+Spamassassin. Here is source of one of the messages: Return-Path: <nancy_mitchell@tagbook.co.nz> X-...
2
votes
3answers
3k views

How to make spamassasin reject mail based on score?

I am running Linux with Postfix, Dovecot, Postgrey and spamassasin/spamd. This is my main.cf smtpd_recipient_restrictions = permit_sasl_authenticated, ...
2
votes
3answers
1k views

Running SpamAssassin as a Windows Service on Server 2012

I am trying to run spamd.exe file which runs the spamassassin for windows, as a windows service. I tried sc create spamassassin binPath="C:\Program Files (x86)\JAM Software\SpamAssassin for Windows\...
2
votes
2answers
2k views

SpamAssassin: HTML_IMAGE_ONLY_XX

Spam Assassin is flagging my messages for the following violation: 1.6 HTML_IMAGE_ONLY_24 BODY: HTML: images with 2000-2400 bytes of words It seems to be telling me, literally, that: My ...