On Wed, Feb 27, 2008 at 3:12 PM, Henrik K <[EMAIL PROTECTED]> wrote: > On Wed, Feb 27, 2008 at 03:00:49PM -0500, Aaron Wolfe wrote: > > On Wed, Feb 27, 2008 at 2:50 PM, Bob Proulx <[EMAIL PROTECTED]> wrote: > > > Marc Perkel wrote: > > > > It appears that Postfix only does DNS blacklists and not whitelists > > > > then. I was going to publish my whitelist and Postfix instructions > but I > > > > guess I can't do that. > > > > > > That would be a better question for the postfix-users list. Probably > > > the way to do this is with the check_policy_service functionality. > > > The "permit" action should permit the request. I haven't created my > > > own policy daemon though and so this is an academically derived > > > answer. According to the manual "Policy delegation is now the > > > preferred method for adding policies to Postfix." > > > > > > Bob > > > > > > > > > > Here's a hacked up version of postfix-policyd that uses the results > > from the hostkarma rbl. > > I'm sure it can be improved upon, but it works for me. > > I'm sure that works, but I seriously recommend postfwd: http://postfwd.org/ > > You can easily use a config like: > > rbl=hostkarma.junkemailfilter.com/127.0.0.1; action=OK whitelisted > rbl=hostkarma.junkemailfilter.com/127.0.0.2; action=REJECT blacklisted > rbl=hostkarma.junkemailfilter.com/127.0.0.3; action=PREPEND X-Karma: yellow > > .. among many other things that are possible. > >
after looking at postfwd for only a few minutes, I have to agree.. don't use my messy code, use postfwd! I will be soon. -Aaron