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%%
hosts =%%dbhost%%
dbname = %%dbname%%
table = mail_alias
select_field = alias
where_field = mail
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';

View File

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

View File

@ -6,6 +6,5 @@ user = %%dbuser%%
password = %%dbpwd%%
hosts =%%dbhost%%
dbname = %%dbname%%
table = mail_users
select_field = uid
where_field = alias
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'

View File

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