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.

447 questions
4
votes
2 answers

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 something with them. Unfortunately, amavis doesn't…
Glen Solsberry
  • 1,536
  • 5
  • 28
  • 38
4
votes
1 answer

How to test email spam scores with amavis?

I'd like a way to test a spam message to see its spam scores that SpamAssassin gives it. The SA db files (bayes_toks, etc) reside in /var/lib/amavis/.spamassassin. I've been testing emails by doing this: sudo su amavis -c 'spamassassin -t…
CaptSaltyJack
  • 638
  • 2
  • 13
  • 36
4
votes
7 answers

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 Path and supposedly that automatically whitelists…
xarejay28x
  • 49
  • 2
4
votes
1 answer

SpamAssassin doesn't appear to be 'learning' from forwarded examples of spam

I have spamtrap@ and hamtrap@ addresses set up on my mail server and forward examples of spam to the spamtrap address. I was hoping that after a few examples, SpamAssassin would 'learn' to identify the particular characteristics of spammy mail with…
James
  • 623
  • 2
  • 6
  • 13
4
votes
1 answer

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 them. I don't think I can run them through sa-learn…
Jelle De Loecker
  • 1,094
  • 6
  • 17
  • 30
4
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.
  • 338
  • 2
  • 6
  • 15
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
  • 1
  • 8
  • 17
4
votes
1 answer

How to find a reason why a email is marked 3.5 BAYES_99 BODY

I am trying to find out why my messages getting marked in http://isnotspam.com with a 3.5 BAYES_99 BODY score. It is nice that the report shows "SpamAssassin Check : ham (non-spam)" However, it bothers me that I get: 3.5 BAYES_99 BODY: Bayes spam…
Thom
  • 41
  • 1
  • 3
3
votes
1 answer

Amavis / Spamassassin - FORGED_SPF_HELO and SPF_HELO_PASS

I have a web server that sends out webform type emails via Postfix 3.3.0. No inbound. No extras. Receiving mail server is running same Postfix (but with amavis-new/spamassassin + dovecot/etc). These are both on the same domain, but different…
B. Shea
  • 1,009
  • 11
  • 22
3
votes
1 answer

Why does spampd fail with socket connection failure on openbsd?

I'm having some trouble getting spampd to work in OpenBSD. First off, if I try to specify the daemon flags in my /etc/rc.conf.local like so: spampd_flags="--port=10025 --relayhost=127.0.0.1:10027 --tagall -aw" The service does not start with those…
djsumdog
  • 1,100
  • 2
  • 16
  • 29
3
votes
1 answer

Spamassasin user - disable shell

I recently discovered that spamassasin added the following line to my passwd file: debian-spamd:x:115:122::/var/lib/spamassassin:/bin/sh. Why does spamassasin need shell access? Is it safe to disable shell access (f.e. set shell to…
koseduhemak
  • 271
  • 3
  • 8
3
votes
1 answer

Avoiding unnecessary bounces with OpenSMTPD on OpenBSD

I am running OpenSMTPD on OpenBSD together with spamd, spampd and spamassassin, DKIMproxy and dovecot. My setup is to handle both local e-mail on the server and (external) email for my domain. My setup seems to be working (still in testing phase). I…
pvswie01
  • 31
  • 2
3
votes
1 answer

Postfix with Spamassassin, discards the spam instead of delivering to spam folder

I've a problem with my Spamassassin, it discards email instead of delivering it to the actual spam folder, I need to change this option just in case the email wasn't spam but i got marked that it was, so i can check my spam folder from time to time.…
J.K
  • 31
  • 1
  • 3
3
votes
0 answers

Don't send outgoing mail via Spamassassin

My e-mail server is running Postfix 2.11.3 on Debian 8.7 (Jessie) with Spamassassin 3.4.0. I realized that my outgoing e-mails are also being checked for spam, which not only seems to be unnecessary to me, it also adds headers to the e-mail which I…
comfreak
  • 1,501
  • 1
  • 21
  • 33
3
votes
1 answer

Spamassasin regex body and header check not working

We are trying to mark phishing mails with a simple rule in Spamassasin as spam. But unfortunately we are unable to get a working check out of it. Basically what we are trying to achieve is that if the sender of the Mail is not from our domain…
Daywalker
  • 495
  • 5
  • 25