Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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 (...

0
votes
0answers
25 views

Postfix check_recipient_mx_access not working

My postfix install relays for quite a few different domains but I would like it to just shove all messages from one domain, destined for any Google MX's through the Google G-Suite relay service. In ...
0
votes
1answer
30 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
21 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
82 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 ...
0
votes
0answers
88 views

Configure postfix to DKIM-sign command line/system mail?

I'm running an internal (low-volume) mail server (via macOS Server.app 5.5) that uses amavisd-new for DKIM signing. I'm not running this to provide email services for users...I'm only using it in an ...
-1
votes
1answer
132 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 ...
0
votes
0answers
46 views

amavis doesn't fint MariaDB library

I installed and configured postfix, dovecot, clamav, etc under Debian 9 and I'm trying to start amavis but I get that nasty error. Sep 21 17:04:51 test.local amavis[31020]: Can't load '/usr/lib/...
0
votes
0answers
58 views

How config amavisd to check white/blacklist in a remote server?

In my amavisd config, I have this: @lookup_sql_dsn = ( ['DBI:mysql:database=mydb;host=127.0.0.1;port=3306', 'myuser', 'mypass'] ); $sql_select_policy = 'SELECT *,spamfilter_users.id'. ' ...
1
vote
0answers
233 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
64 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
137 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 ...
0
votes
1answer
242 views

In mac OS Server, why don't virus & filtering settings seem to have any effect?

In mac OS Server, when configuring the Mail service, it is possible to configure the virus & junk mail filtering settings. It's just a GUI front-end for clamav, amavis, spamassassin, greylisting, ...
0
votes
1answer
401 views

Debian Jessie, Postfix + amavisd-new + spamassassin: not sure if Bayes works

Dear polite people in this forum, I've recently migrated to a new mailserver. As the hardware "age gap" was too large, it would be difficult to simply upgrade from Debian Squeeze to Jessie at the ...
0
votes
0answers
37 views

Horde Web-Mail classified as UBE

I run a postfix, amavis-new, dovecot setup for mail service on my LAN, which works nicely for a long time. I recently added a horde imp server in my DMZ - actually behind IPv4 NAT using port ...
2
votes
1answer
898 views

What to do with SpamAssassin after installing Amavis?

As far as I know, Amavis has SpamAssassin on his own (I think Perl Mail::SpamAssassin). Before installing Amavis, I was using SpamAssassin binary and daemon (spamc and spamd) plugged into MTA (...
1
vote
1answer
2k views

Error with clamd amavisd CentOS 7

I am getting issue with clamd and amavisd please see error message below I am running an email server on CentOS 7.3..... amavisd and clamd seems working fine, but they keep jump up with errors every ...
1
vote
0answers
49 views

sweep command running in postfix mail server

I have installed postfix with amavis on Redhat. Also, I have configured AV scanner as well in amavis to counter mail viruses. Whenever I see top command result, I find a lot of instances of sweep ...
1
vote
0answers
79 views

route all spam to a specific account with amavisd-new and SpamAssassin

I've just set up an MTA using postfix, amavisd-new and SpamAssassin (and ClamAV but not relevant for this question). This MTA sits in front of our mail server and handles scanning of mail for spam and ...
0
votes
1answer
171 views

Amavis crashing for unknown reason

Amavis is crashing for an unknown reason. Luckily, we have Monit installed and it restarts the service within a minute, but that's just a bandaid on the issue. We need to fix the real problem. Right ...
1
vote
0answers
64 views

Outgoing mail runs into a series of spamd errors

I've got a mail setup using postfix and dovecot, with spamassassin, clamav and amavis. Incoming mail contains the correct X-Spam* headers and everything appears to be operating more or less correct, ...
0
votes
2answers
373 views

Postfix with Amavis returns “name=localhost type=A: Host not found” in mail.log

Full error: Dec 23 19:44:31 example.com postfix/pickup[5589]: 39332276875: uid=0 from=<fredflinstone> Dec 23 19:44:31 example.com postfix/cleanup[5605]: 39332276875: message-id=<...
0
votes
1answer
154 views

AMaViS Quarantine Emails Bouncing

I'm at my wits end here. I've set up AMaViS and ClamAV and linked them in to Postfix. Everything seems to be working fine. Except the quarantine emails are not being delivered and I can't work out why....
1
vote
1answer
354 views

amavis/spamassassin not processing URIBL_DBL_SPAM or RCVD_IN_SBL_CSS - SOMETIMES

I have a mail server set up using iRedMail, which uses postfix, mysql for virtual domains, amavis-new, spamassassin, and a few other tools. There is a lot of spam that is getting through the spam ...
-1
votes
1answer
109 views

spamassassin + amavisd not filtering

My problem is: my spamassassin look like not working at all, no X_SPAM header adding for email, GTUBE test failed, i dont know exactly , but seem's like it's broken after installing spamassassin ...
2
votes
2answers
1k views

Postfix before-queue spam reject with amavis without sending out a bounce on OS X Server

This is a stock OS X 5.2 Server mail configuration which I'm trying to change to make it reject a spam message with a "554 5.7.0 Reject" before accepting it without sending out any additional non-...
6
votes
5answers
16k views

clamav error: mpool_malloc(): Attempt to allocate 8388608 bytes

Following error is showed when starting clamd; freshclam[26882]: [LibClamAV] mpool_malloc():Attempt to allocate 8388608 bytes. Please report to http://bugs.clamav.net I have lots of RAM memory ...
0
votes
1answer
160 views

/usr/sbin/amavisd-new - why is pcmd/regex not working for this command in csf.pignore?

For some reason I cannot get CSF's LFD (/etc/csf/csf.pignore) to ignore amavisd-new running via perl. The daemon runs via /usr/bin/perl /usr/sbin/amavisd-new (some mode) however it seems that when I ...
0
votes
1answer
144 views

amavisd-new freezes: “Address already in use”

I have a mail server setup running on my Debian Jessie VPS which includes postfix, amavisd-new, SpamAssassin and a few other services. All in all it seems my setup works pretty well and handles ...
1
vote
1answer
5k views

Postfix/Amavis 451 4.3.0 : Temporary lookup failure

I am trying to set up a postfix server to prevent spam/malware. The server should reject incoming mail, that is suspicious, otherwise send it on to the actual mailservers which are listed in ...
0
votes
1answer
110 views

Mail server - Amavis with 7zip

After 1,5 year with working mail server on Ubuntu 14.04 I've experienced strange amavis logs listed below: http://pastebin.com/RwbNw78f Mail server is: Postfix + Dovecot + MySQL + Amavis + ClamAV + ...
0
votes
1answer
604 views

Postfix can not receive mail with error: amavis[15499]: () (!)DENIED ACCESS from IP x.x.x.x, policy bank

My mail server ran very well. But after my setting an OpenConnect VPN on the mail server, I found the server could not receive mails from outside. For example, my host IP is 1.2.3.4 I did tail -f /...
0
votes
1answer
656 views

Connection refused by AMAVISD-NEW

I found here many information to set a AWS server on my own. I installed the DKIM patch and it's work great, but now I can't send mails. I had already problems sending mails, but now are deeper. Some ...
3
votes
1answer
96 views

amavisd-new rescans quarantined mails

iam using Opensmtpd on a 14.04.4 LTS Ubuntu with amavisd-new as Mailscanner. We configured the quarantine so it sends the Virus-Mails to an external mailbox. This works fine until the point amavis has ...
0
votes
1answer
104 views

Block unauthorised users from sending mail

I am using ubuntu server with postfix, ispconfig as control panel. I am using a mail relay server from mailjet. I am getting notification from them like Emails sent from this sender will not be ...
3
votes
1answer
2k views

Problems whitelisting senders in Amavis-new

I've a CentOS6 server with Amavis 2.9.1 + Postfix 2.6.6 + clamav 0.99 that I use as mail relay (aka mail gateway), with network set as follow: eth0 (10.10.132.104) as external inteface eth1 (10.10.133....
1
vote
1answer
2k views

Postfix block double extensions in archive attachment

These days I have problems with trojans in attachments like: //EZuS.zip//invoice_scan_xcFSuO.xls.js contains a potentially infected object HEUR:Trojan-Downloader.Script.Generic. //TuxX.zip//...
1
vote
1answer
685 views

Scan outgoing Postfix email for spam with Spamassassin

Is there a way to filter outgoing Postfix email for spam possibly with Spamassassin? I found this answer about how to do it with Amavis but it's terribly outdated.
0
votes
4answers
768 views

Excessive emails are going into spam folder

Spam scores are above 5 (my threshold)! X-Spam-Status: Yes, score=5.924 tagged_above=-9999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_IMAGE_RATIO_02=0.805, HTML_MESSAGE=0.001, ...
2
votes
1answer
938 views

Amavis not found by Postfix

I'm having this super annoying Postfix problem. I did a clean install of my web/mail/everything server and configured ISPConfig 3. Everything right now is working, except for Postfix. I can't send or ...
3
votes
2answers
454 views

Dealing with spam flood in Postfix + Amavis

I run a mail server for several thousand users. It uses Postfix + Amavis (with SpamAssassin + Clam). Most of the time it's a pretty happy setup, but from time to time we receive a flood of virus/...
1
vote
1answer
58 views

Replace asterisks in x-spam-level by different character

Is it possible to have Amavis use something else than the * character for the X-SPAM-LEVEL header (preferably the x character) – and if so, how to accomplish that? TL;DR Background: while the power-...
-1
votes
1answer
101 views

Ubuntu Mysql stop working after outofmemory in a clamscan, mysqld.sock

I'm having daily problems with postman with autentification througth mysql on my Ubuntu14LTS Server. I think the problem arrise after a clamscan scron that breaks in an Out of Memory. In some way ...
3
votes
2answers
211 views

How can I fire off a script every time a particular user receives an email?

I have a (Linux) mail server that consists of postfix for receiving mail, amavisd-new for content filtering (using clamav and SpamAssassin), and dovecot for delivery and IMAP. I'd like to set things ...
-5
votes
1answer
2k views

Spam and Virus filtering not working with amavis, Spamassasin and ClamAV using Postfix on Ubuntu

I have setup mailserver using Postfix and Dovecot. Sending is receiving mail is working perfectly. This is email server is running from last couple of years without any issue. Recently we started ...
0
votes
1answer
1k views

Zimbra 8.6 sends some mail into black hole

I have a Zimbra installation running on Centos 6.6: Release 8.6.0_GA_1153.RHEL6_64_20141215151155 RHEL6_64 FOSS edition. I have one account on the server that receives mail forwarded from another ...
1
vote
1answer
2k views

Why does adding /etc/mailname prevent amavis from adding X-spam flags?

Whenever I restarted my amavis process I encountered the message: Starting amavisd: head: cannot open `/etc/mailname' for reading: No such file or directory amavisd-new. I decided to add an /etc/...
1
vote
1answer
2k views

How to tell if razor is running?

I have a mailserver which is using amavis to do the spam testing (through spamassassin). Now I wanted to use razor and pyzor as well. I installed them and did the following: # su - amavis -s /bin/...
1
vote
1answer
434 views

How to config user_prefs (SpamAssassin) individually per user in Redis DB?

I'm going to implement mail gateway with FreeBSD 10.1. So, I installed Postfix, Amavisd, Clamav, Spamassassin, Procmail (for filtering spam from maildir to spam folder), Bayes with Redis database. I ...
3
votes
1answer
446 views

Spamassassin filter based on destination domain

I am trying to configure my SpamAssassin (running in combo with amavisd) in order to lower the spam score limit assigned to emails directed to a specific domain (lower required_score only for incoming ...
-3
votes
2answers
2k views

make postfix bypass amavis completely for specific domains

I want the postfix agent to bybass the amavis scanner for all mails from and to a specific domain. So, i added the following line to /etc/postfix/main.cf header_checks = pcre:/etc/postfix/whitelist....