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.

463 questions
16
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…
16
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
  • 255
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,…
15
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
  • 801
13
votes
5 answers

Is there any alternative to SpamAssassin?

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

How do I prevent the SPF_HELO_NONE warning when sending from Postfix?

When using a tool like https://dkimvalidator.com/ to verify configuration of DKIM, SPF, DMARC, etc. for sending mail from a web server, I get a warning like this: 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record It seems like a bad…
Walf
  • 501
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
  • 488
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
  • 221
10
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
  • 201
10
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,740
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
  • 893
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
  • 5,248
9
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…
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
  • 286
8
votes
1 answer

Spamassassin logging scores

I have the Spamassassin 3.4 + Ubuntu 14 + Qmail + Clamav. All are running OK. When a SPAM is detected, it is marked as [spam] and delivered to recipients. Readind the spamd log (mail.log for me), I grep these lines: Jul 14 17:32:36 mail spamd[2575]:…
Daniel
  • 81
1
2 3
30 31