Questions tagged [amavis]

an antimalware/antispam system

Amavis is a service available for GNU/Linux used to protect email servers and their users. It is able to filter email and look for malware or spam.

Links and documentation

Related tags

  • All the questions related to email
  • An email server Amavis is often used with
10 questions
2
votes
1 answer

SELinux is blocking connections from Amavis back into itself: no way in/out?

Running a fresh CentOS8 install here, MTA is Postfix with Amavis hooked in. I want to have Amavis inject messages from ORIGINATING (incoming submissions from port 587/Postfix through 10026/Amavis) back into Amavis (port 10024) after (internal) DKIM…
Adrian
  • 21
  • 3
2
votes
1 answer

The mail system : user unknown Action: failed Status: 5.1.1 Diagnostic-Code: x-unix; user unknown

I have a mail system from Postfix, Dovecot, Amavis, Spamassin on a Debian Jessie 8.5. Imap and pop3 work fine. Smtp port 465 over ssl sends fine, delivery is okay, but port 25 and 587 got the error "undelivery user unknown for all local recipient…
oxyOsky
  • 47
  • 5
1
vote
0 answers

How can I add 'email scanned for viruses' to the emails

I have a small, Opensuse-based computer for my family, which includes GUI, Postfix, amavis, clamd & spamassassin. I noticed that Amavis adds a line among the hidden headers: X-Virus-Scanned: amavisd-new at mycomputer.mydomain.pl Now, I also noticed…
Jasio
  • 515
  • 1
  • 3
  • 14
1
vote
0 answers

I want to blacklist mail in amavisd-new from a domain where sender addresses are utf8 encoded

In amavisd.conf I have read_hash(\%blacklist_sender,'/etc/amavis/blacklist'); @blacklist_sender_maps = (\%blacklist_sender);` In the blacklist file I have @example.com (not the real domain) However the sender address is always utf8 encoded so does…
user250650
  • 11
  • 1
1
vote
0 answers

Spamassassin spam score and block configuration?

I've searched in the community and Google for this topic. There hasn't been a precise answer. I wanted to see the spam scores in the mail.log or syslog for Spamassassin running on my Linux server. It used to. I've looked at files in both /etc/amavis…
CaesarS
  • 153
  • 1
  • 5
1
vote
0 answers

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 and not very well explained.
brickmasterj
  • 115
  • 1
  • 10
0
votes
2 answers

Why is Amavis giving a Retry limit exceeded / File exists error on startup?

I noticed my mail server was getting some service temporarily unavailable errors and wasn't able to deliver emails, so after digging into it I found the cause was Postfix was unable to connect to Amavis. When I looked at Amavis' logging (which I…
Scott Weldon
  • 113
  • 2
  • 8
0
votes
1 answer

How to automatically move mails to SPAM or JUNK folder instead of removing them?

I have problem with amavis-new. amavis-new removes an e-mails tagged as SPAM are removed instead of leave them tagged by SpamAssassin. Here's /var/log/mail.log: Jul 20 20:04:09 cloud-vps opendmarc[9520]: D6A8940030: mail.com none Jul 20 20:04:09…
user227030
0
votes
1 answer

amavis: [virus_name_to_spam_score] is empty when using certain clam database

I have a weird behavior regarding virus_name_to_spam_score. I’m using 2 custom Clamav DB. Here are the logs when using SaneSecurity where we can see that everything is working fine: Jun 12 10:57:53 prd-mail-1 amavis[4428]: (04428-01) run_av…
0
votes
1 answer

amavisd: Unrecognized character \xBB;

I have a problem to start the amavisd. When I try to start with /etc/init.d/amavis start I get the following error: Starting amavisd: Problem in Amavis::DKIM code: Unrecognized character \xBB; marked by <-- HERE after <-- HERE near column 1 at…
Phil
  • 1