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.

147 questions
4
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
  • 431
  • 1
  • 7
  • 21
4
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,718
  • 2
  • 22
  • 37
3
votes
1 answer

What's the most straightforward way to delete emails marked as spam by SpamAssassin?

I'm on Ubuntu Intrepid, using Postfix and SpamAssassin. I've seen approaches using procmail (like the one suggested @ Apache), but I'm looking for a solution that does not use procmail. This is a programming question because the correct answer will…
Nick Sergeant
  • 35,843
  • 12
  • 36
  • 44
3
votes
1 answer

Email header with multiple received fields: How can this happen and can this be used to fight SPAM

I often receive fishing /SPAM emails with multiple received fields. First, I'd like to understand how one email header can have more than one received field. Second, I'd like to know if I can use this to fight SPAM. Here is an example: …
3
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
  • 39
  • 5
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
  • 1
  • 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
  • 681
  • 9
  • 26
3
votes
2 answers

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
  • 803
  • 3
  • 10
  • 24
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
  • 191
  • 1
  • 13
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,842
  • 11
  • 44
  • 85
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,306
  • 4
  • 23
  • 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
2 answers

What is SCC_BODY_URI_ONLY rule in spam assassin?

I am facing this issue SCC_BODY_URI_ONLY with my email when checked with SPAM ASSASSIN, Does anybody know about this rule. There is no great deal of documentation around it.
Anil
  • 51
  • 1
  • 4
2
votes
1 answer

Cannot match spamassassin custom regex rule

I want to match this pattern in my spamassassin's filtering rules: Password archivio: 666 Per conto di: There is a space after di: and the number can be of undefined digits. in my custom.cf I have created this rule body CUSTOM_SPAM_RULE …
silvered.dragon
  • 407
  • 1
  • 7
  • 19
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
  • 12,263
  • 23
  • 95
  • 151
1
2
3
9 10