Updated postfix configuration to be compliant with the new model.
This commit is contained in:
parent
2659b2034f
commit
3eb248a80b
|
@ -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';
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue