Dovecot » Historique » Version 3
Patrice Nadeau, 2014-08-20 21:22
1 | 2 | Patrice Nadeau | %{font-size:18pt}Dovecot% |
---|---|---|---|
2 | 1 | Patrice Nadeau | |
3 | 3 | Patrice Nadeau | > Issue : #17 |
4 | |||
5 | 2 | Patrice Nadeau | ---- |
6 | 1 | Patrice Nadeau | |
7 | 2 | Patrice Nadeau | {{toc}} |
8 | 1 | Patrice Nadeau | |
9 | 2 | Patrice Nadeau | Serveur de courriel POP/IMAP. |
10 | |||
11 | 1 | Patrice Nadeau | http://www.dovecot.org/ |
12 | |||
13 | Les fichiers de configuration sont : |
||
14 | 2 | Patrice Nadeau | * _/etc/dovecot/dovecot.conf_ |
15 | |||
16 | h1. Installation |
||
17 | 3 | Patrice Nadeau | |
18 | 2 | Patrice Nadeau | <pre><code class="bash"> |
19 | zypper install dovecot |
||
20 | chkconfig -a dovecot |
||
21 | rcdovecot start |
||
22 | 3 | Patrice Nadeau | </code></pre> |
23 | |||
24 | Pour utiliser un mot de passe non encrypté, ajouter/modifier dans _/etc/dovecot/conf.d/10-auth.conf_ : |
||
25 | <pre><code class="bash"> |
||
26 | disable_plaintext_auth = no |
||
27 | </code></pre> |
||
28 | |||
29 | h2. Sécurité |
||
30 | |||
31 | Pour utiliser l’encryption |
||
32 | Dans le répertoire _/usr/share/doc/packages/dovecot_ |
||
33 | # Modifier le fichier _dovecot-openssl.cnf_ |
||
34 | # Exécuter le script _mkcert.sh_ |
||
35 | |||
36 | Modifier le fichier _/etc/dovecot/conf.d/10-ssl.conf_ |
||
37 | <pre><code class="bash"> |
||
38 | ssl=yes |
||
39 | ssl_cert = </etc/ssl/certs/dovecot.pem |
||
40 | ssl_key = </etc/ssl/private/dovecot.pem |
||
41 | </code></pre> |
||
42 | |||
43 | Pour activer l’authentification PAM (utilisateurs locaux), ajouter dans _/etc/pam.d/dovevcot_ : |
||
44 | <pre><code class="bash"> |
||
45 | auth required pam_unix.so nullok |
||
46 | account required pam_unix.so |
||
47 | 2 | Patrice Nadeau | </code></pre> |