update
This commit is contained in:
parent
e637554da8
commit
65dc86838b
@ -51,11 +51,60 @@ smtp inet n - - - - smtpd
|
|||||||
```text
|
```text
|
||||||
hosts = 127.0.0.1
|
hosts = 127.0.0.1
|
||||||
user = postfix
|
user = postfix
|
||||||
password = Mot de passe Mysql Postfix
|
password = **Mot de passe Mysql Postfix**
|
||||||
dbname = postfix
|
dbname = postfix
|
||||||
select_field = 'virtual'
|
select_field = 'virtual'
|
||||||
table = domaines
|
table = domaines
|
||||||
where_field = domaine
|
where_field = domaine
|
||||||
additional_conditions = AND etat=1
|
additional_conditions = AND etat=1
|
||||||
```
|
```
|
||||||
|
* Contenu de `mysql-virtual_comptes.cf`
|
||||||
|
|
||||||
|
```text
|
||||||
|
hosts = 127.0.0.1
|
||||||
|
user = postfix
|
||||||
|
password = **Mot de passe Mysql Postfix**
|
||||||
|
dbname = postfix
|
||||||
|
table = comptes
|
||||||
|
select_field = CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
|
||||||
|
where_field = email
|
||||||
|
additional_conditions = AND etat=1
|
||||||
|
```
|
||||||
|
|
||||||
|
* Contenu de `mysql-virtual_aliases.cf`
|
||||||
|
|
||||||
|
```text
|
||||||
|
hosts = 127.0.0.1
|
||||||
|
user = postfix
|
||||||
|
password = **Mot de passe Mysql Postfix**
|
||||||
|
dbname = postfix
|
||||||
|
table = alias
|
||||||
|
select_field = destination
|
||||||
|
where_field = source
|
||||||
|
additional_conditions = AND etat=1
|
||||||
|
```
|
||||||
|
|
||||||
|
* Contenu de `mysql-virtual_aliases_comptes.cf`
|
||||||
|
|
||||||
|
```text
|
||||||
|
hosts = 127.0.0.1
|
||||||
|
user = postfix
|
||||||
|
password = **Mot de passe Mysql Postfix**
|
||||||
|
dbname = postfix
|
||||||
|
table = comptes
|
||||||
|
select_field = email
|
||||||
|
where_field = email
|
||||||
|
additional_conditions = AND etat=1
|
||||||
|
```
|
||||||
|
|
||||||
|
* Contenu de `mysql-virtual_quotas.cf`
|
||||||
|
|
||||||
|
```text
|
||||||
|
hosts = 127.0.0.1
|
||||||
|
user = postfix
|
||||||
|
password = **Mot de passe Mysql Postfix**
|
||||||
|
dbname = postfix
|
||||||
|
table = comptes
|
||||||
|
select_field = quota
|
||||||
|
where_field = email
|
||||||
|
```
|
||||||
Loading…
Reference in New Issue
Block a user