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/08/16 13:16] – [Grommunio-dav (WIP)] root | linux:grommunio-linux [2023/07/14 19:01] (Version actuelle) – [Autoriser le relay pour les users authentifiés] root | ||
|---|---|---|---|
| Ligne 167: | Ligne 167: | ||
| - Quelques commandes pour configurer postfix: <code bash> | - Quelques commandes pour configurer postfix: <code bash> | ||
| postconf -e virtual_mailbox_domains=mysql:/ | postconf -e virtual_mailbox_domains=mysql:/ | ||
| - | postconf -e virtual_transport=" | + | postconf -e virtual_transport=" |
| postconf -e mynetworks=" | postconf -e mynetworks=" | ||
| postconf -e smtpd_banner=' | postconf -e smtpd_banner=' | ||
| 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 403: | Ligne 413: | ||
| ==== Autoriser le relay pour les users authentifiés ==== | ==== Autoriser le relay pour les users authentifiés ==== | ||
| - | nano /etc/postfix/ | + | Work in progress |
| - | -o smtpd_recipient_restrictions=reject_non_fqdn_recipient, | + | https://community.grommunio.com/ |
| - | Remplacer reject par reject_unauth_destination | + | - Installer le paquet <code bash>apt install sasl2-bin</ |
| + | - Modifier le fichier de config: <code bash> | ||
| + | START=yes | ||
| + | NAME=" | ||
| + | MECHANISMS=" | ||
| + | MECH_OPTIONS=" | ||
| + | THREADS=5 | ||
| + | OPTIONS=" | ||
| + | </ | ||
| + | - Créer les répertoires nécessaires: | ||
| + | mkdir -p / | ||
| + | chown root:sasl / | ||
| + | usermod -a -G sasl postfix | ||
| + | service postfix 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> | ||
| Ligne 450: | Ligne 490: | ||
| <file - grommunio-web.conf> | <file - grommunio-web.conf> | ||
| fastcgi_buffer_size 32k;</ | fastcgi_buffer_size 32k;</ | ||
| + | |||
| + | ==== Debug ==== | ||
| + | * dans / | ||
| + | * dans / | ||
| + | |||
| + | ==== Droits en console ==== | ||
| + | <code bash># Voir les dossiers | ||
| + | grommunio-admin exmdb shared-user@mail.com folder list | ||
| + | |||
| + | |||
| + | # Voir les permissions sur le dossier principal | ||
| + | grommunio-admin exmdb shared-user@mail.com folder permissions 0x9 user@mail.com | ||
| + | |||
| + | # Voir les permissions sur le dossier calendar | ||
| + | grommunio-admin exmdb shared-user@mail.com folder permissions 0xf user@mail.com | ||
| + | |||
| + | # Donner la permission foldervisible à user pour le compte shared-user | ||
| + | grommunio-admin exmdb shared-user@mail.com folder grant 0xf user@mail.com | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== Autodiscover issue ==== | ||
| + | https:// | ||
| + | |||
| + | |||
| + | https:// | ||
| + | |||
| + | <code registry> | ||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover] | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | “ExcludeHttpsAutoDiscoverDomain" | ||
| + | “ExcludeHttpRedirect" | ||
| + | “ExcludeScpLookup" | ||
| + | “ExcludeSrvRecord" | ||
| + | “EnableOffice365ConfigService" | ||
| + | |||
linux/grommunio-linux.1660655790.txt.gz · Dernière modification : de root
