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.

Filter by
Sorted by
Tagged with
0
votes
1answer
56 views

“FORGED_RELAY_MUA_TO_MX” how to fix it?

We using exchange 2013 for are long time, but someday I try test my mail server (at https://www.mail-tester.com/) and fond some errors, most of it I fix, but left some. Most what I do not ...
-1
votes
2answers
39 views

Postfix, Dovecot and Spamassassin unexpectedely fill-ups my disk usage

I am on VPS using CentOS 7, LAMP using Postfix, Dovecot and Spamassassin with Rainloop as my email client. When I have started Postfix using: systemctl enable postfix systemctl restart postfix ...
0
votes
1answer
13 views

sa-compile update error with rule compilation

I have an install of Ubuntu 18.04.5 and I'm trying to update the sa-compile (version 3.4.2) package because I have a file server set up on it which uses spamassassin (version 3.4.2). Every time I try ...
1
vote
0answers
25 views

How to disable SoughtRules in SpamAssassin

I'm running SpamAssassin 3.4 via Amavisd 2.12, installed with yum from EPEL on Amazon Linux 2. According to the SpamAssassin Confluence wiki (here and here), SoughtRules should be disabled, but ... I ...
0
votes
0answers
19 views

Spamassassin or postfix, reply on failed delivered message

What part of configuration decides the message is not delivered How to set reply message when not delivered with reason of not delivered...
0
votes
1answer
32 views

Postfix/spamassassin not delivering to alias when specifying user executing spamc

I have installed SpamAssassin and configured it to read preferences from sql. I realised that it wasn't reading the user's preferences, and checking the logs I saw that all requests sent by the spamc ...
0
votes
1answer
43 views

Compare url link and url text in email body and reject as SPAM

Email body: ... <a href="url">text</a> ... Is it possible check if text is url in email body, then compare url and text and reject as SPAM if they differ?
0
votes
0answers
56 views

Enabling X-Spam-Report in SpamAssassin

I tried to enable header X-Spam-Report in local.cf: report_safe 0 Per instructions this should cause adding this header to emails. Yet the header is not there. How can I fix that?
0
votes
1answer
46 views

Postfix: How to malware & spam scan outgoing SMTP SASL auth users?

Although I have found two answers to this, I can't work out how to actually implement them, and at least one of them doesn't actually answer the question. So if anyone has any experience to share I'd ...
1
vote
0answers
19 views

postfix + spamasassin on outgoing email

For domain company.com, I have server with postfix + dovecot + spamassassin. Currently spamassassin works just before dovecot: dovecot unix - n n - - pipe flags=DRhu ...
3
votes
1answer
310 views

Spamassassin working but not learning? Bayes-filter accuracy is not improving

I have a mailserver with a working spamassassin installation (postfix, dovecot, amavis, clamav, spamassassin on debian). Everything is working great. Spamassassin is filting out Spams and I get the ...
1
vote
0answers
26 views

Spamassassin keeps marking as spam despite low score

I have postfix with Spamassassin and spamass-milter configured. E-mails with score higher than 4.0 are supposed to be treated as a spam and be rejected. Here is my local.conf rewrite_header Subject ***...
0
votes
1answer
47 views

Postfix to Spamassassin, then to PHP script

Explanation I have been using a pipe as follows to pipe incoming mail to my laravel app, but check if for spam first. The following is being used as a virtual transport myhook unix - n n - - pipe ...
0
votes
0answers
29 views

E-mail address tagging (jsmith+tagtext@example.com) gets lost on Postfix with Spamassassin on CentOS 8

I have a problem on my Postfix mail gateway server that is set up to accept e-mail address tagging. The tagging itself works, I have tested it and I receive the messages with the tag in the address. ...
1
vote
1answer
281 views

Amavis adding SPAM marker in Subject, but mail is not spam

I have a Debian 10 server with posfix, amavis and spamassassin. Another server managed by me sends every day a mail containing no content and only a gif as attachment. I have whitelisted the from ...
0
votes
1answer
136 views

Mails filtered twice by spamassassin

I have a server with postfix, amavis and spamassassin. In the spamassassin local.cf file, I changed the default header subject marker for spam from *****SPAM****** to [SPAM] because it is more compact....
0
votes
1answer
25 views

Strange permission issue for SpamAssassin in LXC container

My mailserver set-up is quite old, but did its job for many years. With the last major update from Debian 9 to 10, SpamAssassin stopped working. Today I took the time to search for reasons, and I do ...
0
votes
0answers
81 views

Setting SpamAssassin's Bayes_path per user and dovecot

I have dovecot, Spamassassin and postfix running. I started to use sa-learn to get better and more precise spam identification and filtering. I have not set the Bayes_path preference on my local.cf ...
0
votes
0answers
155 views

Spamd is trying to create prefs on log folder - why?

I am trying to create user_prefs for each user of my mail server. The mail server is a dovecot+postfix one, and I use Spamassassin. I want to take it to the next level and create individual user ...
0
votes
0answers
92 views

SpamAssassin and Amavis block by country/IP/ASN per-user

I have a spamassassin-3.4.4 install with amavisd-2.12 and postfix on fedora32 and would like to be able to block email from an entire country on a per-user or per-domain basis. What is the best way to ...
0
votes
1answer
26 views

Spamassasin disable Email from external to all groups except

I would like to have a spamassasin rule that by default disables all external Emails to groups with exclusion of only a few groups. Thus someone@external.example should not be able to users@internal....
0
votes
0answers
13 views

spamassassin filter rule on name and smtp adres

I'd like to create a custom spam filter in spamassasin If I look at the header of an email eventually i got two typical spam cases : Two single lines of the mailheaders as seen in kopano webmail ...
0
votes
0answers
154 views

SpamAssassin doesn't flag any e-mails; no spam headers in e-mail

We use Amavis between Postfix and Spamassassin. Emails that contain GTUBE pass clean through Amavis even though they should be marked with their corresponding headers. Sep 24 20:11:09 mail amavis[955]:...
0
votes
0answers
33 views

SpamAssassin behaves the same for all emails

I have a mail server for my domain to handle my own emails (Postfix, Dovecot, Spamassassin - spamassassin-milter). Of course all emails are scanned by SA regardless of where they come from: another ...
2
votes
0answers
575 views

How to find a reason why a email is marked 3.5 BAYES_99 BODY

This was discussed before but somehow nowhere is no satisfactory conclusion or solution to this as of now. I am trying to find out why my messages getting marked in http://isnotspam.com with a 3.5 ...
0
votes
1answer
121 views

How to address spam bounce on exceeded quota issue?

I'm investigating a mail server blacklist issue. Our mail server had a user over quota, which resulted in emails being bounced back to senders with a"user over quota" message. Some of these ...
0
votes
1answer
285 views

OpenDMARC RFC5322 requirement error: not exactly one Date field

I've set up an email server for my business, and everything is working fine as long as the email addresses are accessed through Thunderbird. I've got an employee that has a license for Outlook that ...
1
vote
2answers
101 views

Can I usefully convert spamassassin bayes tokens from utf8 CHAR(5) to BINARY(5)?

My spamassassin setup is very old and has been migrated across two machines and multiple mysql reinstalls. I recently noticed that when running sa-learn on messages, I'd get a slew of errors like the ...
0
votes
0answers
193 views

Spamassassin is filtering trusted account

To deal with bad guys trying to send mails with forged From field including @mydomain.tld, I used to have thoses rules in spamassassin/local.cf: trusted_networks my.ip.add.ress score ALL_TRUSTED ...
1
vote
1answer
710 views

SpamAssassin local.cf DMARC configuration recognizes reject and none, but not quarantine

For SpamAssassin 3.4.2 I've added the below configuration ruleset to local.cf with the intent of providing a spam score for failed DMARC tests. The DMARC and SPF Authentication-Results headers are ...
0
votes
1answer
72 views

Spamassassin don't check my mails

I've a problem on my debian 10 server. Spamassassin don't inspect my mail (I've check the headers and send mail spam tests from other domaisn) . The spamassassin daemon is running but something is ...
0
votes
1answer
36 views

Spamassassin fails after reboot due to missing tmpfiles.d entry

The /run/spamassassin directory is not being re-created at boot because there is no /usr/lib/tmpfiles.d/spamassassin file telling it to do so. If I manually create /run/spamassassin and start the ...
0
votes
0answers
94 views

SpamAssassin shows an error of HTML_IMAGE_ONLY_XX. But I do not have an image in my email

SpamAssassin shows that my email is going to spam with the error "HTML_IMAGE_ONLY_20" or "HTML_IMAGE_ONLY_16". From what I read and understood so far, this is because SpamAssassin says my html has an ...
0
votes
1answer
144 views

spamassassin - set custom nameservers, rather than relying on resolv.conf?

Someone suggested to me that you can now set a custom nameserver for SpamAssassin to use when doing RBL/BL checks. Currently I get this error: 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The ...
1
vote
0answers
82 views

Mail going missing with Spamassassin, Postfix and Dovecot

I am setting up a new Centos8 server with Spamassassin, Postfix and Dovecot, ClamAV and Amavis. All was going well until I added a third domain, the first two worked fine for receiving and sending e-...
2
votes
0answers
78 views

Trusting “networks” (IPs) in SpamAssassin by DNS?

I have an IPv6-only server that runs Postfix with SpamAssassin (via Amavisd). I use a trusted relay service so that I can still receive emails from IPv4-only servers. It adds SPF headers for me and I'...
0
votes
0answers
202 views

Postfix: Disable spam filter for outgoing email

My Postfix/SpamAssassin setup is sending out emails with headers from SpamAssassin. How do I stop it? Whitelisting my network/domain doesn't seem to do the trick. How do I tell postfix, to use the ...
0
votes
1answer
185 views

postfix spamassassin transport external system

Running spamassassin locally on mail system is causing load issues. On another system which uses Exim as an MTA shipping mail off to an array of external spamassassin systems was just a one line ...
3
votes
1answer
2k views

Amavis / Spamassassin - FORGED_SPF_HELO and SPF_HELO_PASS

I have a web server that sends out webform type emails via Postfix 3.3.0. No inbound. No extras. Receiving mail server is running same Postfix (but with amavis-new/spamassassin + dovecot/etc). These ...
0
votes
0answers
31 views

SpamAssassin (spamd) server is taking too long to respond?

I have two servers with an instance of Spamd running on both of them. When I connect to one server via Telnet, and run a command, the SA server responds almost instantly. But the second server takes ...
1
vote
2answers
219 views

Which command to send to SpamD to test the connection?

I run a few SpamAssassin servers and I'd like to ensure that they are up and running. Just checking for "service spamassassin status" isn't enough as I had recently the case it was showing "Active" ...
1
vote
1answer
176 views

Spamassasin rule to flag certain MX IPs

I've noticed a flood of spam that is related to the same range of IPs. All the spam email has different HTML text (which is english but meaningless) and a few embedded pictures (which I block) but ...
0
votes
1answer
120 views

How can I configure postfix so all e-mails from php mail will also be scanned with spamassassin?

I see a bunch of articles about how to scan mail in postfix from a certain IP address in the network or via submission, etc. But I think php mail uses sendmail and to inject the mail locally. What ...
0
votes
1answer
202 views

how to reject emails with specific subject on Mail server postfix spamassassin?

I have postfix and spamassassin. recently I found an email with subject "XXX" to all company email addresses and aliases. So I was wondering if I can reject sending emails with specific subject "XXX" ...
0
votes
0answers
34 views

Enable spamassassin only for certain domains

I have a postfix/dovecot/spamassassin mail server with virtual users on mysql. The server have more than one domain. I need a way to leave disabled spammassassin by default and enable it only for ...
1
vote
0answers
52 views

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 ...
0
votes
1answer
92 views

Spamassassin per user database configured but not used

For each e-mail user I want to use his own bayes database. The databases are located at /home/spamd/[domain]/[user], for example /home/spamd/example.com/testuser with 2 files: bayes_seen and ...
0
votes
1answer
377 views

Mail through virtual alias and alias bounced by spamassassin with user unknown

I have the following entry in /etc/postfix/virtual: v2@mydomain.org tibor@mydomain.org, tracking@works-organiser.com tracking@works-organiser.com tracking.tracking@localhost The following entry in /...
0
votes
1answer
109 views

postfix, spam assassin, swiftmailer

Linux webserver, running a local postfix mail server, PHP web systems on apache. Postfix is configured to pass emails to spampd for spam checking but local networks are exempted: smtp inet n ...
2
votes
1answer
299 views

What is wrong with this Spamassassin META rule?

I am 99.99% sure this rule set of rules used to work fine, but has started throwing up errors if the meta rule at the end is uncommented. This appears to be engine related, as it happens in multiple ...

1
2 3 4 5
9