Questions tagged [spamassassin]

SpamAssassin is an open source server daemon used to examine and mark email that it identifies as spam.

SpamAssassin is an open source server daemon used to examine and mark email that it identifies as spam. SpamAssassin does nothing but mark the email as spam; it is up to the mail client to setup rules to filter the marked emails out.

If you are having a problem which is unrelated to programming SpamAssassin, you should likely not be posting to Stack Overflow.

143 questions
3
votes
1 answer

Send simple text (not email) to SpamAssassin

I was wondering if I can send simple text to SpamAssassin. I want to put the comment in a text file and call 'spamc < file.txt' (i don't know if it is possible to send text direct to spamc). The problem is that SpamAssassin will report everything…
cristian
  • 8,300
  • 3
  • 35
  • 44
3
votes
1 answer

SpamAssassin - custom filter with multiple rules?

I'm attempting to setup a custom SpamAssassin filter to deal with the huge amount of SEO & web dev spam we get from GMail & Hotmail accounts - ideally, server-wide, since there are multiple mail hosted on that server. I've trained SA against…
StephenB
  • 91
  • 7
3
votes
1 answer

Send urgent/high priority e-mails automatically

Although using Python, I set the headers as described here would result in flagging my e-mails as spam by SpamAssassin. I am sending reminders for un-paid invoices, so I would like to do anything in my power to make the receiver aware of the e-mail…
YnkDK
  • 611
  • 6
  • 25
3
votes
2 answers

Outgoing email marked as spam: BAYES_99

I am developing a web application. All outgoing emails are marked as spam, or totally rejected by receivers' email providers. This prevents us from sending welcome emails, activation codes, or anything else to registered users. I tested my email…
Alberto
  • 421
  • 1
  • 7
  • 20
3
votes
2 answers

SpamAssassin REGEX to catch long URL

I am sharpening my SpamAssassin filter on CentOS. After I got out *.link and .eu domains I like to flag very long domain strings with over 100 characters. The conditions are: Start with http or https May or may not contain www Ends with EOL, Line…
yello
  • 99
  • 10
3
votes
0 answers

Integrate spam checking before sending an email in python django

I'd like to implement a way to check an outgoing email in django if it has a high spam score by way of clicking a button to read the email contents. This way, I could modify the email to be less than the spamassassin score of 5 or 10 (something like…
bonbon.langes
  • 1,467
  • 2
  • 19
  • 32
3
votes
2 answers

Can't find instructions to get rid of HTML_TITLE_SUBJ_DIFF

Outlook 2013 tests my newsletter with a few tests, and gives the newsletter a Spam-Score of 3.9 (5 is required). I wan't to have the score as low as possible, but I can't find what to do at the "HTML_TITLE_SUBJ_DIFF"-Test, and nowhere is written…
John Brunner
  • 2,672
  • 9
  • 42
  • 79
3
votes
2 answers

Why email from my server is being marked as spam by popular clients?

I am sending single letters of notifications, yet they are being marked as spam by almost every server. I've got detailed report from "is not spam" service, but can't really understand what lines of it are important. From what I have gathered by…
Nameless
  • 2,220
  • 4
  • 21
  • 28
2
votes
1 answer

Passing Text from MySQL into spamassassins Spamc Client

This is my first post here and I am a bit of a nub. I am looking to pass text from a MySQL database through spamassains spamc client. I can do it by writing to a file and then passing this file into spamc as in spamc < 'textfile.txt' but this is…
BertM81
  • 67
  • 3
2
votes
1 answer

How can spam emails be effectively blocked?

I've developed a custom email system and I am using spam assassin. But some spam emails are still getting through spam assassin's filters. Do I need to turn up spam assasin's strictness? Most of these emails are solicitations for website design or…
richard
  • 10,572
  • 20
  • 83
  • 144
2
votes
1 answer

SpamAssassin RDNS_DYNAMIC and HELO_DYNAMIC_IPADDR

I'm using SendGrid to deliver emails and the recent test I conducted from my server, using their API, ended up having SpamAssassin flagging my email. Here is the result: pts rule name description ---- ----------------------…
Vincent
  • 367
  • 7
  • 18
2
votes
1 answer

spamassassin rule to give a higher score to a certain language

Is it possible to give a score to e-mails written in a specific language? Background info: In specific cases I use score rules in the .spamassasin/user_prefs file. Some of our e-mail accounts receive extraordinary many spam messages in the Chinese…
terano
  • 29
  • 5
2
votes
0 answers

SpamAssassin creating bayes.toks.expire text files

I have a shared hosting account at HostGator and have been using spamassassin for several months with no problem. About 10 days ago, I logged in to cPanel > File Manager > .spamassassin folder, and there were 10-12 text files created like…
snoop
  • 141
  • 2
  • 8
2
votes
1 answer

Postfix mail transport unavailable only in queue

Yesterday i've tried to configure spamassassin on my debian server through this tutorial: https://www.rosehosting.com/blog/install-and-setup-spamassassin-in-debian-6/. Today i noticed that my e-mail gets queued with this error: mail transport…
Max
  • 593
  • 2
  • 7
  • 23
2
votes
2 answers

local.cf spamassassin

Actually I am trying to write one rule in local.cf spamassassin. What I need is to block all Viagra emails. As you know in these emails they write Viagra,VIAGRA,VIAGRA(c) sometimes in the Subject field, sometimes in the Name field, sometime it is…
air
  • 5,602
  • 25
  • 86
  • 124
1
2
3
9 10