postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Postgrey and RBL checks

Re: Postgrey and RBL checks

From: Henrik K <hege_at_nospam>
Date: Wed Oct 27 2010 - 06:52:08 GMT
To: postfix-users@postfix.org

On Wed, Oct 27, 2010 at 08:45:56AM +0200, Patric Falinder wrote:
> I just set up Postgrey yesterday and it works just fine.
> One thing that got me thinking though was that if I have greylisting
> check Before reject_rbl_client, shouldn't the rbl check be skipped
> if the IP get's greylisted and Then checked with rbl when/if it
> passes the greylisting? Or am I thinking wrong here?

Use --greylist-action=450 or so.

"To set the action to be returned to postfix when a message fails
postgrey's tests and should be deferred, use the
--greylist-action=ACTION option.

By default, postgrey returns DEFER_IF_PERMIT, which causes postfix to
check the rest of the restrictions and defer the message only if it
would otherwise be accepted. A delay action of 451 causes postfix to
always defer the message with an SMTP reply code of 451 (temp fail)."