<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p><br>
</p>
<p>I have one Amavis server, that is used by two SMTP servers - one
is only a relay and after Amavis is done, it relays it to the
final internal server. This one seems to work OK.<br>
</p>
<p>The other, however, is also a mailbox server, so it's a final
destination for some domains (using postfix with virtual maps).
This worked for years, but recently, I wanted to apply different
thresholds for one domain:</p>
<pre>@spam_kill_level_maps = ({
'example.com' => 12.0,
},
\$sa_kill_level_deflt
);
</pre>
<p><br>
</p>
<p>However, that didn't work because Amavis doesn't see the original
recipient address, instead it sees the local mailbox (i.e.
<a class="moz-txt-link-abbreviated" href="mailto:user@myserver.example.com">user@myserver.example.com</a>).</p>
<p>Is there a way to have Postfix do content filtering before it
resolves the recipient address to local maibox?</p>
<p><br>
</p>
<p> Regards,</p>
<p> Danilo</p>
<p><br>
</p>
<div class="moz-signature">
<div></div>
</div>
</body>
</html>