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
931 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
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
361 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 ...
5
votes
2answers
9k 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 ...
5
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 ...
4
votes
1answer
517 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
1k 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 ...
3
votes
2answers
215 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
2answers
439 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 ...
3
votes
2answers
6k 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
1answer
2k 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.
3
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 ...
3
votes
1answer
53 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
934 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 ...
2
votes
2answers
404 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
2answers
5k 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 ...
2
votes
1answer
957 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 ...
2
votes
2answers
481 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
136 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
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, ...
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

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
1answer
313 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
2k 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
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
290 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
204 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
285 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
596 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
2answers
149 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
138 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
43 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
69 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
2answers
622 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 ...
1
vote
1answer
523 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
5k 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
278 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 ...
1
vote
1answer
243 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: ...
1
vote
1answer
180 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; ...
1
vote
1answer
581 views

Amazon SES and Amavis

I've been following how to set up a mail server - by Flurdy in order to set up a more secure mail server on my Amazon EC2 Ubuntu 12.04 instance. I've followed the article to the letter, but I can't ...
1
vote
2answers
795 views

Debian server: “sa-learn” process slows system down dramatically

On one of our debian squeeze servers, we use a setup of postfix + amavis + dovecot as mailserver. Spamassassin is part of amavis. Once a day, the process "sa-learn" is started. It is part of ...
1
vote
2answers
1k views

Create a blacklist

I have installed postfix, amavisd, spamassassin and clamd. I want to specify a sender to blacklist. How can I do this?
1
vote
1answer
2k views

How to tell spam-assassin not to quarantine tagged emails?

I'm running my own postfix mail-server at home with a setup similar to this one. I opted to deliver tagged spam via dovecot to the user's spam-mailbox, so that they can review tagged emails if they ...
1
vote
1answer
69 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
1answer
81 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 configurated them. ...
1
vote
1answer
416 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 ...