postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: checking relay_recipient_maps before greylist

Re: checking relay_recipient_maps before greylisting ?

From: Wietse Venema <wietse_at_nospam>
Date: Fri Oct 15 2010 - 10:43:56 GMT
To: Postfix users <postfix-users@postfix.org>

Frank Bonnet:
> Hello
>
> Is it possible to check the relay_recipient_maps BEFORE greylisting ?

By default, Postfix rejects unknown recipients at the end of
smtpd_recipient_restrictions, but you can reject them earlier.

See:
http://www.postfix.org/postconf.5.html#reject_unlisted_recipient
http://www.postfix.org/postconf.5.html#reject_unlisted_sender

        Wietse
>
> relay_recipient_maps = hash:/usr/local/etc/postfix/relay_recipients
>
> smtpd_recipient_restrictions =
> reject_unknown_recipient_domain,
> reject_unauth_pipelining,
> permit_mynetworks,
> reject_unauth_destination,
> reject_unlisted_recipient,
> check_policy_service inet:127.0.0.1:10023,
> permit
>
>
>