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

11
votes
10answers
2k 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 (yes GB..lol!) there are only 7 e-mail account on this domain. I installed SpamAssassin ...
11
votes
2answers
684 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

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 ...
8
votes
1answer
185 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, ...
7
votes
1answer
492 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 ...
7
votes
1answer
1k 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 ...
6
votes
5answers
5k views

Is there any alternative to SpamAssassin? [closed]

I'm looking for alternative to spamassassin. Anyone tried rspamd from Rambler.ru (https://bitbucket.org/vstakhov/rspamd/wiki/Home)?
6
votes
1answer
257 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 ...
5
votes
2answers
884 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
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 ...
5
votes
3answers
4k 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
701 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
6answers
948 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 ...
4
votes
1answer
632 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
6answers
1k views

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

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
3answers
1k 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 ...
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
343 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 ...
3
votes
2answers
2k 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
3k 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 ...
3
votes
2answers
5k 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
803 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
101 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
2answers
1k 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
265 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
1answer
1k 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 ...
3
votes
2answers
1k 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 ...
3
votes
1answer
437 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 ...
3
votes
1answer
188 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 ...
2
votes
5answers
5k 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
207 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 ...
2
votes
2answers
44 views

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 ...
2
votes
1answer
515 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 ...
2
votes
2answers
87 views

How does amavis talk to spamassassin?

I'm going through all the amavisd-new config files, and I can't find anything that tells amavis to talk to spamassassin/spamd to get a spam score. The reason I ask is because I'd like to swap out ...
2
votes
1answer
51 views

SPF issue with SpamAssassin

I have an internal management app for a small company, written in Python and running on a Linode VPS, with which users can send occasional emails to their customers. The emails are quite ...
2
votes
1answer
542 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 ...
2
votes
1answer
573 views

Can SpamAssassin be configured to filter on Subject lines?

Is it possible to configure SpamAssassin to filter incoming email, based on specific words in the subject line? For instance, all emails with the words "orange delight" anywhere in the subject, would ...
2
votes
2answers
516 views

Exim4, move all messages with X-Spam-Status set to “Yes” to .Junk folder in user's mail folder

How can I set up a site-wide rule to deliver all messages marked as Spam to the user's .Junk folder? And if the folder doesn't exist, create it. I know I can make a .forward file in the user's home ...
2
votes
1answer
586 views

Can I remove emails from /var/spool/sa-exim/SApermreject?

I have a lot of emails in /var/spool/sa-exim/SApermreject. Can I remove these emails or will this lead to some kind of nasty spam problem? Or is this just a history of all the emails that were never ...
2
votes
1answer
1k 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 ...
2
votes
2answers
566 views

SpamAssassin (spampd) ignoring user_prefs

I have an Ubuntu (12.10) server running postfix and SpamAssassin. I've set up spampd following these directions on the SpamAssassin wiki: http://wiki.apache.org/spamassassin/IntegratePostfixViaSpampd ...
2
votes
1answer
3k views

Why does Exchange 2003 silently reject emails with large attachments?

Our environment: Exchange Server 2003 Standard, single instance, running on Windows Server 2003 Standard. configured to not send/receive mail with attachments larger than 10 MB. NDRs are not ...
2
votes
0answers
44 views

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 ...
2
votes
0answers
78 views

Restrict IMAP access for a given account to only one IP address in Exchange 2013

I've created a "spam crawler" account with full access to all mailboxes in an Exchange 2013 environment to get messages in the junk folder to feed the Bayesian filtering running on SpamAssassin in a ...
2
votes
2answers
2k views

How to create default subfolders using procmail with Maildir (and postfix) that work with MUA's?

I have a procmail setup and want to have a Spam folder that works with MUA's. I found this tutorial http://www.cyberciti.biz/faq/how-do-i-move-spam-mail-to-spam-folder/ but it doesn't work as ...
2
votes
2answers
280 views

SpamAssassin 2010 Bug still active on my mailserver despite the offending rule being fixed - where to look to fix?

The SpamAssassin 2010 bug was supposed to be fixed not long after the bug became widely known, and indeed the offending rule in my /usr/share/spamassassin/72_active.cf has been updated. However, ...
1
vote
2answers
177 views

What is the difference for spamassassin between using sa-learn and not using it?

I have a question. Whether the use of sa-learn to teach spamassassin about email spam and ham it matter? How if I do not use it because I do not have a sample of spam or ham in my mail server?
1
vote
2answers
329 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> ...
1
vote
1answer
2k views

Mailscanner and amavisd-new comparison

I'm going to implement a mailfiltering gateway for my company. I'm going to use Postfix, with a PostgreSQL back-end. The question would be: how to best implement the antispam measures. Mailscanner ...
1
vote
1answer
582 views

New Job Offers Spam - Defeats SpamAssassin

For the last month or so I've noticed a shift in spam content. Basically still getting a lot of it but there's a new focus on fake jobs offers. They all look the same, all take to a fake Seek.com ...