Hi all,
i have a sasl mysql map matching existing users in mysql

SELECT username FROM mailbox WHERE username='%s' AND active = 1

this works nice

but now i need a query or chain for allowing specific admin users in
mysql to allow so i am unsure about the syntax of the or statement

i need something like

SELECT username FROM mailbox WHERE username='%s' AND active = 1 OR
SELECT username FROM domain_admins WHERE username='%s' AND domain = '%d'


-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria

Reply via email to