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
23 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
11 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 ...
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/...
0
votes
1answer
44 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 ...
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 /...
2
votes
1answer
26 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
55 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 ...
5
votes
1answer
3k views

Turn of amavisd notifications about UNCHECKED content to postmaster

How do I turn off "UNCHECKED contents in mail FROM" mails send by amavis to the postmaster of the domain every time a user sends an encrypted mail. The setup is a Debian 7 with postfix and amavisd.
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 ...
0
votes
4answers
686 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
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 ...
1
vote
0answers
109 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....
2
votes
2answers
2k views

Disable ClamAV for Amavis

I have a Postfix mail server, using Amavis and Spamassassin to check for unwanted e-mails. I have removed ClamAV because it'd basically freeze the whole server every time someone received an e-mail, ...
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
707 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
72 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.
1
vote
1answer
135 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 ...
6
votes
3answers
2k views

postfix skip spam checks for authorized SMTP

Is there any way to configure postfix to skip spam/antivirus checks for those smtp connections that are SMTP-AUTH'ed? I would like to keep all the standard checks for external smtp traffic, but for my ...
1
vote
1answer
23 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-...
2
votes
3answers
8k views

AMaViS: missing X-Spam-Status header

I set up a mail server with Dovecot, Postfix and AMaViS on Debian Squeeze following the tutorial on workaround.org (ISPmail tutorial for Debian Squeeze). It uses virtual domains and stores the domains,...
1
vote
1answer
109 views

Error in amavisd.conf -missing curly or bracket

I'm currently trying to setup Spam and Virus Filtering on my CentOS 6.4 machine using SpamAssassin and ClamAV. I've installed all necessary packages (SA, ClamAV and Amavisd-new) and configured them. ...
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
731 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 ...
-1
votes
1answer
47 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 ...
1
vote
2answers
602 views

Monit and amavis

I have noticed that occasionally amavis is not running. I thought monit was watching the process, however it doesn't seem to warn me or fix it. My monitrc entry looks like this and I can confirm ...
0
votes
1answer
511 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 ...
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
911 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
538 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/...
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
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
531 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....
3
votes
2answers
623 views

amavisd + postfix + dovecot blocks gif images

I occasionally have a client who tries to email me and says his email gets blocked by my server. When I check the logs, I see this: Sep 6 18:12:52 myers amavis[15197]: (15197-08) p.path BANNED:1 me@...
0
votes
3answers
4k views

centos 6.4 amavis-new, clamav not function

i install on centos 6.4 amavis-new and clamav /etc/clamd.d/amavisd # cat amavisd.conf # Use system logger. LogSyslog yes # Specify the type of syslog messages - please refer to 'man syslog' # for ...
2
votes
1answer
917 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 ...
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: ...
0
votes
1answer
993 views

Amavis and SpamAssassin won't mark junk email as spam in second domain

I'm currently setting up amavis and spamassassin with postfix. So far SpamAssassin blocks and bounces Spam. If I set $final_spam_destiny to D_PASS the mail gets through, but the $sa_spam_subject_tag ...
0
votes
1answer
330 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 ...
1
vote
1answer
615 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 ...
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
571 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 ...
2
votes
1answer
279 views

Prevent spam being forwarded by Postfix (while locally delivered to a Junk folder)

We have a pretty standard Postfix/Amavis setup where we use the Dovecot LDA to deliver mail locally. Amavis passed spam mail and we use Sieve to drop it in the Junk folder of the user. The problem is ...