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
1
vote
0 answers

Postfix connection refused

So I recently set up Postfix and Dovecot with SpamAssassin for my email server and I tried using telnet to test SMTP and on all SMTP ports (25, 465, 587), I receive connection refused. I've set IP Tables and UFW. When executing netstat -tulpn | grep…
San
  • 11
  • 1
1
vote
1 answer

Dovecot/Postfix Forwarding with spamassassin not working (status=bounced (user unknown))

On Debian 10 I've set up Dovecot and Postfix with Spamassassin working just fine, but when I try to set up forwarding to a remote e-mail with virtual alias, the message bounces. I tried both of the suggestions by user Blaatpratt in this thread, but…
simernes
  • 121
  • 1
  • 6
1
vote
0 answers

smrsh cannot stat procmailrc

I am attempting to use procmail to route email for virtual users into different folders (specifically, I want to deliver to a user's spam folder if spam assassin assigns a high score). The MTA is sendmail. I have this in /etc/aliases: test: …
Blob
  • 11
  • 3
1
vote
0 answers

A SpamAssassin filter for empty HTML part

A new kind of spam's been getting through my defenses lately with the following common characteristics: The message itself is of type multipart/mixed with two parts. The body of the spam is in the first part, of type text/plain. The second part is…
Mikhail T.
  • 2,338
  • 1
  • 24
  • 55
1
vote
0 answers

spamassasin scoring blatant spam very low

I have spamassassin 3.6.2 setup on kali linux (I'm a pen tester and this is the only linux box I have access to at the moment). I want to use spamassassin to sort through 50,000 or so emails I have offline. When I use spamassassin -e $emailfile to…
Jake Rankin
  • 129
  • 5
1
vote
0 answers

Dovecot are not delivering spam emails to Junk folder - Debian 9, postfix, spamassassin

I followed this answer but the spam emails aren't being delivered to Junk folder My files: /etc/postfix/master.cf # # Postfix master process configuration file. For details on the format # of the file, see the master(5) manual page (command: "man 5…
user491241
1
vote
0 answers

Block dangerous word and excel docs?

The newest craze, apparently, is to add garbage into Office '97 formatted *.doc and *.xls files so that when a user opens them, and ignores warnings from Defender or anything else, they get infected with something. Usually, a trojan horse or a…
DrDamnit
  • 348
  • 5
  • 18
1
vote
0 answers

Rescan Spamassasin Emails marked as Spam

So, due to issues with an upstream mail server, all incoming emails triggered two rules and got a little over +5 on their spamassassin scores. Nice. I'm in touch with the upstream provider about getting the issue resolved and in the meantime, I have…
Richard Thomas
  • 121
  • 1
  • 3
1
vote
1 answer

spamassassin fails to remove bayes.lock file

I have a problem with the /.spamassassin/bayes.lock This is the error I'm seeing : Oct 23 15:12:14 server spamd[18073]: bayes: cannot open bayes databases /.spamassassin/bayes_* R/W: lock failed: File exists Oct 23 15:12:14 server spamd[18157]:…
1
vote
1 answer

CentOS7 - cannot change spamassassin required_score

I have a CentOS7 server running an yum-based install of Spamassassin (spamassassin-3.3.2-4.el6.rfx.x86_64). For some reason, I cannot change the required score setting to a custom value. When mail gets flagged as spam, I see this in the mail…
pathrider
  • 135
  • 6
1
vote
1 answer

Postfix & Spamassassin - custom rule for return-path and from address not in same domain

Having a little trouble with Spamassasin identfying spam emails coming from a domain of mine. The spam email is coming in from a return-path of someone@spammer.com, but the from field in the header is being set as someone@mydomain.com. I've done a…
Maxingwell
  • 11
  • 1
  • 2
1
vote
1 answer

Spamassassin - how to get a better score

I am testing a contact form, but I am getting a too high score for the emails sent from the contact/booking form. Here is the header: Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07)…
Pikk
  • 339
  • 1
  • 6
  • 19
1
vote
1 answer

How to tell spam-assassin not to quarantine tagged emails?

I'm running my own postfix mail-server at home with a setup similar to this one. I opted to deliver tagged spam via dovecot to the user's spam-mailbox, so that they can review tagged emails if they wish to; these spam-mailboxes get purged regularly…
jhwist
  • 160
  • 1
  • 8
1
vote
1 answer

Postfix content filter (spamassassin) get's bypassed

Lately we're receiving a lot of Japanese spam messages, containing weird headers. At least, it looks like a mail is remotely offered, but the mail is handled as if it was sent internally, which bypasses the content filters. Received: by…
royarisse
  • 173
  • 6
1
vote
3 answers

Run SpamAssassin on virtual_alias in Postfix

Ever since I started using Postfix virtual_alias_maps to forward all my email to gmail, I'm getting a ton more spam than when I delivered the mail locally and used SpamAssassin/spamd to filter it. I'm already using smtpd_recipient_restrictions to…
Paul Tomblin
  • 5,225
  • 1
  • 28
  • 39