Questions tagged [amavis]

Amavis is an open source content filter for electronic mail, implementing mail message transfer, decoding, some processing and checking, and interfacing with external content filters to provide protection against spam, viruses and other malware. It can be considered an interface between a mailer (MTA, Mail Transfer Agent) and one or more content filters.

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

Postfix BANNED CONTENTS ALERT how to add allow rule?

I have a web server which is run a postfix email server and is controlled by ISPConfig. My email domain: mydomain.com Also, I wrote some services on Python which is run on the same server and in some ...
user avatar
-3 votes
0 answers
42 views

Postfix + amavis + SA whitelisting spam emails

Home email server on CentOS 7.9, so playing whack-a-mole with these folks - and it's starting to annoy me and there has to be something I'm overlooking. The Return-Path is empty, the From: is me (...
user avatar
0 votes
1 answer
30 views

Amavis + Monit: "Error receiving data from the mailserver -- Resource temporarily unavailable "

Good morning folks, I'm often getting these monit alerts, about once or twice a day: Connection failed Service amavisd Date: Wed, 20 Jul 2022 09:04:58 Action: restart Host: (hidden).com Description: ...
user avatar
0 votes
1 answer
54 views

Why does status says it's dead and subsys locked, but it still running without issue?

Whenever I start Amavisd, the reports starting OK, but a status check says it's dead. $ service amavisd start Starting amavisd: [ OK ] $ service amavisd ...
user avatar
  • 148
0 votes
0 answers
127 views

How to unblock email using Postfix & Amavis

I have taken over a system using Postfix & Amavis. A email that a user is trying to receive is being blocked: amavis[19881]: (19881-07) Blocked BANNED (.exe,.exe-ms,[trash]/0000.dat) {...
user avatar
  • 317
0 votes
0 answers
112 views

Amavis error in /var/log/mail.err "mail amavis[2768]: (02768-01) (!!)AV: ALL VIRUS SCANNERS FAILED"

I am running an Ubuntu LEMP server with postfix/dovecot, as well as clamscan, amavis, and spamassassin. As of now, everything is working just fine. However, I am glancing over my mail error logs ...
user avatar
  • 63
0 votes
0 answers
149 views

Amavis Configuration on Ubuntu 20.04 / Port 10025 already in use

i try to configure amavis on my ubuntu 20.04 with working postfix and kopano. Postfix crashes with the following error: Jan 10 11:23:52 mail postfix/postfix-script[143585]: fatal: cannot execute /usr/...
user avatar
1 vote
1 answer
232 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 ...
user avatar
  • 13
0 votes
1 answer
50 views

Where is the definitive home for amavisd-new-2.12?

I have amavis installed from epel, and it reports # systemctl status amavisd ● amavisd.service - Amavis mail content checker Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled; vendor ...
user avatar
0 votes
0 answers
81 views

show errors from mail.log using pflogsumm

I have random instances where clamav gives this error, and ends up droping emails, on posfix. The below command shows the following output, Cat /var/log/mail.log | grep clamav Sep 17 01:10:11 mail ...
user avatar
0 votes
1 answer
660 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[...
user avatar
  • 101
3 votes
1 answer
157 views

Posftwd is double counting emails when used with Posftix and amavis

Our Postfix mail server uses Amavis with spam assassin for spam and virus scanning. We have it setup in a way , postfix forwards mail to amavis and amavis then re queue the email back to postfix to ...
user avatar
1 vote
0 answers
145 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 ...
user avatar
0 votes
1 answer
224 views

xlsx extension file blocked in zimbra

So the issue is that i have been trying to send a mail from my server with xlsx file extension attachment but zimbra rejects the mail giving a message content is band BANNED CONTENTS ALERT Our ...
user avatar
0 votes
1 answer
184 views

AMAVIS discarding emails instead of tagging them or moving them to quarantine

I'm seeing many emails being discarded from my system. I'm per-user policies and have the following options set: spam_tag_level = -9999 spam_tag2_level = 7 (roughly - it changes on a per-user basis) ...
user avatar
  • 1
0 votes
1 answer
284 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 ...
user avatar
-1 votes
1 answer
152 views

Postfix removes "friendly" Email

I'm running Postfix, Dovecot and Amavis on Debian. Somehow an email from a colleague wasn't delivered and I started to search the logs. Here is what I've found. I don't know where the problem is. My ...
user avatar
  • 1
0 votes
1 answer
384 views

multipart/mixed content type and boundary refused by Amavis

I'm writing a Ruby script that send SMTP email. The email is divided onto 3 parts: headers, body and attachment. Unfortunatly, I'm struggling to satisfy an Amavis requirement: properly writing the ...
user avatar
  • 121
0 votes
1 answer
112 views

Postfix checks the message in Amavis even for non-existent mailboxes

Here is my problem: My email address is for example something1@domain.com. Everything is ok when Postfix receives email for address something1@domain.com. But spammers often use random mailboxes, for ...
user avatar
  • 1
0 votes
0 answers
667 views

Setting UMask in systemd override.conf is ignored

I'm using amavisd on fedora33 and trying to change the file permissions on the socket it creates so nagios and nrpe can read the file in the amavis group. The file permissions currently are as such: # ...
user avatar
2 votes
1 answer
970 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 ...
user avatar
  • 389
1 vote
1 answer
163 views

Notifications from Amavis don't have addresses mapped by Postfix

After Amavis sends a message to $spam_admin, how do I get Postfix to apply the address rewriting in virtual_alias_maps before handing the message off to my local delivery agent? I've had Amavis + ...
user avatar
0 votes
0 answers
407 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]:...
user avatar
3 votes
1 answer
3k 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, ...
user avatar
  • 31
3 votes
1 answer
3k views

OpenDKIM won't start: "opendkim: milter socket must be specified"

I'm trying to setup a server using postfix, dovecot, amavis and opendkim for signing. OpenDKIM won't start, here is the output of journalctl -xe, after stopping and starting opendkim: Jul 21 21:54:17 ...
user avatar
1 vote
1 answer
514 views

How to speed up clamd@amavisd launch / get it to "start" on Amazon Linux 2

I recently upgraded clamav from I'm not sure which version, but whatever was current on EPEL on February 13th, to 0.102.3. Under the previous version, I had to set TimeoutStartSec in the systemd conf ...
user avatar
2 votes
0 answers
206 views

E-mail body changed after DKIM signing

I've got a postfix e-mail server which uses amavisd-new for virus scanning, spam checking, DKIM checking and DKIM signing. I'm having issues with the DKIM signing in particular. Amavisd-new signs the ...
user avatar
  • 21
1 vote
0 answers
182 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-...
user avatar
  • 225
2 votes
0 answers
272 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'...
user avatar
  • 155
0 votes
1 answer
1k views

SOLVED: Amavis and dkim signature on incoming mails: header.s ignored

I am a little bit confused with how amavis process incoming mails. The Postfix service on my Zimbra server is configured to sign outgoing mails. And it works like a charm. Problem is mails sent to ...
user avatar
  • 121
3 votes
1 answer
5k 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 ...
user avatar
  • 959
0 votes
0 answers
107 views

Mail server Setup is not Working On Mac Osx

Hello I have configured postfix server on mac server version 10.14.6 along with the dovecot,clamav and amavisd bu the mail server is not working its showing the following error: connect to 127.0.0....
user avatar
  • 1
0 votes
1 answer
576 views

Amavis release uses UNIX socket instead of inet tcp socket

I try to release an email out of the quarantine with Amavis-new using: sudo /usr/sbin/amavisd-release MAIL_ID SECRET_ID where MAIL_ID and SECRET_ID are ids found in the database table 'quarantine'. ...
user avatar
  • 131
0 votes
0 answers
43 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 ...
user avatar
  • 101
2 votes
1 answer
731 views

Postfix does not pass mails to Amavis, when received from Z-push

Im kind of staring myself blind in how get ActiveSync to work correctly with my mailserver, so maybe anybody here have an idea? The deal is mailserver is hosting four domains and I want that all sent ...
user avatar
0 votes
1 answer
905 views

How to cut-off spam (postfix+amavis-new)

I'm using postfix+dovecot+amavis-new+clamav+spamassassin+postgrey on my Ubuntu based VPS. Since some days i'm receiving a lot of spam, with a low level of spam score in headers. Common for all spam ...
user avatar
  • 1
0 votes
1 answer
115 views

Postfix (Maia Mailguard) relayhost update ignored

I have a postfix mail server used in conjunction with Maia Mailguard, Amavis, and clamav for spam. I've upgraded the primary mail server and it has a new IP address. I change main.cf and transport to ...
user avatar
  • 113
0 votes
1 answer
460 views

Debug DKIM on MacOS X

I am setting up DKIM on MacOS X/Server using Amavis-new. Everything seems ok, by when I try to test it using sudo -u _amavisd -H amavisd -c /Library/Server/Mail/Config/amavisd/amavisd.conf testkeys ...
user avatar
  • 1
0 votes
1 answer
260 views

Postfix/Amavis : send group messages separately and do not fail if one recipient fails

Background: We have a online shop which is using a SMTP server to send messages. When a customer place an order, the system sends the confirmation to the customer's address (A), and a copy to other ...
user avatar
  • 466
0 votes
2 answers
1k views

clamd socket error in conjunction with amavisd (used for postfix) on CentOS 7

I can't seem to figure out a problem after a few hours of trouble-shooting and looking for similar cases. Like ohter email servers in the exact same configuration, the affected one is based on CentOS ...
user avatar
  • 162
0 votes
1 answer
2k views

Amavis : Can't connect to socket 127.0.0.1:* using module IO::Socket::IP: Connection refused

Trying to debug mail server, now I get this error which I feel should be the cause of the server not working : Mar 17 15:06:24 ks4000003 amavis[2001]: (02001-01) (!)connect to 127.0.0.1:* failed, ...
user avatar
0 votes
0 answers
369 views

Postfix defers mails - Amavis not running on port 10024

I recently upgraded from Debian Squeeze (6) to Jessie (8) and the mail server seems to be broken. I did not change anything in the Postfix config and everything was working fine before. From what I ...
user avatar
0 votes
0 answers
1k views

Amavis decide_mail_destiny crash

After upgrading to FreeBSD 12 I'm experiencing issues with amavis from time to time. The reason for the crash in unclear for now. A simple kill -9 $amavispid && service amavids start does ...
user avatar
  • 485
0 votes
1 answer
101 views

How to interpret the debug output from Amavis->Spamassassin?

Could please someone explain how Spamassassin build the following strings: Oct 17 14:00:30 server amavis[29497]: (29497-02) SA dbg: uridnsbl: domain amazonaws.com in skip list, host sns.eu-central-1....
user avatar
  • 245
1 vote
1 answer
6k views

how to whitelist domain on amavis?

i have some troubles recieving mails from specific domains. My server recieves mails from gmail for example no problem. Tried a bunch of guides to whitelist sender domain but still get the same ...
user avatar
2 votes
2 answers
2k views

Postfix - Rspamd + amavis

Currently I have Postfix with Amavis, Spamassassin, Clamav and all the bells and whistles up and running. I would like to add RSpamd to the configuration, I don't want to replace Amavis, just keep ...
user avatar
  • 45
0 votes
1 answer
3k views

Amavis won't start on systemctl

I have a fresh install of Ubuntu 18.04.1 that I have installed ISPConfig 3 on. I've done this same install multiple times with no problems. For some reason this time Amavis won't start at all using ...
user avatar
  • 188
0 votes
1 answer
341 views

Postfix/Amavis not filtering spam for entries in second domain

My postfix installation is working correctly (delivery via dovecot, spam filtering via amavis - spamassasin). I have some aliases in virtual, eg: info@mydomain2.com johnDoe However, for the ...
user avatar
  • 155
2 votes
0 answers
154 views

Email messages arrives without DKIM, and as spam, when I send from a specific network

In a specific case, when I send an e-mail message through thunderbird, the message arrives without the DKIM key and identified as spam at the source: X-Virus-Scanned: amavisd-new at mailserver....
user avatar
0 votes
1 answer
2k views

Configure Amavis with custom spamassassin rules

How can I configure Amavis to apply specific rules from SpamAssassin, like score MISSING_SUBJECT 30 from Blocking empty subject line emails from being sent or received? I run Amavisd-new 2....
user avatar