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