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

12 lines
483 B
CFEngine3
Raw Normal View History

#
# %%warning_message%%
#
2012-04-16 14:21:10 +00:00
user = %%db_mail_user%%
password = %%db_mail_pwd%%
hosts =%%dbhost%%
dbname = %%dbname%%
query = select concat( if(isnull(mailbox.id), '', concat(concat(address.address,'@',domaines.domaine), '\n')), recipient.recipients ) from recipient join address on address.id = recipient.address_id left outer join mailbox on mailbox.address_id = address.id join domaines on domaines.id = address.domain_id where concat(address.address,'@',domaines.domaine)='%s';
2012-04-13 09:57:28 +00:00