Questions tagged [spamassassin]

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

452 questions
5
votes
2 answers

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 message contains an image. My message only contains…
Jim G.
  • 358
4
votes
1 answer

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/ham databases?
vnuk
  • 506
3
votes
1 answer

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 ---- ----------------------…
CaptSaltyJack
  • 658
  • 2
  • 13
  • 38
3
votes
1 answer

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 find the message in /var/vmail on the server and…
CaptSaltyJack
  • 658
  • 2
  • 13
  • 38
3
votes
1 answer

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 this best. I'd like to pull the message right out of…
Evan Carroll
  • 2,422
3
votes
1 answer

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 be accepted (not marked as Spam). I know of one…
Cyclops
  • 1,189
  • 2
  • 9
  • 13
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.
  • 626
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,302
2
votes
1 answer

Configure spamassassin to mark very similar messages as spam

Users on my server have been receiving spam, consistently, for some time now. I have most of spamassassin's plugins enabled, and I have made sure to enable verbose logging, where I can see that all of the plugins are working. Why is it, then, that…
1
vote
0 answers

spamassasin scoring blatant spam very low

I have spamassassin 3.6.2 setup on kali linux (I'm a pen tester and this is the only linux box I have access to at the moment). I want to use spamassassin to sort through 50,000 or so emails I have offline. When I use spamassassin -e $emailfile to…
Jake Rankin
  • 129
  • 5
1
vote
0 answers

Rescan Spamassasin Emails marked as Spam

So, due to issues with an upstream mail server, all incoming emails triggered two rules and got a little over +5 on their spamassassin scores. Nice. I'm in touch with the upstream provider about getting the issue resolved and in the meantime, I have…
1
vote
1 answer

spamassassin fails to remove bayes.lock file

I have a problem with the /.spamassassin/bayes.lock This is the error I'm seeing : Oct 23 15:12:14 server spamd[18073]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock failed: File exists Oct 23 15:12:14 server spamd[18157]:…
1
vote
1 answer

SA bayes training with multiple domains

On a linux box running postfix+amavis+spamassassin, we are thinking of implementing bayes filtering. This system already does spam filtering (without bayes) at the moment for multiple customer domains. The question is, how should training be done in…
1
vote
2 answers

Why do I get different SpamAssassin results via spamd vs command line

My SpamAssassin daemon is not flagging as much spam as I would like (but it is flagging some), so I took a sample message which had not been flagged, and ran it thru SpamAssassin at the command line. The results are entirely different for the same…
flymike
  • 233
1
vote
1 answer

Spamassassin doesn't filter out all high score mails

Some mails with high score passes to users mailboxes even if many of the same spam messages gets filtered out correctly to server's spambox. Here is one example: Mail correctly filtered as spam Date: Thu, 04 Aug 2016 15:08:33 +0300 From: Erich…
Aas
  • 328
1
2 3