Skip to main content

All Questions

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

Why does the SpamAssassin not insert some headers?

Trying to configure SpamAssassin 4.0.0 with Postfix 3.7.10 on Debian 12. I'm using spamass-milter 0.4.0. My /etc/spamassasin/local.cf has the following entries: required_score 5.1 ...
thomson's user avatar
0 votes
0 answers
47 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
239 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
373 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
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
186 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
150 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
226 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
0 answers
73 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
381 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
1 vote
1 answer
717 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
0 answers
201 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
1 answer
403 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
151 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
89 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
608 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
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
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
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
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
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
-1 votes
2 answers
349 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
393 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
0 votes
1 answer
778 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 ...
TommyPeanuts's user avatar
1 vote
0 answers
95 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 ...
Nick's user avatar
  • 882
1 vote
0 answers
239 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 ***...
LightFelicis's user avatar
1 vote
1 answer
271 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 ...
Corby Jurgens's user avatar
2 votes
1 answer
2k 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 ...
chmike's user avatar
  • 448
0 votes
1 answer
831 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....
chmike's user avatar
  • 448
0 votes
0 answers
682 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]:...
UnlegitApple's user avatar
4 votes
1 answer
6k views

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

I am trying to find out why my messages getting marked in http://isnotspam.com with a 3.5 BAYES_99 BODY score. It is nice that the report shows "SpamAssassin Check : ham (non-spam)" However, ...
Thom's user avatar
  • 41
0 votes
1 answer
472 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 ...
Jérôme's user avatar
  • 645
1 vote
1 answer
2k 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 ...
Zalerinian's user avatar
0 votes
1 answer
243 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 ...
Guille GM's user avatar
1 vote
0 answers
288 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-...
Imag1ne's user avatar
  • 235
2 votes
0 answers
976 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 ...
László Stahorszki's user avatar
0 votes
1 answer
400 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 ...
dataondeck's user avatar
0 votes
1 answer
231 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 ...
Mikey A. Leonetti's user avatar
1 vote
1 answer
1k 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" ...
Ahmed Reda's user avatar
0 votes
0 answers
66 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 ...
David's user avatar
  • 101
1 vote
0 answers
214 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 ...
San's user avatar
  • 11
0 votes
1 answer
916 views

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

I have the following entry in /etc/postfix/virtual: [email protected] [email protected], [email protected] [email protected] tracking.tracking@localhost The following entry in /...
Tibor Nagy's user avatar
0 votes
1 answer
296 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 ...
Nik Dow's user avatar
  • 111
1 vote
1 answer
868 views

Dovecot/Postfix Forwarding with spamassassin not working (status=bounced (user unknown))

On Debian 10 I've set up Dovecot and Postfix with Spamassassin working just fine, but when I try to set up forwarding to a remote e-mail with virtual alias, the message bounces. I tried both of the ...
simernes's user avatar
  • 121
1 vote
1 answer
2k views

I have set up Spamassassin. Only outgoing emails are scanned by spamassassin and not incoming ones

I have set up spamassassin with postfix. The problem is I tried testing the spamassassin default filter by sending the GTUBE spam test email from gmail to my mail server. Spamassassin is not even ...
Rahul Biswas's user avatar
0 votes
2 answers
2k views

How to REJECT email using SpamAssassin

Is it possible to reject emails, like it is done in Postfix using header_checks, using SpamAssassin? Normally, the SpamAssassin only adds the spam flags and by default adds the word SPAM in the ...
Kaf's user avatar
  • 179