Updated postfix configuration to be compliant with the new model.

This commit is contained in:
Alexis Lahouze 2011-06-04 13:19:51 +00:00
parent 2659b2034f
commit 3eb248a80b
4 changed files with 5 additions and 12 deletions

View File

@ -6,7 +6,5 @@ user = %%dbuser%%
password = %%dbpwd%% password = %%dbpwd%%
hosts =%%dbhost%% hosts =%%dbhost%%
dbname = %%dbname%% dbname = %%dbname%%
table = mail_alias query = select concat(if(isnull(mailbox.id), '', concat(address.address, '\n')), recipient.recipient) from recipient join address on address.id = recipient.address_id left outer join mailbox on mailbox.address_id = address.id where address.address='%s';
select_field = alias
where_field = mail

View File

@ -6,7 +6,5 @@ user = %%dbuser%%
password = %%dbpwd%% password = %%dbpwd%%
hosts =%%dbhost%% hosts =%%dbhost%%
dbname = %%dbname%% dbname = %%dbname%%
table = mail_domain query = select domaines.domaine from domaines where domaine='%s' and gesmx=1;
select_field = alias
where_field = mail

View File

@ -6,6 +6,5 @@ user = %%dbuser%%
password = %%dbpwd%% password = %%dbpwd%%
hosts =%%dbhost%% hosts =%%dbhost%%
dbname = %%dbname%% dbname = %%dbname%%
table = mail_users query = select compte from domaines join address on address.domain_id = domaines.id join mailbox on mailbox.address_id = address.id where address.address='%s'
select_field = uid
where_field = alias

View File

@ -6,7 +6,5 @@ user = %%dbuser%%
password = %%dbpwd%% password = %%dbpwd%%
hosts =%%dbhost%% hosts =%%dbhost%%
dbname = %%dbname%% dbname = %%dbname%%
table = mail_users select concat(path, '/Maildir/') from mailbox join address on address.id = mailbox.address_id where address.address='%s'
select_field = path
where_field = alias