linux:grommunio-linux
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| linux:grommunio-linux [2022/12/15 13:20] – [Autoriser le relay pour les users authentifiés] root | linux:grommunio-linux [2023/07/14 19:01] (Version actuelle) – [Autoriser le relay pour les users authentifiés] root | ||
|---|---|---|---|
| Ligne 380: | Ligne 380: | ||
| chown root:grodav / | chown root:grodav / | ||
| chmod 770 / | chmod 770 / | ||
| + | |||
| + | |||
| + | Modifs du 31/12/2022 | ||
| + | <code bash> | ||
| + | |||
| + | ln -s / | ||
| + | ln -s / | ||
| + | chmod 770 / | ||
| + | |||
| + | </ | ||
| ===== Tips & tricks ===== | ===== Tips & tricks ===== | ||
| ==== Activer le port submission ==== | ==== Activer le port submission ==== | ||
| Ligne 406: | Ligne 416: | ||
| https:// | https:// | ||
| - | apt install sasl2-bin | + | - Installer le paquet <code bash>apt install sasl2-bin</ |
| - | + | - Modifier le fichier de config: <code bash>nano / | |
| - | nano / | + | |
| START=yes | START=yes | ||
| - | + | NAME=" | |
| - | MECHANISMS=" | + | MECHANISMS=" |
| MECH_OPTIONS=" | MECH_OPTIONS=" | ||
| - | THREADS=0 | + | THREADS=5 |
| - | OPTIONS=" | + | OPTIONS=" |
| + | </ | ||
| + | - Créer les répertoires nécessaires: | ||
| mkdir -p / | mkdir -p / | ||
| - | usermod -aG sasl postfix | + | chown root:sasl / |
| + | usermod -a -G sasl postfix | ||
| service postfix restart | service postfix restart | ||
| service saslauthd restart | service saslauthd restart | ||
| + | </ | ||
| + | - Editer le fichier pam: <code bash> | ||
| + | auth required pam_gromox.so service=smtp | ||
| + | account required pam_permit.so</ | ||
| + | - Ajouter un fichier de configuration postfix: <code bash> | ||
| + | nano / | ||
| + | mech_list: PLAIN LOGIN | ||
| + | saslauthd_path: | ||
| + | - Modifier le fichier de config postfix: <code bash> | ||
| + | cyrus_sasl_config_path = / | ||
| + | smtpd_sasl_auth_enable = yes | ||
| + | smtpd_sasl_service = smtpd | ||
| + | broken_sasl_auth_clients = yes | ||
| + | smtpd_sasl_security_options = noanonymous | ||
| + | smtpd_sasl_local_domain = | ||
| + | </ | ||
| ==== Backup / Transfert ==== | ==== Backup / Transfert ==== | ||
| <code bash> | <code bash> | ||
linux/grommunio-linux.1671110421.txt.gz · Dernière modification : de root
