On 10/22/2009 5:33 AM, Harakiri wrote:
Hi,

the documentation wasnt clear about this. Is it possible to use multiple
check_client_access in smtpd_recipient_restrictions?

i.e (example).

smtpd_recipient_restrictions =
   permit_mynetworks
   reject_unauth_destination
   check_client_access pcre:/etc/postfix/rbl_checks
   check_client_access hash:/etc/postfix/whitelist

i like to keep my configuration for rbls and whitelist in a seperate file and 
not in one giant one.

Thanks!

Yes, it is allowed to have as many check_*_access maps as you care to maintain[1]. (and seems to me the whitelist should be listed first, but maybe it doesn't do what I assume.)


[1] each map you define allocates memory and file handles; at some insane number of maps -- somewhere between hundreds and tens of thousands depending olocal specifics -- your computer will run out of some critical resource.

  -- Noel Jones

Reply via email to