<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Indeed.<br>
<br>
Noel Butler sent me this option as an alternative, and it's
exactly what i was looking for (i'm using it instead). See below.<br>
<br>
<i>When I used mailscanner I solved this easily by - <br>
<br>
1/ Only accept users sending mail on submission port</i>
<i><br>
2/ leave header checks alone<br>
3/ in master.cf<br>
<br>
submission inet n - n - - smtpd</i>
<i><br>
-o smtpd_sasl_auth_enable=yes<br>
-o smtpd_client_restrictions=<br>
-o smtpd_helo_restrictions=<br>
-o smtpd_sender_restrictions=<br>
-o
smtpd_recipient_restrictions=reject_unknown_recipient_domain,permit_mynetworks,permit_sasl_authenticated,reject<br>
-o smtpd_data_restrictions=<br>
-o receive_override_options=no_milters,no_header_body_checks<br>
-o content_filter=<br>
<br>
<br>
(the override_options line is the critical one here)</i>
<i><br>
<br>
</i>
<br>
On 5/5/2012 9:31 AM, Kai Schaetzl wrote:<br>
</div>
<blockquote cite="mid:VA.00003edc.00267537@news.conactive.com"
type="cite">
<pre wrap="">Aaron Greengrass wrote on Thu, 03 May 2012 11:09:50 -0700:
</pre>
<blockquote type="cite">
<pre wrap="">From what I can see, that header only successfully matches when the
most recent hop was my local MX
</pre>
</blockquote>
<pre wrap="">
Why would you think so? The regexp is matched against all Received
headers.
You are not the only one using this option. You match a quite unspecific
pattern. I just did a search over my mailing list folders that hold about
30.000 messages and got nearly 1.500 matches. You at least want to make
this unique to your organization.
Kai
</pre>
</blockquote>
<br>
<br>
</body>
</html>