virtualdomains recipient_delimiter and catch-all troubles

2015-08-05 Thread Palica
WHERE address='%s' AND active='1' UNION ALL SELECT username FROM mailbox WHERE username='%s' AND active='1') Is there a better way of doing this? Or do I have to somehow manipulate %s to remove +part where it exists? I could use some hints. Thank you very much. Palica

Re: virtualdomains recipient_delimiter and catch-all troubles

2015-08-08 Thread Palica
;) ORDER BY priority LIMIT 1; Thanks Palica On 2015-08-05 11:06, Palica wrote: Hi list, I have a postfix server with virtualdomains delivery only. I use sqlite as db backend to lookup virtual aliases, domains and mailboxes. relay_domains = sqlite:/etc/postfix/sqlite_relay_domain_maps.cf rel