<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On my system this is done with postfix.<br>
<br>
<tt>smtpd_recipient_restrictions = permit_sasl_authenticated</tt><tt>,<br>
</tt><tt> permit_mynetworks,</tt><tt><br>
reject_unauth_destination,<br>
reject_invalid_hostname,<br>
...<br>
<br>
<br>
smtpd_helo_required = yes<br>
</tt><tt>smtpd_helo_restrictions = permit_mynetworks,<br>
reject_invalid_helo_hostname,<br>
reject_non_fqdn_helo_hostname,<br>
reject_unknown_helo_hostname<br>
</tt><tt><br>
</tt><br>
<div class="moz-cite-prefix">Statistics since Sunday.<br>
<br>
<tt>104 messages blocked by rbl zen.spamhaus.org</tt><tt><br>
</tt><tt><br>
</tt><tt>33 messages blocked by rbl bl.spamcop.net</tt><tt><br>
</tt><tt><br>
</tt><tt>21 messages blocked by rbl b.barracudacentral.org</tt><tt><br>
</tt><tt><br>
</tt><tt>211 messages quarantined by amavis</tt><tt><br>
</tt><tt><br>
</tt><tt>210 messages blocked by amavis</tt><tt><br>
</tt><tt><br>
</tt><tt>3635 blocked by no reverse DNS</tt><tt><br>
</tt><br>
<br>
Hope this helps,<br>
Curtis<br>
<br>
On 6/16/2016 8:18 AM, Gerhard Rappenecker wrote:<br>
</div>
<blockquote
cite="mid:5762B528020000DD000A936E@gwia2.rz.hs-offenburg.de"
type="cite">
<pre wrap="">Hi all,
I want to reject mails from some smtp clients specified by IP or subnet, if the from address don't match the clients DNS Domain.
Can anyone help me?
My environment:
postfix 2.11.6
amavisd-new-2.8.1
I allready posted this message yesterday but it seems something went wrong
Regards
Gerhard
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
Curtis Maurand<br>
<a href="mailto:curtis@maurand.com">curtis@maurand.com</a><br>
207-252-7748</div>
</body>
</html>