<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">Hi<br>
<br>
To me that looks like you are bypassing your filter for all incoming emails with "Authenticated user" in any of the received headers.<br>
<br>
If it is the spam score you want to make sure never gets above the threshold you can give a very low score to ALL_TRUSTED, even if that doesn't bypass MailScanner.<br>
<br>
/Markus<br>
-- <br>
Skickat från min Android-telefon med K-9 E-post. Ursäkta min fåordighet.<br><br><div class="gmail_quote">Aaron Greengrass <archive@greenbtn.com> skrev:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I spent a day or so thinking on this one, and have come up with a
method that works for me. I always appreciate seeing solutions to
problems I'm having posted, so I am posting this one in turn.<br>
<br>
One of the email requirements in my environment is that
authenticated users not be subject to spam checks. (i.e. I know all
of the users, so policy violation isn't an issue).<br>
<br>
The postfix config i'm using puts everything into HOLD, which
guarantees mailscanner will check it. My solution follows:<br>
<br>
in /etc/postfix/main.cf<br>
<b>header_checks = regexp:/etc/postfix/header_checks<br>
smtpd_sasl_authenticated_header = yes<br>
</b><br>
in /etc/postfix/header_checks<br>
<b>/^Received: .*\(Authenticated sender:.*/ OK<br>
/^Received:/ HOLD<br>
</b><br>
There may be a more elegant way to do this, but this was the first
method I came up with, and it passes all of my initial testing.<br>
<br>
Regards,<br>
<br>
Aaron.<br>
<br>
</blockquote></div></body>
</html>