On Wed, November 18, 2009 5:38 am, Eero Volotinen said: > J. Bakshi wrote: > > > Could you kindly give me an example to restrict the domain with access ? > > How about following: > > access.pcre: > > /^DOMAIN\.NET$/ OK > /./ REJECT
No, this is wrong. As per the documentation, partial lookup keys aren't used with regexp/pcre maps, only the full recipient address. /@example\.com$/ OK /./ REJECT But you could just as well list "reject" in smtpd_xxx_restrictions, after the check_recipient_access restriction. -- Magnus Bäck mag...@dsek.lth.se