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
0
votes
1 answer

SpamAssassin Solutions

Hi I am sending some campaigns through ElasticEmails and these are the SpamAssassin rules scores of my campaigns. 0.2 JAM_LONG_LINK : BODY: Very long link in mail, possibly filled up with 0.8 HTML_FONT_LOW_CONTRAST : BODY: HTML font color similar…
Kalesh Kaladharan
  • 1,038
  • 1
  • 8
  • 26
0
votes
1 answer

Spammassassin filter names that match a specific pattern

I've been getting a lot of spam lately from many domains (too many to blacklist) where the sender name follows this pattern: Name S. so the name followed by a white space, then by a single letter and finally a point. I was wondering if I could…
JohnTheWalker
  • 542
  • 4
  • 20
0
votes
0 answers

broken headers causes too many x-spam points

I use my hosting provider's mail server and email formed by my php scripts gets to many x-spam points. Mostly because of broken_headers. How can i fix the headers so my email wouldn't be considered as spam ? header('Location:…
0
votes
1 answer

Spamassassin regex header rule not working

I'm new to Spamassassin, regex and Perl, so I'd appreciate some help. I was trying to add a spam score to all emails whose senders follow a certain pattern, namely: name.surname.@example.com. This is what I came up with header…
JohnTheWalker
  • 542
  • 4
  • 20
0
votes
0 answers

getting an error when trying to import the spamc library in python

I use python3.5, i recently installed spamc using pip. When i try to import spamc, an error is raised: How can i resolve this error?Should i find and install other library where spamc is included in it? import spamc Traceback (most recent call…
Bonfel
  • 11
  • 4
0
votes
0 answers

SpamAssassin via Python not always working?

I've setup a mail server managed by a Python script via smtpd and since I receive some spam, I decided to connect SpamAssassin to it. Since I couldn't find a Python code that connects to SpamAssassin to get the score, I built it myself using a few…
Cyril N.
  • 38,875
  • 36
  • 142
  • 243
0
votes
1 answer

Does Spamassassin require compilation to use?

From what I have been able to gather, spamassassin is written in perl but there may also be compiled versions of it. Does one have to compile it inorder to use it? Can a perl script simply include spam assassin and start calling its…
Raj
  • 3,051
  • 6
  • 39
  • 57
0
votes
1 answer

How to prevent the email from being considered HTML, when I've already set the headers as "Content-type: text/plain"

I'm trying to figure out why my emails are considered spam by hotmail, so I'm using an online tool called mail-tester.com. According to it, I have an 8.4 out of 10, but one of the problems is that SpamAssasin detected that "Message only has…
Rosamunda
  • 14,620
  • 10
  • 40
  • 70
0
votes
1 answer

Is it possible to sync my Pyzor server with public Pyzor servers?

I am expecting my mail traffic to increase in the future and setting up a local Pyzor server as recommended in the docs. Is there a way to populate this database by syncing with the public Pyzor servers? What is the best way to populate this…
Rajkiran
  • 7
  • 7
0
votes
1 answer

Regular Expression (REGEX) to match X-SPAM-SCORE

As a domain owner I have been struggling inevitably with spam, I wrote a REGEX expression to establish an acceptable level on the X-SPAM-SCORE, I know that CPANEL provides some "filters" for establishing this but in my case I found that my…
ximbal
  • 3,178
  • 2
  • 17
  • 19
0
votes
1 answer

mail spam server filter gateway

I have an exchange 2010 multi-tenant email server that has email addresses of many domains. I want to setup a spam filter for my mail server I have been looking on the internet but cant figure out the best solution to implement. Spamassasin with…
Rehan Miah
  • 21
  • 7
0
votes
1 answer

spamassasin config to score empty subject

I am aware of how to set spamassasin to penalize (score) a mail containing a .ZIP file, which goes like this: mimeheader MY_CNF_ZIP Content-Type =~ /^application\/zip/ score MY_CNF_ZIP 1.5 But I am not sure how to write a rule for empty…
crysman
  • 167
  • 1
  • 11
0
votes
2 answers

Spamassassin, sa-learn with subdirectories

I have a problem to figure out a good solution to set Spamassassing (sa-learn) for learn by e-mails from subdirs. I read a lot of tutorials. In every tutorial is something like this: /usr/bin/sa-learn --no-sync --ham…
Sanny F.
  • 1
  • 2
0
votes
1 answer

SpamAssassin rule doesn't catch "Returned mail: see transcript for details"

I'm getting hundreds/thousands of emails on my catch all address for my domain, with the subject "Returned mail: see transcript for details". I am trying to catch these emails with spam assassin (SA) to mark them as spam, but the SA rule only works…
Michaël
  • 357
  • 3
  • 9
0
votes
0 answers

Is SpamAssassin sensitive against UTF-8 words?

let me explain with a simple example: An email with Order in its subject will trigger SPAM filters such as SpamAssassin. I want to know if an email subject contains that words translation in Arabic: أطلب or in Persian: سفارش, Does it draw attentions…
mahyard
  • 1,230
  • 1
  • 13
  • 34