<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12.0pt; line-height:1.3; color:#1F497D">
<div>This has been a well publicized issue. As far as I can tell there is no fix, it seems to be a perl issue. Are you using Fedora?<br>
</div>
<div><br>
</div>
<div id="x_signature-x" class="x_signature_editor" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12.0pt; color:#1F497D">
<br>
</div>
</div>
<div id="x_quoted_header" style="clear:both">
<hr style="border:none; height:1px; color:#E1E1E1; background-color:#E1E1E1">
<div style="border:none; padding:3.0pt 0cm 0cm 0cm"><span style="font-size:11.0pt; font-family:'Calibri','sans-serif'"><b>From:</b> Karol Augustin <karol@augustin.pl><br>
<b>Sent:</b> Friday, February 9, 2018 7:32 PM<br>
<b>To:</b> amavis-users@amavis.org<br>
<b>Subject:</b> Re: Open relay? Nonlocal recips but not originating: in my maillog<br>
</span></div>
</div>
<br type="attribution">
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi, <br>
<br>
I have the same problem when I upgraded to 2.11. It looks like<br>
originating -> 1 is not respected and Amavis decides that all e-mail is<br>
send from non-local addresses. <br>
<br>
<br>
As soon as I update to 2.11 I get this problem:<br>
<br>
amavis[24157]: (24157-01) Passed CLEAN {AcceptedInternal}, AM.PDP-SOCK<br>
LOCAL [66.220.155.153] [66.220.155.153] /AM.PDP <external_address> -><br>
<local_address><br>
amavis[23558]: (23558-01) Passed CLEAN {RelayedOpenRelay}, ORIGINATING<br>
[127.0.0.1]:43008 ESMTP/ESMTP <local_address> -> <external_address><br>
amavis[23371]: (23371-01) Passed CLEAN {RelayedInbound}, ORIGINATING<br>
[86.47.99.235]:57284 [86.47.99.235] ESMTP/ESMTP <local_address> -><br>
<local_address><br>
<br>
With 2.10 (same config):<br>
<br>
amavis[25242]: (25242-01) Passed CLEAN {AcceptedInbound}, AM.PDP-SOCK<br>
[2607:f8b0:4001:c0b::234] [2607:f8b0:4001:c0b::234] /AM.PDP<br>
<external_address> -> <local_address>,<br>
amavis[25244]: (25244-01) Passed CLEAN {RelayedOutbound}, ORIGINATING<br>
LOCAL [127.0.0.1]:43684 ESMTP/ESMTP <local_address> -><br>
<external_address><br>
amavis[25250]: (25250-01) Passed CLEAN {RelayedInternal}, ORIGINATING<br>
LOCAL [127.0.0.1]:43838 ESMTP/ESMTP <local_address> -> <local_address><br>
<br>
<br>
I have following relevant config:<br>
<br>
$inet_socket_port = [10026,10027];<br>
$interface_policy{'10026'} = 'ORIGINATING';<br>
$interface_policy{'10027'} = 'PICKUP';<br>
<br>
$policy_bank{'AM.PDP-SOCK'} = {<br>
  protocol => 'AM.PDP',<br>
  originating => [1],<br>
};<br>
<br>
<br>
<br>
$policy_bank{'PICKUP'} = {  # mail originating from @mynetworks<br>
originating => [1],<br>
enable_dkim_verification => 1,<br>
  enable_dkim_signing => 0,<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>
#  spam_kill_level_maps => 4,<br>
  bypass_decode_parts => 1,<br>
  bypass_header_checks_maps => 1,<br>
  bypass_virus_checks_maps  => 1,<br>
  bypass_banned_checks_maps => 1,<br>
#  remove_existing_x_scanned_headers => 1.<br>
};<br>
<br>
$policy_bank{'ORIGINATING'} = {  # mail originating from our users<br>
  originating => 0,<br>
  enable_dkim_verification => 1,<br>
  final_virus_destiny      => D_BOUNCE,<br>
  final_banned_destiny     => D_BOUNCE,<br>
  final_spam_destiny       => D_BOUNCE,<br>
<br>
};<br>
<br>
$sql_select_policy = 'SELECT name, 3.5 as spam_tag2_level, 9 as<br>
spam_kill_level FROM virtual_domains WHERE CONCAT("@",name) IN (%k)';<br>
<br>
<br>
<br>
Thanks,<br>
Karol<br>
<br>
<br>
<br>
<br>
-- <br>
Karol Augustin<br>
karol@augustin.pl<br>
<a href="http://karolaugustin.pl/">http://karolaugustin.pl/</a><br>
+353 85 775 5312<br>
</div>
</span></font>
</body>
</html>