Skip to main content

Questions tagged [spamassasin]

The tag has no usage guidance.

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

Setting up Linux Mail Server with SpamAssassin: How to Receive Emails and Retrieve Spam Scores Programmatically?

I'm looking to set up a mail server on Linux that can receive emails, analyze them using SpamAssassin, and then return the spam score results. My goal is to integrate this into an application where I ...
Suvash sarker's user avatar
-1 votes
1 answer
23 views

Ubuntu 24.04, postfix and spamassassin

I was running Ubuntu 23.04, with postfix, with spamassassin installed as a service with systemctl. At the weekend I upgraded the distro to 24.04 and have now discovered that postfix is no longer able ...
Ant Kutschera's user avatar
0 votes
1 answer
32 views

Removing Spamassassin report from email message?

update: screenshot added showing the original message Forwarded in a new email. Replying to this message only copies the spam report into the reply. I don't know how I would reply to a false-positive (...
Nstevens's user avatar
  • 205
1 vote
0 answers
72 views

How do I block the new TLD's in Postfix?

For the longest time it seemed like what I had in place lately worked fine to block many of these new TLD's like .shop, .online, .tech, etc. All of a sudden it seems like some are getting through and ...
Robert In St. Louis's user avatar
0 votes
0 answers
103 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....
Dennis's user avatar
  • 105
2 votes
0 answers
100 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. ...
Heavy Mod's user avatar
0 votes
1 answer
595 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 ...
user39063's user avatar
  • 201
2 votes
0 answers
189 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 ...
norbert's user avatar
  • 121
0 votes
1 answer
631 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
547 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-...
Jakub Lucký's user avatar
0 votes
2 answers
81 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@...
J. Kotaki's user avatar
2 votes
0 answers
639 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@...
Tobi's user avatar
  • 141
0 votes
0 answers
225 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 ...
saleetzo's user avatar
  • 590
0 votes
1 answer
79 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 [email protected]. My receiver is also [email protected]. My application is hosted on my Scaleway server. ...
nielsv's user avatar
  • 111
4 votes
3 answers
3k 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, ...
Sardathrion - against SE abuse's user avatar
3 votes
0 answers
419 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 ...
Metamorphic's user avatar
  • 1,199
0 votes
1 answer
263 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/...
Transistor's 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 "...
oxyOsky's user avatar
  • 47
1 vote
0 answers
191 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 ...
Pentium100's user avatar
0 votes
1 answer
96 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 ...
Aditya K's user avatar
  • 2,140
3 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 ...
Rene's user avatar
  • 179
1 vote
0 answers
141 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 ...
CaesarS's user avatar
  • 153
1 vote
0 answers
877 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 ...
testname123's user avatar
1 vote
0 answers
1k 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.
brickmasterj's user avatar
8 votes
2 answers
6k 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 - - - ...
TCB13's user avatar
  • 741
1 vote
1 answer
1k 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/%...
Martin Lyne's user avatar
0 votes
1 answer
796 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 ...
elbarna's user avatar
  • 12.8k
3 votes
1 answer
937 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 ...
Blake King's user avatar
2 votes
0 answers
53 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 ...
Adi's user avatar
  • 93
0 votes
1 answer
102 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 ...
randomVariable's user avatar
4 votes
0 answers
100 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-...
mattdm's user avatar
  • 40.5k
3 votes
1 answer
625 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 ...
Sardathrion - against SE abuse's user avatar