Julian Kippels:
> Hi,
> 
> is it possible to have more then one table in check_recipient_access?
> 
> Like this:
> 
> smtpd_recipient_restrictions =
>   check_recipient_access
>     ldap:table1.cf
>     ldap:table2.cf
>     ldap:table3.cf
>   permit_mynetworks
>   permit_sasl_authenticated
>   reject_unauth_destination
> 
> or am I limited to one table?

As documented, the syntax is:

    check_recipient_access table-type:table-name

However, nothing stops you from doing:

smtpd_recipient_restrictions =
    check_recipient_access ldap:table1.cf
    check_recipient_access ldap:table2.cf
    check_recipient_access ldap:table3.cf
    ...

BTW for backwards compatibility, a "type:name" without "check-xxx-access"
in smtpd_recipient_restrictions would behave as "check_recipient_access
type:name".

        Wietse

Reply via email to