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 (MTA, Mail Transfer Agent) and one or more content filters.
Questions tagged [amavis]
188 questions
1
vote
1 answer
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 mails was sent and I tested my DKIM sign, but now…

Juan Sebastián Puntella
- 11
- 1
- 4
1
vote
1 answer
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.

brickmasterj
- 33
- 8
1
vote
1 answer
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-user could filter with regex, for the end user…

Izzy
- 349
- 1
- 5
- 19
1
vote
1 answer
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 /etc/mailname file with "mail.mydomain.com", and - alas…

mmalmeida
- 155
- 1
- 9
1
vote
1 answer
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/bash
# razor-admin -create
# razor-admin -register…

Matthias Dunkel
- 213
- 3
- 7
1
vote
1 answer
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 have config them to work together. It can work…

Fony Lew
- 283
- 1
- 7
1
vote
4 answers
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. From time to time I will run sa-learn on these boxes…

FilmJ
- 766
- 2
- 9
- 16
1
vote
1 answer
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 it gets to the user mailbox. If I run
#…

VladSun
- 39
- 1
- 4
1
vote
2 answers
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 = smtp-amavis:[127.0.0.1]:10024
and my…

Ulli
- 97
- 2
- 9
1
vote
2 answers
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 respectively amavis from mailserver1 to scan the mails form…

Ulli
- 97
- 2
- 9
1
vote
1 answer
BATV filtering on Postfix and mailman
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 have an ISPConfig 3 mail server setup. This…

aairey
- 310
- 2
- 13
1
vote
1 answer
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…

machete
- 109
- 1
- 5
1
vote
1 answer
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:
$sa_tag_level_deflt = 2.0;
$sa_tag2_level_deflt = 6.2; …

GerryI90
- 45
- 1
- 4
1
vote
3 answers
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, spamassassin 3.3.2
So, each of my users in each…

CaptSaltyJack
- 638
- 2
- 13
- 36
1
vote
1 answer
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. While trying to start amavisd I get the following…

Peter Noble
- 111
- 3