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
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
2 answers

Spamassassin Bayes Not Working

I'm getting no bayes score on any email and there appears to be no bayes filtering despite my best efforts. I am not a linux and spamassassin guru, so I'm asking for some help. I have built up these settings in local.cf in attempts to get bayes…
Montclair
  • 41
  • 1
  • 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
  • 147
  • 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
  • 1
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
1 answer

Spamassassin rule that compares part of the To: header with part of the subject line

I am trying to write a rule that will trigger when the user part of the 'To:' header is present in the subject line, followed by a number or preceded by a number. For example To: myname@thisdomain.com Subject: myname 3679273 or To:…
Rob
  • 127
  • 1
  • 12
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,022
  • 1
  • 10
  • 30
0
votes
0 answers

Size limit on E-mail attachments when checking if it is Spam?

I am trying to assess the Spamminess of E-mails. The emails are received in Maildir (on Linux server) via Postfix. I am completely new to the E-mail domain. So I am curious about the following things: Do the emails with attachments usually pass…
0
votes
1 answer

How can I query Spamhaus's SBL with a domain name?

I want to query Spamhaus's SBL using a domain name. I know this is possible to do because this form (Find SBL Listings by ISP Domain Name) does it and SpamAssassin does it, but I can only seem to get it to work with IP addresses. I took a quick…
Chas. Owens
  • 61,688
  • 16
  • 123
  • 216
0
votes
1 answer

Spam scoring for user's campaigns

I am working on an application that lets users build email campaigns to distribute en masse (following all good non-spam practices, of course). We want to put some kind of scoring system in there to get onto them if they put in key things, like…
Captain Hypertext
  • 2,274
  • 2
  • 25
  • 32
0
votes
1 answer

Not able to read return value from spamassassin when launched from C# console

I have a windows server 2008 with a mail server installed. For every emails that comes in, a C# application is launched that pipes the message through a set of optional filters and then decides whether or not to let it throught. I have alrealdy a…
jdecuyper
  • 3,866
  • 9
  • 35
  • 49
0
votes
1 answer

spamassassin - blacklist not working

On my ubuntu-server (14.04 LTS) I installed postfix, dovecot, amavis, clamav and spamassassin. I want to define global rules to blacklist mail-addresses. Therefore in the /etc/spamassassin/local.cf file I wrote... blacklist_from…
Andre
  • 531
  • 1
  • 8
  • 20
0
votes
1 answer

SpamAssassin filter header

I'm trying to filter messages with header Return-Path contains string '@example.eu'. I added to /etc/mail/spamassasin/local.cf this lines: My first attempt: header LOCAL_DEMONSTRATION_ALL Return-Path =~ /example\.eu/i score LOCAL_DEMONSTRATION_ALL…
0
votes
1 answer

Zimbra installation missing spamassassin folder

I have a relatively new Zimbra installation. It is version 8.6.0_GA_1153.FOSS. I was trying to enable Razor using the instructions here: http://wiki.zimbra.com/wiki/Improving_Anti-spam_system. Unfortunately, the entire spamassassin folder seems to…
rob_hir
  • 13
  • 4
0
votes
1 answer

Spam Assassin giving invalid output

I want to use Spam-Assassin for scoring mails for spam before sending them to the users. I'm using PHP for executing it as a process using the exec. exec("/usr/bin/spamc -R < {$fname}",$score,$rr); The problem is that the result being returned is…
Sam
  • 780
  • 2
  • 10
  • 21