Questions tagged [spamassasin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Is there a way to get spamassassin to block spam with format

Recently I've started getting a lot of spam that is being sent to an MX backup server and then forwarded to my mail server. I think this started because I blocked the spammer IP addresses in the ...
user avatar
  • 1
0 votes
0 answers
35 views

Spamassassin not installed Ubuntu 20.04

I got error while end of the installation of Spamassassin . error: gpg required but not found! It is not recommended, but you can use "sa-update".... Sub-process /usr/bin/dpkg returned an ...
user avatar
0 votes
0 answers
66 views

Spamass-Milter Network Issue

Spamass-milter man says the following about -i network flag: "Ignores messages if the originating IP is in the network(s) listed. The message will be passed through without calling SpamAssassin at all....
user avatar
  • 105
1 vote
0 answers
28 views

Train spamassassin remotely using a single email account set up for both POP and IMAP

I use multiple devices ( desktop / laptop / iphone / ipad ). I use POP because my desktop has extensive folders that I do not want to upload/share with a server, or take up space on my mobile devices. ...
user avatar
0 votes
1 answer
295 views

Exim and Spam Filtering

for years I've been using Exim as MTA. I had three strategies to prevent Spam. First of all blacklists. The second was to delay the mail delivery and the third was SpamAssassin. But this year, more ...
user avatar
1 vote
0 answers
154 views

Postfix server: Mailman email double checked with SpamAssassin

I have set up postfix with spamassassin, and then added mailman for mailing list management, everything on Debian 9 Stretch: postfix: 3.1.8 mailman: 2.1.13 spamassassin: 3.4.1 The problem is that ...
user avatar
  • 111
0 votes
1 answer
464 views

How to automatically move mails to SPAM or JUNK folder instead of removing them?

I have problem with amavis-new. amavis-new removes an e-mails tagged as SPAM are removed instead of leave them tagged by SpamAssassin. Here's /var/log/mail.log: Jul 20 20:04:09 cloud-vps opendmarc[...
user avatar
0 votes
2 answers
373 views

Why is postfix-spamassassin-dovecot set up this way?

I have recently added spamassassin to my mailserver, as the blacklists weren't effective enough. To clarify: I use Postfix as SMTP + Dovecot as LDA, postgrey for greylisting and postfwd for rate-...
user avatar
0 votes
2 answers
63 views

How can I filter out spam mails sent to a specific user with an arbitrary name on postfix?

Recently one of our company's accounts gets a target of spam mails. This account is already locked, but spam emails never end. Thus, I edit /etc/postfix/header_check file as follows: /^To:.targetuser@...
user avatar
2 votes
0 answers
455 views

Postfix: How to avoid forwarding spam (Spamassassin + Aliases)

We have a configuration where we have multiple shared IMAP folders (using dovecot) for a given group of people (e.g one for ressort A, one for ressort B). These groups have a mailaddress e.g. a@...
user avatar
  • 141
0 votes
0 answers
140 views

Block everything except 2 domains in Spam Assassin

One of our spamassassin servers is getting smashed by tons of Russian spam and causing a failure when we're trying to process the emails we care about. I'm trying to reject all email that isn't on 2 ...
user avatar
  • 550
0 votes
1 answer
74 views

Mail in spam - spf is set

I'm trying to send mails from my domain tickety.be. I'm using sendmail to do this. My sender is info@tickety.be. My receiver is also info@tickety.be. My application is hosted on my Scaleway server. ...
user avatar
  • 111
4 votes
3 answers
2k views

spamassassin does not honour local.cf

I updated my /etc/spamassassin/local.cf spamassassin file to update some score rules. However, even after restarting spamassassin (via service), the new score are not shown in spam emails. In fact, ...
user avatar
2 votes
0 answers
315 views

How to configure Bind for Spamassassin

I'm wondering if anyone can help me out with following the directions I found here https://wiki.apache.org/spamassassin/CachingNameserver to set up a working configuration for Spamassassin. I think ...
user avatar
0 votes
1 answer
210 views

Creating .spam folders in each mail user's account

My previous question, Cleaning out mail folders with cron task didn't result in a good enough answer to help me. I have narrowed down the task as follows: I wish to move mail out of each user's .spam/...
user avatar
2 votes
1 answer
2k views

The mail system : user unknown Action: failed Status: 5.1.1 Diagnostic-Code: x-unix; user unknown

I have a mail system from Postfix, Dovecot, Amavis, Spamassin on a Debian Jessie 8.5. Imap and pop3 work fine. Smtp port 465 over ssl sends fine, delivery is okay, but port 25 and 587 got the error "...
user avatar
  • 47
1 vote
0 answers
130 views

How to make spamassassin not check whether an authenticated user is in a blacklist?

I am sure this is a common occurrence: a user (who has an IP that is in a blacklist or two ) is sending mail using his email provides server (with SMTP authentication), then that server is forwarding ...
user avatar
0 votes
1 answer
84 views

Spamassassin: Is it possible to write spam addresses to an external file?

I'm am running Spamassassin v3.3.1 on CentOS. I'm trying to find a way of writing the "From" header (the from address) for emails which have been identified as spam to an external file. The idea ...
user avatar
  • 1,467
2 votes
1 answer
2k views

block IP address using SpamAssassin

Does using "Trusted Networks" in SpamAssasins local.cf in a way so you use a ! before a IP address, block the given IP address? The documentation is not clear regarding this issue. Does ...
user avatar
  • 169
1 vote
0 answers
136 views

Spamassassin spam score and block configuration?

I've searched in the community and Google for this topic. There hasn't been a precise answer. I wanted to see the spam scores in the mail.log or syslog for Spamassassin running on my Linux server. It ...
user avatar
  • 153
1 vote
0 answers
661 views

How to set up Mutt and Spamassassim

I've got Mutt to access and read my gmail, but in the inbox, it includes all the mail that the gmail interface hides in two tabs (I think they're called labels) called 'Social' and 'Promotions'. I'd ...
user avatar
1 vote
0 answers
891 views

Scan outgoing Postfix email for spam with Spamassassin

Is there a way to filter outgoing Postfix email for spam possibly with Spamassassin? I found this answer about how to do it with Amavis but it's terribly outdated and not very well explained.
user avatar
8 votes
2 answers
5k views

Postfix + SpamAssassin: Incoming mail headers changes

I made a Postfix + SpamAssassin setup following the instructions most websites recommend for this kind os setup. Basically I edited my master.cf to add: smtp inet n - - - ...
user avatar
  • 701
1 vote
1 answer
959 views

Dovecot auto folder creation "Unknown setting: mailbox"

First off my dovecot info: $ dovecot --version 2.0.9 Running on an Amazon Linux AMI EC2 instance. I've added this in my /etc/dovecot/conf.d/10-mail.conf mail_location = maildir:/var/mail/virtual/%...
user avatar
0 votes
1 answer
732 views

Sendmail: how to create a spam folder automatically?

I have a mailserver(sendmail+dovecot+procmail+spamassassin) Works fine,for normal mail,for spam i want to create a folder called "Spam" for every user and put all spam mail there. I configured ...
user avatar
  • 10.9k
3 votes
1 answer
733 views

Spamassassin - testing content of an html email with no headers

I'm using Scrivener to write emails for my business. I then use the "compile" feature to export to HTML. I'm wondering if there is a way to use spam-assassin to do a local test on a folder with ...
user avatar
2 votes
0 answers
49 views

How to trap spam sent from certain top-level domains?

I'm getting a lot of spam from eu TLD Maybe I could have put a rule set giving a score of say 2.5 or 3 for any mail originating from the .eu TLD; then this score + other factors could have made it ...
user avatar
  • 93
0 votes
1 answer
81 views

Spamassassin with one rule and multiple files

I was given a task to write a Java program that gets user input as text from a GUI screen, create a Spamassassin rule according to that rule and test the rule against a set of .eml files. Therefore I ...
user avatar
4 votes
0 answers
84 views

spamassassin adding blank lines when wrapping long headers: how to make it stop?

My email from Kickstarter started showing up in my mailbox corrupted. On investigation, it turns out to because I have these diagnostic headers added in my spamassassin config: add_header all What-...
user avatar
  • 37.9k
3 votes
1 answer
500 views

Spamassassin blacklist_to testing

I have some rules in my local.cfg file with some addresses defined as blacklist_to. However, I keep getting spam for these addresses -- or rather any email whatsoever. How can I test spamassassin ...
user avatar