<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi everybody,</p>
<p>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:<br>
</p>
<p><font size="-1">X-Spam-Status: Yes, score=24.574<br>
Received: from [my.servers.name] ([127.0.0.1])<br>
by localhost [my.servers.name] [127.0.0.1])
(amavisd-new, port 10024)<br>
with ESMTP id 5qjFB26fDv8l for
<a class="moz-txt-link-rfc2396E" href="mailto:logging@[my.domain]"><logging@[my.domain]></a>;<br>
Tue, 12 Nov 2019 09:50:55 +0100 (CET)<br>
Received: by [my.servers.name] (Postfix, from userid 0)<br>
id B874A8075CE1; Tue, 12 Nov 2019 09:50:55 +0100 (CET)<br>
</font></p>
<p>Why?</p>
<p>amavisd.conf</p>
<font size="-1">@mynetworks = qw( 127.0.0.0/24 192.168.27.0/24
[etc.])</font><br>
<font size="-1">[...]</font><br>
<font size="-1">$policy_bank{'MYNETS'} = { # clients in @mynetworks<br>
bypass_spam_checks_maps => [1], # don't spam-check
internal mail<br>
bypass_banned_checks_maps => [1], # don't banned-check
internal mail<br>
bypass_header_checks_maps => [1], # don't header-check
internal mail<br>
bypass_virus_checks_maps => [1],<br>
};</font>
<p>Any ideas?</p>
<p>Thank you and regards<br>
</p>
<p>Lothar Schilling</p>
</body>
</html>