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.

447 questions
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
  • 6
  • 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,453
  • 5
  • 36
  • 62
7
votes
1 answer

Is there a reason why DKIM signs every mail twice

I've configured my postfix/amavisd-new/spam-assassin setup after this tutorial https://help.ubuntu.com/community/Postfix/DKIM. But now the problem is that all mails I send are double signed with two DKMI Headers, one before and one after the mail is…
nazco
  • 387
  • 2
  • 5
  • 11
7
votes
1 answer

Let Postfix handle spam in two ways

I've got postfix setup so that mail coming in from smtpd is automatically filtered through spamassassin (which reinjects it into the mailqueue with added headers) Now I want to do 2 things with messages that are considered spam: If the mail is…
Paul Wagener
  • 173
  • 4
7
votes
4 answers

How to make spamassasin reject mail based on score?

I am running Linux with Postfix, Dovecot, Postgrey and spamassasin/spamd. This is my main.cf smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, …
Van Nguyen
  • 588
  • 3
  • 6
  • 15
7
votes
1 answer

Stop Outgoing Spam Already Tagged as Spam

I run a Postfix server with Amavis and Spamassassin among other things. Postfix receives mail from the outside world and passes it on to Amavis. Amavis has Spamassassin rate the mail, and then tags it as spam if necessary. Then Postfix relies on…
me
6
votes
2 answers

Valid DKIM but "body hash did not verify" error on Outlook / Hotmail / Live?

Why do I get dkim=fail (body hash did not verify) on Outlook / Hotmail / Live when I have a valid DKIM setup in place? I've made sure that my SPF, DKIM, DMARC records are set up correctly and the DKIM record on my domain matches my servers DKIM…
Persson
  • 161
  • 1
  • 4
6
votes
1 answer

Why would Spamhaus continue to add an IP to the CSS when that IP hasn't sent email recently?

For the last six months I have been locked in battle with the Spamhaus CSS SBL, having to regularly check if the IPv6 address of my Exim4 server has been listed and, if it has, manually delisting it. I finally conceded defeat last week and switched…
JamesG
  • 191
  • 1
  • 9
6
votes
2 answers

Spamassassin: Bypass /etc/resolv.conf DNS for querying DNSBL?

Question Is there a way to let spamassassin bypass my linux system's dns servers to query DNSBLs? Background Info When my Server receives email, it is checked by spamassassin. One of this checks looks up the involved mail servers in DNS blacklists.…
geruetzel
  • 142
  • 1
  • 1
  • 13
6
votes
2 answers

Automatically rescan email with SpamAssassin after it has been received

For the past months, the amount of spam I've been receiving has been driving me crazy. Despite running SpamAssassin (with RBL checks) on my Exim4 mailserver, a lot of it has been finding its way to our mailboxes. I've noticed that the vast majority…
Thorarin
  • 201
  • 2
  • 6
6
votes
1 answer

amavis cronjob throwing an error out of nowhere

Can someone explain why amavis cronjob is suddenly trowing the following error? Cron test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync rules: failed to run T_SPF_HELO_PERMERROR test, skipping: (Can't…
Daywalker
  • 495
  • 5
  • 25
6
votes
2 answers

Amavis / spamassassin setup, how to disable quarantine and get default spamassassin behavior back?

I've set up my first mail server that uses amavis. First off, I don't really see the point in amavis if I don't care about viruses. I don't use clamav as it's a huge RAM hog. SpamAssassin has worked just fine before on its own without amavis. Just…
CaptSaltyJack
  • 638
  • 2
  • 13
  • 36
6
votes
1 answer

Spamassassin: store bayes per user in mysql (with amavis)

I use postfix (mysql virtual users) + amavis + spamassassin and configured spamassassin to use mysql for storing the bayes data: use_bayes 1 bayes_auto_learn 1 bayes_store_module …
ChristophLSA
  • 107
  • 9
6
votes
3 answers

postfix skip spam checks for authorized SMTP

Is there any way to configure postfix to skip spam/antivirus checks for those smtp connections that are SMTP-AUTH'ed? I would like to keep all the standard checks for external smtp traffic, but for my local users sending emails I would like to skip…
user8677
6
votes
3 answers

How to reject/detect emails claiming to be from my own domain?

We have following e-mail topology: Exchange server --------- Sendmail server ---------------Internet On sendmail server there is no any user mailbox and messages with sender address user@my.domain.com can arrive only from exchange server and never…
user71061
  • 501
  • 2
  • 10
  • 22
1
2
3
29 30