OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Is it possible to postfix to do conditional greylisting

From: Artem Bokhan (artistacadem.org)
Date: Wed Aug 15 2007 - 00:49:35 CDT


The default greylisting action (for policyd) is "defer_if_permit" for
greylisting, and "dunno" to pass the message.
You could change the behaviour of policyd to: "defer_if_reject" for
greylisting, and "permit" to pass the message.

... and place at the end of some restriction:

smtpd_data_restrictions = ......blablabla..... check_policy_service
inet:127.0.0.1:10032, reject_unknown_client_hostname, reject_blablabla

It will be similar to "greylist_if_reject".... :)

Alexander Hoogerhuis ?????:
> martin f krafft wrote:
>
>> This will help: http://www.arschkrebs.de/postfix/postfix_greylisting.shtml
>>
>>
>
> Ah, yes, bang on. So much for googling around for "conditional" :]
>
> -A
>