On Fri, Jan 2, 2009 at 5:47 PM, mouss <mo...@ml.netoyen.net> wrote:
>> smtpd_recipient_restrictions =
<snip>
>>         check_policy_service inet:127.0.0.1:9997,
>>         reject_rbl_client zen.spamhaus.org
>>
>> Greylisting server returns  defer_if_permit to defer a mail.  My
>> objective is to lookup only those domains in zen whcih has passed
>> greylisting test. But in my configuration above mails which are
>> greylisted also gets blocked by zen. I guess this is the way
>> defer_if_permit works. But is there any way to get the behavior I
>> want?
>>
>
> you need to change your policy service to return "defer" instead of
> "defer_if_permit".

Thanks!

I have changed my greylisting server to return

defer Greylisted Come back after 30 seconds

But I get a warning:

postfix/smtpd[27732]: warning: restriction `Greylisted' after `defer' is ignored

But if I use

defer_if_permit Greylisted Come back after 30 seconds

then there is no warning. am I missing some thing here?

raj

Reply via email to