AlternC/etc/alternc/templates/postfix/mytransport.cf

13 lines
437 B
CFEngine3
Raw Normal View History

#
# WARNING: Do not edit this file, edit the one in /etc/alternc/templates and launch alternc.install again.
#
user = %%db_mail_user%%
password = %%db_mail_pwd%%
hosts =%%dbhost%%
dbname = %%dbname%%
query = SELECT delivery FROM mailbox JOIN address ON address.id = mailbox.address_id JOIN domaines ON domaines.id = address.domain_id WHERE address.address=SUBSTRING_INDEX('%s','@',1) AND domaines.domaine=SUBSTRING_INDEX('%s','@',1)