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
8 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
25 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 ...
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 ...
-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 ...
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 ...
0
votes
1answer
284 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
568 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 ...
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
81 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
260 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 = ...
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
236 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
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 ...
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. ...
0
votes
1answer
443 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
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 ...
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 , ...
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 ...
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: ...
2
votes
0answers
426 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
299 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
174 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
318 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, ...
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 ...
2
votes
1answer
3k 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 ...
2
votes
2answers
594 views

Spammer spoofed localhost? Or server fail? How do I secure against this?

I noticed a spammer got through postgrey AND SpamAssassin, which was very strange. I examined /var/log/mail.log and saw some suspect lines: Log below, or on Pastebin: http://pastebin.com/k7sKnvGE ...
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. ...
2
votes
1answer
1k 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
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
151 views

Alert Postfix sender when outbound email is not delivered due to amavisd-new checks

I'm running Postfix 2.11 together with amavisd-new which works fine with spamassassin and clamav to prevent inbound/outbound spam and virus traffic. Right now i'm looking for a way to alert users ...
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
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
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 ...
2
votes
1answer
5k views

Howto enable SMPTS (465) postfix CentOS

I need help is enabling SMTPS. I use postfix , dovecot with MySQL(virtual domains). I do not know how to enable SMTPS(465). I already added tls related settings and key and certificate in the ...