<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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>
</body>
</html>