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

learn more… | top users | synonyms

1
vote
1answer
14 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 ...
-1
votes
0answers
12 views

how to construct a postfix check for an “improper folded header field made up entirely of whitespace (char 09 hex)”

I have a MUA which seems to be capable of generating mails which get rejected by other servers' amavis with the following message: X-Amavis-Alert: BAD HEADER SECTION, Improper folded header field ...
0
votes
1answer
9 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 + ...
-1
votes
0answers
26 views

No encrypted email from my Postifix Dovecot mailserver

i'm desperate because don't reach to set my postfix to send encrypted email. The answer is always the same (using checking software like www.checktls.com): Your email was sent, however it was NOT ...
0
votes
0answers
13 views

Installing F-Secure with amavis on fedora

I've installed the downloadable trial version of F-Secure for Linux (installed on fedora) and it appears to be running properly. However, amavis doesn't seem to be able to control it. Jun 22 22:17:56 ...
0
votes
1answer
68 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
45 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 ...
2
votes
1answer
27 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
0answers
58 views

How to customize user notification in amavis-new so to have attachment's name that makes the mail to be BANNED

I've a CentOS6 server with Amavis 2.9.1 + Postfix 2.6.6 + clamav 0.99. I started customizing notify_virus_recips_templ text files for making users understand why our company, for instance, decided to ...
0
votes
1answer
45 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 ...
1
vote
0answers
110 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....
0
votes
0answers
266 views

Amavis error after reboot: SMTP [451] 4.3.0 Error: queue file write error

I'm running a mailserver on Debian Jessie with Postfix, Dovecot and Amavis as content filter. Everything works fine since months. Recently I had to reboot the server. After that, sending of mails does ...
1
vote
1answer
709 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//...
0
votes
0answers
73 views

AMaViS - Quarantined and Relayed mail sending address

Using AMaViS, I recently had this problem for outgoing mail: Mail was reported by AMaViS with BAD_HEADER_7 or more accurately: X-Amavis-Alert: BAD HEADER SECTION Missing required header ...
0
votes
1answer
43 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
687 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, ...
1
vote
1answer
136 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
165 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
24 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
49 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
93 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
745 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
518 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
918 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 /...
1
vote
1answer
549 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
192 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
149 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
1answer
533 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....
2
votes
1answer
924 views

check header for Authenticated sender in postfix

My users send email with SMTP AUTH via SASL Authentification. Unfortunately their mails would marked as NoBounceOpenRelay by Amavis. So I set this to postfix main.cf smtpd_sasl_authenticated_header ...
0
votes
1answer
332 views

Amavis spamassassin per-user configuration without using a database

Is it possible to configure amavisd-new to let a per-user configuration for spamassassin without using a DBMS? I have a home directory for each user and would like to store their SA preferences and ...
6
votes
1answer
1k views

amavis cronjob throwing an error out of nowhere

Can someone explain why amavis cronjob is suddenly trowing the following error? Cron <amavis@bee> test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync rules: ...
1
vote
1answer
576 views

Postfix very slow delivery

I installed postfix + dovecot + mysql + amavisd + spamassasin. Everything works fine (mail is sent and received) except that the received mail stays too long in the queue (for about 15 minutes) before ...
0
votes
2answers
2k views

Amavis to Postfix forwarding

I have a postfix mail-server and want to use amavis for spam and virus detection. I followed this tutorial to add amavis to my running mail-server. I added to /etc/postfix/main.cf: content_filter = ...
0
votes
1answer
1k views

lots of email from one user, probably spam

I'm getting a continuous flow of messages in the mail.log file of our postfix mail server. Here is a santisied sample: postfix/qmgr[7883]: 03DF631E8F: from=<user@problem.com>, size=1021, nrcpt=...
0
votes
1answer
60 views

amavis log email hash

I want to log a hash value of all emails handled by my mail-server. I found in amavis README.customize.gz the following line: The substitution text for the following simple macros is built-in: [...] -...
2
votes
2answers
2k views

Postfix & Amavis - Use UNIX Soket for Communication

I currently using a complex mailserver setup using Postfix, Dovecot, Amavis and Spamassassin. Everything works fine but I want to improve the Postfix-Amavis-Communication. At the moment, postfix will ...
1
vote
1answer
306 views

How to scan mails with amavis from other mailserver

I have two postfix mail servers mailserver1 is running amavis to scan spam and virus mails mailserver2 is running without amavis. My question is how is the smartest way to use mailserver1 ...
0
votes
1answer
77 views

is there a way to discard all mail sent to a user

I started to get some spam mails to a unique user, and that user does not exist in our system. so I want that all mail for that nonexistent user gets discard. is this possible? [update] my ...
0
votes
1answer
292 views

How do I configure amavisd-new to assume all mail is not outgoing?

I am splitting up my postfix mail server into separate instances - outgoing and incoming. Both mail servers handle mail for multiple domains using a sql database and the virtual_mailbox_domain lookup. ...
1
vote
1answer
617 views

BATV filtering on Postfix and mailman [closed]

Apparently Postfix does not natively support BATV tags. We'd like to strip these prvs=-tags from the FROM field because we think our mailman setup has issues with it (sees sender as a non-member). I ...
0
votes
1answer
326 views

How to modify admin_maps_by_ccat amavisd settings for Zimbra OSE 8.5?

I'm trying to apply this answer to my zimbra installation as I'm getting a postmaster email every time I send an encrypted email. I tried adding $admin_maps_by_ccat{+CC_UNCHECKED} = undef; to /opt/...
0
votes
1answer
3k views

run_av (ClamAV-clamd) and ClamAV-clamd av-scanner FAILED - unexpected

I get a strange error when scanning email. Sep 17 15:13:26 mail amavis[616]: (00616-02) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/lib/amavis/tmp/amavis-20140917T141903-00616-...
4
votes
1answer
3k views

Enabling Bayesian filter with amavisd-new + Spamassassin

I run a Postfix mailserver on CentOS, and am trying to enable Spamassassin's bayes filter, but I seem to be missing something. We're running amavisd-new 2.9.1: Name : amavisd-new Arch :...
1
vote
1answer
3k views

Postfix, Amavis & outgoing mails: How to notify the sender

I had problems with outgoing spam emails from compromised email accounts sending spam mails from my server and landing on blacklists. So I followed the guidelines for setting up postfix with amavis: ...
2
votes
0answers
528 views

Collecting amavis stats with SNMP

I'm trying to get values from amavis in a CentOS 6.5 server. This values, such as spam mail (total, total/h, percent), are supposed to be accesible via SNMP. But, when I run snmpwal, I always get 0 ...
1
vote
1answer
360 views

Spam - individual user

I have a bit of an issue with a users inbox in that a lot of spam is getting through for him alone. We use Amavis/Postfix and SA in our mail setup. Config setup like this: Config: $...
2
votes
2answers
212 views

How does amavis talk to spamassassin?

I'm going through all the amavisd-new config files, and I can't find anything that tells amavis to talk to spamassassin/spamd to get a spam score. The reason I ask is because I'd like to swap out ...
0
votes
3answers
383 views

Suggested mechanisms for user-driven spam training?

I'm looking at having a way for my mail users to completely manage their own spam training. Before I get into it, my mail server details: Debian 7.5, postfix 2.9.6, dovecot 2.1.7, amavisd-new 2.7.1, ...
2
votes
1answer
2k views

How to test email spam scores with amavis?

I'd like a way to test a spam message to see its spam scores that SpamAssassin gives it. The SA db files (bayes_toks, etc) reside in /var/lib/amavis/.spamassassin. I've been testing emails by doing ...
3
votes
1answer
4k views

Amavis / spamassassin setup, how to disable quarantine and get default spamassassin behavior back?

I've set up my first mail server that uses amavis. First off, I don't really see the point in amavis if I don't care about viruses. I don't use clamav as it's a huge RAM hog. SpamAssassin has worked ...