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, where.
default unknown client/hostname = DEFER_IF_PERMIT

greyhostclient policy
firstseen timestamp for unknown client/hostname
greyhostclient_delay = 4h
return DEFER_IF_PERMIT during the 4h window.
Then after 4 hours, REJECT is returned instead.

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

Reply via email to