pf at alt-ctrl-del.org:
> Noel Jones, August 27, 2010 3:56 PM:
> > 
> >> On: August 27, 2010 2:23 PM, I wrote:
> >>> Is there any known policy server or add-on, that will change
> >>> the tempfail action after a couple of hours, for things like
> >>> reject_unknown_client_hostname and
> >>> reject_unknown_client_hostname?
> >>>
> >>> I guess it would be an adaptation of greylisting, 
> >>>
> >>> Anything like that out there?
> >>>
> >>
> >> Well, the first half was easy. I just made a few minor changes
> >> to the example greylist.pl.
> >> My greyhelo.pl works from the example test of: perl
> >> greyhelo.pl (bunch of attributes)
> >>
> >> But how to call it, only when a client fails
> >> reject_unknown_helo_hostname?
> >> The following does not work:
> >> unknown_helo_hostname_tempfail_action = check_policy_service
> >> unix:private/greyhelo
> >>
> > 
> > 
> > You'll have to call the policy service for each mail, and 
> > recreate the reject_unknown_* tests in your policy server. 
> > That's the only way you can detect temp failures.
> > 
> > 
> 
> So I'd have to test for nxdomain, against $attr{"helo_name"}?

Postfix already replies with a 5XX for an NXDOMAIN result.

        Wietse

Reply via email to