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

0
votes
0answers
9 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
26 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. ...
0
votes
0answers
16 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
11 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
600 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
44 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 ...
2
votes
0answers
54 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 ...
1
vote
1answer
15 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 ...
2
votes
3answers
6k 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 ...
1
vote
1answer
99 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
59 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
154 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
41 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
515 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
286 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 ...
0
votes
0answers
54 views

how to set up logging-files ubuntu 14.04

Im having some trouble to correctly configure my mail logs. How can i configure the following needs? I have a mail server and the log result should be 7 different files mail.sunday, mail.monday, ...
1
vote
1answer
127 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
2k 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
569 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
186 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 ...
0
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
82 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 ...
0
votes
0answers
117 views

Amavis won't start without error

My e-mail server is almost fully set up. I use Postfix with Dovecot for sending mails. Now I try to configure Amavis for anti-spam and anti-virus. When starting amavis and checking the status, I ...
-3
votes
1answer
262 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 = ...
3
votes
2answers
518 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 ...
0
votes
3answers
3k 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
651 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
2k 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
792 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
237 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 ...
0
votes
1answer
445 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
438 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
1k 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, ...
0
votes
1answer
58 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
1k 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
244 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 ...
1
vote
1answer
149 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
66 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
219 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. ...
3
votes
2answers
2k views

Unable to understand the folder /var/virusmails in Mac OS X

I was completing the instructions in finding MySQL's password, when I saw this My var at Root has the folder /var/virusmails which name is strange. The user of the folder is _amavisd which I do ...
0
votes
1answer
166 views

Amavis sending Paypal payment emails to postmaster. Are they classified as spam/virus?

Some days ago i was reading some docs about amavis and decided to fine tune its configuration. As i'm new to amavis i probably setted some statements in the wrong way so last days i've been recieving ...
0
votes
1answer
260 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 ...
1
vote
1answer
228 views

Where do I add DKIM details to amavisd.conf on Ubuntu?

I'm trying to add a DKIM key to an additional domain on my Ubuntu mail server, I am trying to add the following block of code to the amavisd.conf file $enable_dkim_verification = 1; ...
2
votes
1answer
3k views

DKIM on postfix relay server

I have a postfix/amavis relay server, with the domain name mail.example.com. It will be a relay for dozens of VPS's, which will have domains like hostname.example.net. So i have actually two ...
0
votes
1answer
2k 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 , ...
1
vote
1answer
3k views

Mailscanner and amavisd-new comparison

I'm going to implement a mailfiltering gateway for my company. I'm going to use Postfix, with a PostgreSQL back-end. The question would be: how to best implement the antispam measures. Mailscanner ...
6
votes
1answer
425 views

Spamassassin: store bayes per user in mysql (with amavis)

I use postfix (mysql virtual users) + amavis + spamassassin and configured spamassassin to use mysql for storing the bayes data: use_bayes 1 bayes_auto_learn 1 ...