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.

188 questions
1
vote
2 answers

Amavis-new whitelist

Hi to the Linux community. I'm coming from a Windows Server background so have mercy. I'm attempting to whitelist some domains and although I know this isn't the best way of doing so its just a one off for a couple of domains so I thought it would…
pigeon
  • 177
  • 2
  • 3
  • 12
1
vote
0 answers

What are my server-side options for scanning email attachments for words and phrases?

I currently run an email system with Postfix/Dovecot and I am looking for a way to scan the contents of attachments (mainly doc(x) and pdf) for certain words and bounce the email back to the user with a message in case something has been found.…
Mark
  • 11
  • 1
1
vote
1 answer

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 what's happening now Oct 2 22:01:59 wilma…
Mike M
  • 13
  • 3
1
vote
1 answer

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 can't figure out where it's configured. How do I…
philolegein
  • 409
  • 4
  • 12
1
vote
1 answer

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 + Spamassassin + Postfix working for a while, marking…
Neil Smith
  • 111
  • 2
1
vote
1 answer

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 file to 5 minutes to get it to start without…
philolegein
  • 409
  • 4
  • 12
1
vote
0 answers

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-mails. Now I have the very odd problem of mail not…
Imag1ne
  • 225
  • 1
  • 4
  • 9
0
votes
1 answer

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'. I get the following error in bash: Can't connect…
Coanda
  • 141
  • 3
0
votes
0 answers

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 certain domains. I am confused and I do not know if…
David
  • 101
  • 3
0
votes
1 answer

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 email is: Authentication-Results: xxx.xxx.xx…
msc3
  • 1
  • 2
0
votes
1 answer

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 point to the new server 172.17.2.9 in…
W.Jackson
  • 113
  • 5
0
votes
1 answer

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 I get: invalid (public key: invalid data) In…
Janis
  • 1
  • 1
0
votes
1 answer

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 two accounts (B and C) which are registered in the…
lepe
  • 469
  • 2
  • 6
  • 25
0
votes
2 answers

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 7 running Postfix with Amavisd-new and ClamAV…
cora
  • 182
  • 6
0
votes
1 answer

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, attempt #1: Can't connect to socket 127.0.0.1:* using…
guylabbe.ca
  • 77
  • 11