> -----Original Message----- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Reinaldo de Carvalho > Sent: Wednesday, November 03, 2010 3:28 PM > To: Mark Scholten > Cc: postfix-users@postfix.org > Subject: Re: Custom action based on rDNS and helo > > On Wed, Nov 3, 2010 at 11:15 AM, Mark Scholten <m...@streamservice.nl> > wrote: > > Hello, > > > > Is it possible to do a custom action (greylisting with an external > program > > or RBL checks or RHSBL checks) only if the checks below failed? If > yes, how > > could that be done with postfix (I prefer to do it with settings in > main.cf > > and without an extra program)? > > I'm trying to decipher what you want... > > > - Match PTR/A-record (no "unknown" client hostname) > > You can only reject it.
Isn't some custom action with check_client_access possible (look for "unknown")? > > > - Helo matches client hostname > > > > No sense. If it matches don't use greylisting else use greylisting. It makes sense as most spambots don't retry and don't have it matching. Most systems where it matches also retry. It also makes sense the other way around if it matches check at dnswl.org and if it is also listed there don't check certain blocklists. There would be 2 targets: - Reduce number of connections - Reduce F/P Regards, Mark