Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [spamassasin]

The tag has no usage guidance.

1
vote
0answers
5 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. ...
0
votes
0answers
10 views

How to read content of bayes_seen & bayes_toks

I want to copy spam filter configuration from another server and use it for same domain which I migrated to new server, so I wanted to use it's spam filter, but how can I read it, or copy? I have ...
0
votes
0answers
45 views

How to filter/sieve email based on display name of sender

I have a problem with a persistent piece of spam. I keep getting emails from varying source addresses with useless news garbage. I can't block on either address or subject, as they change with every ...
0
votes
1answer
49 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 ...
1
vote
0answers
85 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 ...
0
votes
1answer
64 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[...
0
votes
2answers
175 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-...
0
votes
2answers
42 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@...
1
vote
0answers
185 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@...
0
votes
0answers
62 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 ...
0
votes
1answer
47 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. ...
1
vote
0answers
174 views

sorbs blocks gmail? [closed]

I got a warning in gmail about slow delivery. Further reading lead me to sorbs: Summary information for xxx.xxx.xxx.xxx/32 Note: Times shown are for the latest entry only! Found 2 network entries ...
3
votes
3answers
894 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, ...
2
votes
0answers
205 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 ...
0
votes
1answer
145 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/...
2
votes
1answer
770 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 "...
1
vote
0answers
69 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 ...
0
votes
1answer
59 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 ...
2
votes
1answer
711 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 ...
1
vote
0answers
128 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 ...
1
vote
0answers
382 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 ...
1
vote
0answers
740 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.
7
votes
2answers
3k 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 - - - ...
1
vote
1answer
724 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/%...
0
votes
1answer
559 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 ...
3
votes
1answer
444 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 ...
2
votes
0answers
48 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 ...
0
votes
1answer
58 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 ...
4
votes
0answers
67 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-...
3
votes
1answer
350 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 ...