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
1answer
74 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[...
3
votes
1answer
43 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 ...
0
votes
0answers
8 views

Detect specific domain in SpamAssasin rule

I want to give some points for messages that contains HTML links to specific domain. I tried simple rules like: rawbody SC_XYZ /example\.com/ score SC_XYZ 10.0 describe SC_XYZ Spamer or uri ...
1
vote
0answers
48 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
40 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 ...
0
votes
1answer
98 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) ...
0
votes
0answers
167 views

Blocking encrypted emails attachments with Amavis

I'm having a problem with amavis on my Centos 7 machine (amavisd-new 2.12.0, postfix 2.10.1, ISPConfig Version: 3.1dev). I'm trying to configure amavis so that it discards emails with encrypted .zip ...
0
votes
1answer
84 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
votes
1answer
63 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 ...
0
votes
1answer
172 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 ...
0
votes
1answer
44 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 ...
0
votes
0answers
205 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: # ...
1
vote
1answer
389 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 ...
1
vote
1answer
57 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 + ...
0
votes
0answers
125 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
0answers
192 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]:...
2
votes
0answers
883 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
0answers
39 views

Amavis postfix milter: how to warn authenticated users

I have postfix, amavis and amavisd-milter in working order and detecting banned content types and viruses (spam is filtered elsewhere). Incoming mail is handled the way I want: the blocked content ...
2
votes
1answer
2k 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 ...
1
vote
1answer
286 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 ...
2
votes
0answers
86 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 ...
1
vote
0answers
93 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
115 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
1answer
725 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 ...
3
votes
1answer
3k 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
100 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....
0
votes
1answer
328 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'. ...
0
votes
0answers
35 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 ...
2
votes
1answer
376 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 ...
0
votes
1answer
703 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 ...
0
votes
1answer
70 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 ...
0
votes
1answer
332 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 ...
0
votes
1answer
189 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 ...
0
votes
2answers
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 ...
0
votes
1answer
929 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, ...
0
votes
0answers
193 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 ...
0
votes
0answers
893 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 ...
0
votes
1answer
78 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....
1
vote
1answer
4k 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 ...
2
votes
2answers
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 ...
0
votes
1answer
1k 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 ...
0
votes
1answer
249 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 ...
2
votes
0answers
111 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....
0
votes
1answer
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....
0
votes
1answer
166 views

Unable to connect postfix to amavisd in FreeBSD-11 jail

Attempting to send a message through Postfix on a jailed instance of FreeBSD-11 results in the following error when amavisd is configured: /usr/local/sbin/amavisd[47180]: (!)DENIED ACCESS from IP 127....
0
votes
0answers
392 views

Spam from my Debian Stretch server - postfix

I have a huge problem with my Debian Stretch installation. Out of the blue one client email address started sending a huge amounts o spam. My server uses standard configuration. I installed it with ...
-1
votes
1answer
610 views

amavisd-new: fail (bad RSA signature)

After installing IredMail on my Debian 9 server, I followed this tutorial to configure DKIM Add new domain to iRedmail - with DKIM signature. After following all the steps and running the amavisd-new ...
1
vote
0answers
1k views

postfix erro: mail transport unavailable

I install postfix, dovecot, Amavisd, Spamassassin and clamav on FreeBSD 11. I can not receive mail and the log is: Sep 19 16:00:16 t7 postfix/smtpd[1309]: connect from t7.example.com[192.x.x.x] Sep ...
0
votes
1answer
435 views

SA tagging logwatch email as spam

Centos7 Posftfix 3.2.2 Amavisd 2.11.0 spamassassin-3.4.0 I have a logwatch output that gets mailed to me daily. Spamassassin is scoring it high enough as exceed my threshold for whacking it as spam. ...
0
votes
1answer
1k views

Spamassassin - add every header

I am using spamassassin via Amavisd-new. I have amavisd set to include headers on spam and ham messages via "$sa_tag_level_deflt = -9999.0;" 2 questions... a) I want to be sure I am configured to ...