Mail from localhost not excluded from checks

edv at proasyl.de edv at proasyl.de
Tue Nov 12 10:06:19 CET 2019


Hi everybody,

I'm a bit puzzled. I run a Perl script on our mailserver which once per
day will send me a summarized overview of all in- and outgoing mails.
But these mail are spam and virus checked by amavis:

X-Spam-Status: Yes, score=24.574
Received: from [my.servers.name] ([127.0.0.1])
        by localhost [my.servers.name] [127.0.0.1]) (amavisd-new, port
10024)
        with ESMTP id 5qjFB26fDv8l for <logging@[my.domain]>;
        Tue, 12 Nov 2019 09:50:55 +0100 (CET)
Received: by [my.servers.name] (Postfix, from userid 0)
        id B874A8075CE1; Tue, 12 Nov 2019 09:50:55 +0100 (CET)

Why?

amavisd.conf

@mynetworks = qw( 127.0.0.0/24 192.168.27.0/24 [etc.])
[...]
$policy_bank{'MYNETS'} = {  # clients in @mynetworks
  bypass_spam_checks_maps   => [1],  # don't spam-check internal mail
  bypass_banned_checks_maps => [1],  # don't banned-check internal mail
  bypass_header_checks_maps => [1],  # don't header-check internal mail
  bypass_virus_checks_maps  => [1],
};

Any ideas?

Thank you and regards

Lothar Schilling

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20191112/fc784a1e/attachment.html>


More information about the amavis-users mailing list