From 65dc86838b1c8ba12a5701d8fcce2bc0c17a704e Mon Sep 17 00:00:00 2001 From: valentin Date: Mon, 11 Nov 2019 15:28:54 +0100 Subject: [PATCH] update --- MailServerInstall.md | 51 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/MailServerInstall.md b/MailServerInstall.md index e99599a..a08aca1 100644 --- a/MailServerInstall.md +++ b/MailServerInstall.md @@ -51,11 +51,60 @@ smtp inet n - - - - smtpd ```text hosts = 127.0.0.1 user = postfix - password = Mot de passe Mysql Postfix + password = **Mot de passe Mysql Postfix** dbname = postfix select_field = 'virtual' table = domaines where_field = domaine 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 + ``` \ No newline at end of file