Skip to main content

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
0 answers
17 views

Looking for explanation how SpamAssassin communicates with mail server

Our server runs Exim for MTA and we also installed and activated SpamAssassin under DirectAdmin for all users and mailboxes. Most of our users use Gmail or Apple mail to access the server's mailboxes ...
pavaros's user avatar
0 votes
0 answers
63 views

Add a domain to whitelist for DNSBL check on SpamAssassin

I'm trying to tell SpamAssassin (vX) to not test the DNSBL of a specific domain, but I can't find the proper value in the local.cf file. I have tried the following: trusted_networks mydomain.com # I ...
Cyril N.'s user avatar
  • 626
0 votes
0 answers
46 views

Postfix / Courier / Amavis - Move spam to junk folder

Running Postfix / Courier / Amavis / Spamassassin on my Debian 12 server. Using this setup for quite some time now. Everything is configured and works well (DMARC, DKIM SPF, MTA-STS etc.). Incoming ...
andy's user avatar
  • 101
0 votes
2 answers
232 views

postfix + spamassassin check SPF from the email headers

I have postfix + spamassassin. Spamassassin suppose to check the SPF of the sender, but I received following spam: [email protected] = this is the email on my postfix Return-Path: <leonah@betterway....
Nick's user avatar
  • 882
0 votes
0 answers
370 views

How to upgrade postfix/dovecot/spamassassin/postscreen email server from Ubuntu 20.04 to Ubuntu 22.04?

I am running an Ubuntu 20.04 based LEMP Email server running Postfix, Dovecot, Postscreen, and SpamAssassin. I built the server using this Linuxbabe Guide, and followed the instructions and every ...
DanRan's user avatar
  • 93
0 votes
1 answer
80 views

Spamassassin How to stop domain email containing only numbers?

There are more and more spams coming from domain containing only number like 23821.com. You can see an example in the message header below. Received: from hmdablm ([116.186.123.166]) by 23821.com with ...
PatriceJ's user avatar
0 votes
0 answers
46 views

How to integrate a python script with amavis or spamassasin?

I have an MTA setup with postfix acting as MTA and Amavis acting as content filter; Amavis is configured for using SpamAssassin and Clamav. I have written a Python script that basically analyses an ...
SUNITA GUPTA's user avatar
0 votes
1 answer
179 views

Spamassassin not adding X-SPAM header

I've spent hours on websites, checked config files etc. But can't find the problem. Debian server, with spamassassin and postfix. Spamassassin is enabled (checked it on command line). In the mail.log, ...
Recif's user avatar
  • 153
0 votes
0 answers
51 views

"mail spamd[495361]: internal error, python traceback seen in response" on Ubuntu 20.04 when receiving email from gmail. How to debug and fix?

I am running Ubuntu Server 20.04 on a Raspberry Pi. It is set up as a web/email LEMP server. When I send an email from my gmail account to a an email address on my LEMP server, I get an error from ...
DanRan's user avatar
  • 93
1 vote
1 answer
147 views

Postfix permit_sasl_authenticated before content_filter

I have a postfix + dovecot + spamassassin setup which works great, but I would like to bypass all outgoing messages (sasl authenticated) from spam filtering. I must do something wrong, because I ...
Darwick's user avatar
  • 121
0 votes
0 answers
220 views

Moving Spam to Spam folder ( postfix-courier imap, spamassassin)

I've a mail server that supports virtual-users on mysql with ( courier-imap , postfix , spamassassin, amavis) For every new user my server creats dirs like (inbox, drafts, sent, trash) In /home/...
Mailserveradmin's user avatar
0 votes
1 answer
393 views

Where can i find explanation of a SpamAssasin scores like SPOOFED_FREEMAIL?

I can define custom scores for SpamAssasin, default one seems to be zero and it makes me wonder if i should raise it, but before doing so, where can i find detailed information on how these particular ...
16851556's user avatar
  • 536
0 votes
0 answers
71 views

How disable Postfix do not sent auto answer email to sender if the mail is spam?

Debian, Postfix, Spamassassin. When postfix receive spam, postfix sent answer: 550 5.7.1 Blocked by SpamAssassin. I can't disable it. How to not reject, but silently drop spam message? I don't want ...
Marvin's user avatar
  • 71
1 vote
0 answers
374 views

Most Incoming Emails are not being processed by SpamAssassin

Incoming emails are mostly unchecked by SpamAssassin, although we can see in the headers that they were checked with Amavisd-new for viruses. We've tried many things to fix it, including asking ...
Peter White's user avatar
0 votes
0 answers
79 views

Multi-message anti-SPAM filter in SpamAssassin

My vendor's database has been stolen and I started to receive spam messages in a huge amount. It is being sent by spambots / spam scripts, so sender and recipient email addresses are always fake. The ...
trejder's user avatar
  • 163
0 votes
1 answer
132 views

procmail's logging helped me get one account's .procmailrc working, but two other accounts don't work and don't log); having difficulty diagnosing

As a site that has a number of users who are "technologically challenged", and as the system mangler, it's fallen on me to solve the spam problem for us all. So, SpamAssassin's doing a fine ...
Richard T's user avatar
  • 1,302
1 vote
1 answer
705 views

Postfix/Spamassassin/Milter error

I set up a postfix email server following an article series from the linux babe for my company and it seems to be working fine with a couple of exceptions. In the maillog I am seeing the following ...
phyre's user avatar
  • 11
0 votes
1 answer
682 views

Spamassassin not scoring correctly

I have Spamassassin running on a Ubuntu/Plesk server. It was working relatively well until recently but now seems to be letting through random spam messages. These messages seem to trigger plenty of ...
Chris Leather's user avatar
0 votes
0 answers
200 views

Ubuntu 20.04 Server spamassassin/spamd "internal error, python traceback seen in response." No additional info. How to debug and fix?

On Ubuntu server 20.04, I am running spammassassin/spamd, postfix/dovecot. In my mail logs at /var/log/mail.log I am getting a spamd internal error, python traceback seen in response error as shown ...
DanRan's user avatar
  • 93
1 vote
0 answers
158 views

How to disabled X-Spam header rewrite in WHM?

I need some help with the settings on my cpanel WHM. I want to disable the options to stop rewriting the X-Spam in the header. When I send the spam emails for a test, I'm getting this: X-Spam-Subject: ...
chris oojer's user avatar
1 vote
1 answer
397 views

How to whitelist our own outgoing emails from being blocked in amavis/spamassassin using Spamhaus' block lists?

Just after we implemented spam filtering on our Postfix server using spamassassin-dqs through amavisd-new we drastically reduced received spam, but to our surprise our own outgoing e-mails are being ...
Claudio's user avatar
  • 179
0 votes
1 answer
810 views

RCVD_IN_DNSWL_BLOCKED in SpamAssassin as it doesn't use local DNS

I'm not sure what I have wrong here. It used to work on Ubuntu 18.04, but doesn't on 20.04 it seems. I have unbound DNS server setup: unbound-control status version: 1.9.4 verbosity: 1 threads: 1 ...
Andrew Newby's user avatar
  • 1,184
0 votes
1 answer
150 views

spamassassin complaining twice a week: cannot open file

Our postfix/spamssassin complains irregularly but at lease twice a week via mail with the following message: /etc/cron.daily/spamassassin: Cannot open file /var/lib/spamassassin/3.004002/...
Heiner's user avatar
  • 15
0 votes
1 answer
88 views

Spamassassin ignores spam in multi-part email

Sometimes my email server gets multi-part emails where the embedded email is detected as spam, but the containing email gets a score of 0. So the message is marked as SPAM but not moved to the ...
Chris's user avatar
  • 1
2 votes
1 answer
582 views

spamhaus sbl error 3.64.1.98 — blocked using sbl.spamhaus.org; Error: open resolver

For I don't know how long — maybe a decade — I've had the following in my postfix configuration: smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes....
philolegein's user avatar
0 votes
1 answer
658 views

Email goes to spam even with valid SPF, DKIM and DMARC records, dynamic rDNS on AWS instance

I have an instance on AWS and fighting with sending emails through cPanel. All records are OK (checked on MX toolbox): SPF, DKIM, DMARC at the cPanel level and the WHM level (hostname). Even rDNS is ...
Adrian P.'s user avatar
  • 101
0 votes
0 answers
144 views

Prevent Exim from sending spam

I have an Exim server for our application and I noticed malicious users registering with our app to send bulk spam. I know that Exim has the ability to integrate with SpamAssassin to prevent the ...
Tom's user avatar
  • 289
0 votes
1 answer
93 views

How to tell if spamc in .procmailrc is reading user_prefs?

I have some mail accounts on a Postfix server on Ubuntu 18.04 that have the following in the .procmailrc files in their home directories: # LOGFILE=$HOME/procmail.log SHELL=/bin/sh :0fw | spamc :0 * ...
TommyPeanuts's user avatar
2 votes
1 answer
1k views

spamass-milter[1403]: Could not retrieve sendmail macro "i"!. Please add it to confMILTER_MACROS_ENVFROM for better spamassassin results

I am running an Ubuntu 20.04 based LEMP server on a Raspberry Pi. Installed on it is postfix/dovecot/amavis/spamassassin. When I look at my mail.err logs by running the following command: cat /var/log/...
DanRan's user avatar
  • 93
0 votes
1 answer
476 views

Using both SpamAssassin and postscreen in Postfix

I'm trying to set up an MX mail server using Postfix, postscreen and SpamAssassin. According to the SpamAssassin documentation, I have to add -o content_filter to the smtp service in master.cf. This ...
jornane's user avatar
  • 1,246
0 votes
0 answers
2k views

DKIM_INVALID in Spamassassin only for emails sent from other emails in the same server

I have postfix/dovecot running with spamassassin on Centos. PROBLEM: The VPS acts as a mail server Spamassassin edits the email subject and adds [SPAM} Ms. Outlook on Windows moves those emails to ...
Pikk's user avatar
  • 359
0 votes
1 answer
115 views

Qmail bounce using spamassassin

I have a qmail / spamd / clamd server and it’s recently started bouncing emails with a code 553. Spamhaus is sayings it’s an open relay problem on their message to the user. Has anyone come across ...
MB.'s user avatar
  • 121
0 votes
1 answer
338 views

SpamAssassin rule for emails with multiple TO email addresses?

I'm getting pummelled my spammers who are sending emails that don't really score for some reason: X-Spam-Score: 5 X-Spam-Bar: / X-Spam-Report: Spam detection software, running on the system "...
Andrew Newby's user avatar
  • 1,184
0 votes
2 answers
6k views

unknown domain "pl.d.sender-sib.com" and "gmail.com" under /var/vmail/ on ubuntu server 20.04 running postfix/dovecot/spamassassin/amavis

I am running postfix/dovecot with spamassasin and amavis on Ubuntu server 20.04. I am also using this server as an LEMP Wordpress server. I have configured everything (email wise) according to ...
DanRan's user avatar
  • 93
0 votes
1 answer
1k views

SMTP relay with FQDN, but SpamAssassin marks FSL_HELO_NON_FQDN_1 and HELO_NO_DOMAIN

my mail provider (posteo.de) offers an FQDN during the HELO/EHLO exchange (e.g. mout2.posteo.de) – which is seen by policyd-spf (s. below) – but SpamAssassin on a receiving server marks the relay as ...
janeden's user avatar
  • 267
1 vote
0 answers
108 views

spamassasin unable to read Japanese when it is html encoded

I would like to block some emails which contains certain Japanese words, but spamassassin fails to detect such words when the email is HTML encoded, for example: This is a multi-part message in MIME ...
lepe's user avatar
  • 469
2 votes
1 answer
2k views

SpamAssassin: custom rules and score

For my mailserver, i want do add some custom rules and scores for spamasassin DKIM and SPF checks. Currently i use following custom settings: score DKIM_SIGNED 0 score DKIM_VALID -1 score ...
Tim Altgeld's user avatar
1 vote
1 answer
1k views

Postfix not accepting recipient address: connect to private/policy: Connection refused

I thought I'd be clever and add amavis/spamassassin/clamav to my working Postfix installation. I got it working and then made a change. Walked away, had a beer, then found out I'd mucked up. This is ...
Mike M's user avatar
  • 13
0 votes
1 answer
2k views

How it works content_filter in Postfix using spamassassin and clamav ( filtering order )?

How it works content_filter in case where is used spamassassin and clamav ? Here is example for one content_filter: http://www.postfix.org/FILTER_README.html And I see that sendmail command cant use ...
Macsurf's user avatar
  • 51
0 votes
1 answer
668 views

Rule to deal with fake "reply-to" field

It would be impossible to be anymore of a newbie than I am dealing with SA and rules etc..etc.. I am having an issue and have searched high and low on the net and I get some info that sort of seems to ...
BKKcanuck's user avatar
0 votes
1 answer
279 views

sendmail /etc/mail/access REJECT based off of keyword and TO: field

someone placed my email to a weird list and i get 100s of messages each day. I want to block the word "Unsubscribe" in all body emails address to [email protected] To:[email protected] error:...
user3265051's user avatar
0 votes
1 answer
2k views

Amavis and Spamassassin error with '.pre' files (using iRedMail)

I installed iRedMail which would install amavis and spamassassin. When I test sending and receiving email, I have an error in the /var/log/mail.log, I see this line of error: postfix/amavis/smtp[...
Mahsa's user avatar
  • 111
5 votes
1 answer
566 views

How to match Japanese in spamassassin?

I live in Japan. Recently there has been a lot of spam coming from China with messages written in Chinese. As spamassassin does not contain rules for Chinese, most of those emails pass with low score. ...
lepe's user avatar
  • 469
0 votes
2 answers
2k views

Wouldn't setting the DNS server to 127.0.0.1 prevent my system from actually resolving remote hosts? I found this answer

Wouldn't setting the DNS server to 127.0.0.1 prevent my system from actually resolving remote hosts? My business email server has the DNS set to the ISP given DNS servers. My Spamassassin is giving ...
Altimus Prime's user avatar
11 votes
2 answers
47k views

How do I prevent the SPF_HELO_NONE warning when sending from Postfix?

When using a tool like https://dkimvalidator.com/ to verify configuration of DKIM, SPF, DMARC, etc. for sending mail from a web server, I get a warning like this: 0.0 SPF_HELO_NONE SPF: HELO does not ...
Walf's user avatar
  • 438
0 votes
1 answer
1k 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 ...
Monolithys's user avatar
-1 votes
2 answers
348 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 ...
Emilia's user avatar
  • 1
0 votes
1 answer
441 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 ...
Ertain's user avatar
  • 1
1 vote
1 answer
311 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 ...
philolegein's user avatar
0 votes
1 answer
392 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 ...
francisaugusto's user avatar

1
2 3 4 5
10