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:54] 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 5: Zeile 7:
  
 # vi **/etc/dovecot/dovecot-ldap.conf.ext** # vi **/etc/dovecot/dovecot-ldap.conf.ext**
- 
 <code> <code>
 hosts = 2a02:8106:4:1800:cc20:a8ff:fe90:c2a0 hosts = 2a02:8106:4:1800:cc20:a8ff:fe90:c2a0
Zeile 19: Zeile 20:
 default_pass_scheme = SSHA default_pass_scheme = SSHA
 </code> </code>
- +# vi **/etc/dovecot/conf.d/10-auth.conf**
-# vi **/etc/dovecot/conf.d/10-master.conf** +
 <code> <code>
 [...] [...]
 +auth_mechanisms = plain login
 +#!include auth-system.conf.ext
 !include auth-ldap.conf.ext !include auth-ldap.conf.ext
 [...] [...]
 </code> </code>
- 
 # vi **/etc/dovecot/conf.d/10-ssl.conf** # vi **/etc/dovecot/conf.d/10-ssl.conf**
- 
 <code> <code>
 [...] [...]
Zeile 35: 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 46: Zeile 49:
 mail    mbox:~/mail:INBOX=/var/mail/robin mail    mbox:~/mail:INBOX=/var/mail/robin
 </code> </code>
- 
 # doveadm auth test robin P@ssw0rd # doveadm auth test robin P@ssw0rd
 <code> <code>
Zeile 53: Zeile 55:
   user=robin   user=robin
 </code> </code>
- +vi **/etc/dovecot/conf.d/10-mail.conf**
-#+
 <code> <code>
 mail_uid = vmail mail_uid = vmail
Zeile 65: Zeile 66:
 namespace inbox { namespace inbox {
     inbox = yes     inbox = yes
- 
     mailbox Spam {     mailbox Spam {
         auto = subscribe         auto = subscribe
         special_use = \Junk         special_use = \Junk
     }     }
- 
     mailbox Trash {     mailbox Trash {
         auto = subscribe         auto = subscribe
         special_use = \Trash         special_use = \Trash
     }     }
- 
     mailbox Drafts {     mailbox Drafts {
         auto = subscribe         auto = subscribe
         special_use = \Drafts         special_use = \Drafts
     }     }
- 
     mailbox Sent {     mailbox Sent {
         auto = subscribe         auto = subscribe
Zeile 86: Zeile 83:
     }     }
 } }
- 
 </code> </code>
 +# 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 100: 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.1673103291.txt.gz · Zuletzt geändert: 2023/01/07 15:54 von robin