Questions tagged [spamassasin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
34 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
95 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
76 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
517 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
2 votes
0 answers
183 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
584 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
529 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
76 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
589 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
210 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
  • 570
0 votes
1 answer
78 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
2 votes
0 answers
380 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,139
0 votes
1 answer
253 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
176 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
93 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,010
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
807 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
970 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
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 - - - ...
TCB13's user avatar
  • 721
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
786 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.4k
3 votes
1 answer
874 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
51 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
96 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
96 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
  • 39.9k
3 votes
1 answer
610 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