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
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
  • 568
  • 3
  • 6
  • 15
7
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
  • 293
  • 1
  • 3
  • 16
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
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
  • 143
  • 1
  • 1
  • 12
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
  • 485
  • 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
  • 628
  • 2
  • 13
  • 34
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 …
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
  • 8
  • 22
5
votes
2 answers

Workaround SpamAssassin Y2K10 Bug (Mac OS X Server)

Bug Report: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6269 It turns out that SpamAssassin is adding a score of 3.2 (FH_DATE_PAST_20XX) to all email going through my mail server (Mac OS X 10.6 Server) because of the above bug. See…
Chealion
  • 5,713
  • 27
  • 29
5
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
  • 181
  • 1
  • 9
1
2
3
29 30