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

10
votes
3answers
1k views

Postfix sending and receiving the same e-mail every 5 minutes for 4+ months

Back in June I sent myself the EICAR test signature to make sure my postfix/amavis/spamassassin etc setup was working properly. I didn't notice at the time, but this somehow created a tear in the ...
10
votes
1answer
2k views

How to configure amavisd-new for only scanning on particular senders/servers?

I'd like to know how to configure amavisd-new to only scan for Spam on particular clients (IPs, CIDRs or hostnames) or alternatively sender's email domain. I know that it is possible to do it on a ...
6
votes
2answers
10k views

Optimal parameters set for Postfix “smtpd_recipient_restrictions”

we've inherited the DNS from another ISP and now our mail server is bombed by about 1000 emails per minute, 99.99% of these emails are just spam. We're trying to optimize the filtering/rejecting the ...
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: ...
6
votes
1answer
1k views

Stop Outgoing Spam Already Tagged as Spam

I run a Postfix server with Amavis and Spamassassin among other things. Postfix receives mail from the outside world and passes it on to Amavis. Amavis has Spamassassin rate the mail, and then tags it ...
6
votes
1answer
492 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 ...
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 ...
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.
4
votes
1answer
550 views

Amavis and Postfix VirusMails

I have a postfix server with amavisd and a clamav scanner. I have encountered a situation where clamav has issued false positives and quarantined messages in /var/virusmails/ What is the simplest way ...
4
votes
2answers
3k views

Alternatives to amavis for RAM-bound server

I'm running a small VPS server that works as web and mail server. It has only 256MB of RAM, and it's sucking 100MB of swap constantly. I've found that one of the culprits is amavis, taking about 30MB ...
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 :...
3
votes
1answer
2k views

Is there a reason why DKIM signs every mail twice [closed]

I've configured my postfix/amavisd-new/spam-assassin setup after this tutorial https://help.ubuntu.com/community/Postfix/DKIM. But now the problem is that all mails I send are double signed with two ...
3
votes
2answers
227 views

How is spamassasin called by amavisd-new?

I initially thought amavisd passed incoming email message through to spamassin via the spamd daemon but now the spamd daemon is down on my new test email relay and the messages are still being flagged ...
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 ...
3
votes
2answers
610 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@...
3
votes
2answers
7k views

amavis + SA not marking messages as spam

I'm running Postfix + amavis + SpamAssassin. Messages are coming through just fine, and they're getting X-Spam-Score as I would expect, along with X-Spam-Status values, implying that SA is doing ...
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 ...
3
votes
2answers
87 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 ...
3
votes
2answers
155 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/...
3
votes
1answer
133 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 ...
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,...
2
votes
2answers
680 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 ...
2
votes
1answer
6k 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 "/etc/...
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
2answers
207 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 ...
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, ...
2
votes
2answers
814 views

postfix: blocking a certain sender for a certain receiver

I have a postfix installation with amavis and postfwd. I'd like to block a single sender only for a single receiver. I tried with header_checks but multiline checking I was thinking something like ...
2
votes
1answer
3k views

Amavis / Atermime - Dynamic Email Signatures (Disclaimers)

I am running a basic iredmail install with amavis, postfix, dovecot. I want to use the declaimer feature to automatically append a disclaimer (in our case a signature). The reasoning for this is that ...
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 ...
2
votes
1answer
888 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 ...
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 ...
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 ...
2
votes
1answer
1k views

amavisd Net server pid file already exists after system crash and startup

whenever i have an unclean shutdown, which is often due to power failure most of the time i get problems with amavis starting up. The error amavisd Net server pid_file already exists for running ...
2
votes
0answers
511 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 ...
2
votes
1answer
270 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 ...
2
votes
2answers
288 views

SpamAssassin 2010 Bug still active on my mailserver despite the offending rule being fixed - where to look to fix?

The SpamAssassin 2010 bug was supposed to be fixed not long after the bug became widely known, and indeed the offending rule in my /usr/share/spamassassin/72_active.cf has been updated. However, ...
1
vote
1answer
675 views

How to monitor ClamAV?

I have a postfix mailserver with amavis as a content_filter setup successfully an now I wonder how I can monitor if clamav is working properly. The clamav logfile is empty and I can not see any trace ...
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 +...
1
vote
4answers
6k views

Filtering spam to an IMAP folder with postfix, policyd and amavis?

Using amavisd-new, I'm successfully marking multiple headers and accurately reporting most spam. However, right now I'm delivering it to the inbox and I would like to have a Junk folder instead. ...
1
vote
1answer
492 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
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: ...
1
vote
2answers
208 views

email server: refuse old emails and emails in the future

I use postfix, dovecot 2.1 and amavis for my emails. How can I refuse emails (from other email servers) that date are to old (e.g. >=1 month) or to new (eg. >=1d in the future)?
1
vote
1answer
641 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
870 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
277 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 ...
1
vote
1answer
579 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 ...
1
vote
2answers
586 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 ...
1
vote
1answer
591 views

Do not send “SPAM FROM LOCAL” messages for mails relayed to spam_lovers

I have setup amavis as follows: $policy_bank{'ORIGINATING'} = { # mail originating from our users originating => 1, # indicates our client, introduced in amavisd-new-2.5.0 ... ...
1
vote
1answer
7k views

How do I make changes to spamassassin under zimbra?

We are running a zimbra installation which uses spamassassin to filter mail. I have not installed this myself so I am not completely sure if this is a plain vanilla installation. The zimbra ...
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-...