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.

440 questions
15
votes
2 answers

Spamassassin flagged something as spam that is not spam. How do I tell it so?

This is sort of a general question about training spamassassin. I have a newly set up mailserver which filters incoming mail through spamassassin. I recently got a flight reservation flagged as spam (score 5) and would like to tell spamassassin it's…
Nick Jennings
  • 350
  • 2
  • 10
15
votes
3 answers

Is SRS rewriting absolutely necessary for a forwarding mailserver?

I am operating a Postfix email server for my domain, say mydomain.com. It mostly acts as a forwarding email server: users receive an email address @mydomain.com, but usually elect to have their address forward to an external inbox (Gmail, Yahoo,…
tlng05
  • 245
  • 2
  • 10
15
votes
5 answers

How to minimise SpamAssassin (spamd) memory use

I'm using SpamAssassin on Debian (the default configuration with Pyzor, AWL and Bayes disabled, and sa-compile enabled), and each of the spamd child processes consume around 100 to 150MB of memory (around 50MB of real memory) on the 32 bit servers,…
Tony Meyer
  • 889
  • 1
  • 13
  • 25
14
votes
10 answers

Using fake MX records to combat spam

I have a client that is getting heavily spammed.. It's the 15th of the month and POP3 bandwidth is almost 100 GB. There are only 7 e-mail accounts on this domain. I installed SpamAssassin set it to 5 and setup 10-20 filters reject most of the junk.…
Mikey1980
  • 711
  • 1
  • 8
  • 12
13
votes
5 answers

Is there any alternative to SpamAssassin?

I'm looking for an alternative to Spamassassin. Anyone tried rspamd ?
dynax60
  • 139
  • 1
  • 1
  • 3
11
votes
2 answers

Mail with DKIM Signature gets T_DKIM_INVALID flag by SpamAssassin

I've installed a Debian (jessie) box with postfix and spamassassin. Configured and everything works fine. Except receiving mails with DKIM signatur will produce a flag T_DKIM_INVALID even if the signature is valid. See log example below. After that,…
High Ball
  • 478
  • 4
  • 11
11
votes
2 answers

How can I reduce the damage of stolen mail accounts?

Currently I’m offering some webhosting to a few advertising agencies for their premium customers. But currently I have a great problem with the E-Mail Service. In the last week, the E-Mail Accounts of about 7 companies were stolen and used to send…
user39063
  • 121
  • 3
10
votes
3 answers

How to edit bad word filter in SpamAssassin?

How can I add several custom "bad" words into SpamAssassin, so emails that contains that words are marked as a spam? UPDATE one of the keys is to edit file /etc/mail/spamassassin, and to add badword filter as described on…
user48058
  • 853
  • 3
  • 10
  • 19
10
votes
2 answers

Recommended way to implement Postfix 'before-queue' SpamAssassin filtering?

After some discussions with colleagues and the relevant depts. in my office, I have come to the conclusion that for my Postfix server, I must implement a before-queue filtering. The reason is that with an after-queue filtering, the email would be…
pepoluan
  • 4,918
  • 3
  • 43
  • 71
9
votes
1 answer

Is there a way to get spamassassin to score the top lines of a message body more heavily?

A lot of spam is getting through the filter on the mail server I run with the relatively simple trick of starting with few lines of (incredibly obvious) weight loss or other scam text at the top, followed by a larger body of text from programming…
mattdm
  • 6,550
  • 1
  • 25
  • 48
9
votes
3 answers

AMaViS: missing X-Spam-Status header

I set up a mail server with Dovecot, Postfix and AMaViS on Debian Squeeze following the tutorial on workaround.org (ISPmail tutorial for Debian Squeeze). It uses virtual domains and stores the domains, e-mail addresses and accounts in a MySQL…
Jan
  • 266
  • 1
  • 3
  • 6
8
votes
1 answer

SpamAssassin: avoid FREEMAIL_REPLYTO on Contact Form

Suppose: someone fills out my contact form on www.example.com/contact/. My server-side script sends this information to a sales person at the organization. To make SPF work, I set the "From" as sales@example.com To make the "Reply" button work…
Sygmoral
  • 181
  • 1
  • 1
  • 4
8
votes
1 answer

I need advices: small memory footprint linux mail server with spam filtering

I have a VPS which is originally destined to be a webserver but some minimal mail capabilities are needed to be deployed as well, including sending and receiving as standalone server. The current setup is the following: Postfix reveices the mail,…
petermolnar
  • 989
  • 1
  • 11
  • 17
7
votes
2 answers

Spamassassin, Dovecot and Postfix: Move spam to folder

I am trying to move Spam detected by spamassassin automatically to the Junk folder on Debian Jessie. I installed Spamassassin and edited the configs: local.cf (spamassassin folder) rewrite_header Subject…
Nidhoegger
  • 231
  • 1
  • 5
  • 14
7
votes
1 answer

Enabling Bayesian filter with amavisd-new + Spamassassin

I run a Postfix mailserver on CentOS, and am trying to enable Spamassassin's bayes filter, but I seem to be missing something. We're running amavisd-new 2.9.1: Name : amavisd-new Arch : noarch Version : 2.9.1 Release :…
David W
  • 3,405
  • 5
  • 34
  • 61
1
2 3
29 30