OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: 2.2.8 + amavisd + postgrey

From: Bill Bradford (mrbillmrbill.net)
Date: Mon Feb 06 2006 - 10:41:41 CST


On Mon, Feb 06, 2006 at 05:31:52PM +0100, Ralf Hildebrandt wrote:
> The logic escapes me. You put client stuff into
> smtpd_client_restrictions and now you say "check_helo_access" goes
> into smtpd_recipient_restrictions?? WHy?

I read it in a book!

Specifically..

"The Book of Postfix" by Ralf Hildebrant and Patrick Koetter.
Page 95, "Preventing Obvious Forgeries":

"To put the map in action, specify it (and its type) as an argument to the
check_helo_access option in your smtpd_recipient_restrictions parameter.
Here's how it might look:

smtpd_recipient_restrictions=
        ...
        check_helo_access pcre:/etc/postfix/helo_checks"

Bill

--
Bill Bradford
Houston, Texas