wmdeit-cf-wmdelib/templates/sympa/postfix-virtual-mailbox-map...

10 lines
374 B
Plaintext

user = {{db_user}}
password = {{db_pass}}
hosts = {{db_host}}
dbname = {{db_name}}
query = SELECT 'present' FROM list_table WHERE name_list='%u'
or name_list = replace('%u', '-request', '')
or name_list = replace('%u', '-editor', '')
or name_list = replace('%u', '-subscribe', '')
or name_list = replace('%u', '-unsubscribe', '')