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

10 lines
374 B
Plaintext
Raw Normal View History

2023-10-21 20:08:35 +00:00
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', '')