On Fri, Jul 03, 2009 at 12:51:07AM +0530, Avinash Sultanpur wrote: > relay_recipient_maps = pgsql:recipients > > I found that the address verification probes are sent out even for the > recipients which are listed in the relay_recipient_maps. So I included > check_recipient_access which returned 'OK' for the valid recipients just > before reject_unverified_recipient and removed relay_recipient_maps. It > does work as I expected - accepting listed recipients without a > verification probe and rejecting unverified recipients. > > > smtpd_recipient_restrictions = > ... > reject_unauth_destination > ... > check_recipient_access pgsql:rcpt_access > reject_unverified_recipient > > > Is it possible to avoid check_recipient_access and use relay_recipient_maps > and reject_unverified_recipient without triggering a verification probe for > the listed recipient? Maybe if there was something like > permit_listed_recipient?
No, but the same table can be used for both relay_recipient_maps and the check_recipient_access "whitelist", by using "OK" as the lookup result. r...@example.com OK the relay_recipient_maps table does not look at the result value, mere existence of the key is enough. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.