Benutzer-Werkzeuge

Webseiten-Werkzeuge


dovecot_install

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
dovecot_install [2023/01/07 15:59] robindovecot_install [2023/01/12 21:09] (aktuell) robin
Zeile 1: Zeile 1:
 +====== Dovecot installieren und konfigurieren ======
 +
 root@dovecot:~# uname -a\\ root@dovecot:~# uname -a\\
 Linux dovecot 5.15.83-1-pve #1 SMP PVE 5.15.83-1 (2022-12-15T00:00Z) x86_64 GNU/Linux\\ Linux dovecot 5.15.83-1-pve #1 SMP PVE 5.15.83-1 (2022-12-15T00:00Z) x86_64 GNU/Linux\\
Zeile 18: Zeile 20:
 default_pass_scheme = SSHA default_pass_scheme = SSHA
 </code> </code>
-# vi **/etc/dovecot/conf.d/10-master.conf**+# vi **/etc/dovecot/conf.d/10-auth.conf**
 <code> <code>
 [...] [...]
 +auth_mechanisms = plain login
 +#!include auth-system.conf.ext
 !include auth-ldap.conf.ext !include auth-ldap.conf.ext
 [...] [...]
Zeile 30: Zeile 34:
 ssl_cert = </opt/certs/grml.de/fullchain.cer ssl_cert = </opt/certs/grml.de/fullchain.cer
 ssl_key = </opt/certs/grml.de/grml.de.key ssl_key = </opt/certs/grml.de/grml.de.key
 +ssl_dh = </etc/dovecot/dh.pem
 +ssl_min_protocol = TLSv1.2
 +ssl_cipher_list = ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
 +ssl_prefer_server_ciphers = no
 [...] [...]
 </code> </code>
 +# openssl dhparam -out /etc/dovecot/dh.pem 4096\\
 # doveadm user robin # doveadm user robin
 <code> <code>
Zeile 76: Zeile 85:
 </code> </code>
 # useradd vmail\\ # useradd vmail\\
 +# doveadm user robin
 +<code>
 +field   value
 +uid     vmail
 +gid     vmail
 +home    /home/vmail/mailboxes/robin
 +mail    maildir:~/mail:LAYOUT=fs
 +</code>
 # vi **/etc/dovecot/conf.d/10-master.conf** # vi **/etc/dovecot/conf.d/10-master.conf**
 <code> <code>
Zeile 86: Zeile 103:
   }   }
   user = vmail   user = vmail
 +}
 +[...]
 +service auth {
 +  unix_listener auth-userdb {
 +    #mode = 0666
 +    #user = 
 +    #group = 
 +  }
 +  inet_listener {
 +    port = 234
 +  }
 } }
 [...] [...]
 </code> </code>
 +# vi **/etc/dovecot/conf.d/20-managesieve.conf** 
 +<code> 
 +protocols = $protocols sieve 
 +service managesieve-login { 
 +  inet_listener sieve { 
 +    port = 4190 
 +  } 
 +
 +</code> 
 +# vi **/etc/dovecot/conf.d/20-imap.conf** 
 +<code> 
 +protocol imap { 
 +  mail_plugins = $mail_plugins imap_sieve 
 +
 +</code> 
 +# vi **/etc/dovecot/conf.d/20-lmtp.conf** 
 +<code> 
 +protocol imap { 
 +  mail_plugins = $mail_plugins sieve notify push_notification 
 +
 +</code>
dovecot_install.1673103583.txt.gz · Zuletzt geändert: 2023/01/07 15:59 von robin