Hi cjackson!
> local_parts = [ldap lookup 1 ] and [ldap lookup 2]
> deny message = nobody here
> Is it a matter of simply creating an OR condition or is
> there another way?
Do you want OR or AND? If you only want to accept local parts which
match _both_ queries, one solution is to write
accept domains = +local_domains
endpass
local_parts = [ldap lookup 1 ]
local_parts = [ldap lookup 2 ]
To accept locals parts which match _either_ query, you can simply use
accept domains = +local_domains
endpass
local_parts = [ldap lookup 1 ] : [ldap lookup 2 ]
Andy