Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
lpi2:dovecot-imapd [2019/02/12 05:24] 127.0.0.1 Externe Bearbeitung |
lpi2:dovecot-imapd [2019/10/30 11:05] ingo_wichmann [Authentifizierung testen] |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Installation dovecot-imapd ====== | ====== Installation dovecot-imapd ====== | ||
- | Vorraussetzung: ein SMTP-Server ( z.B. [[postfix-dovecot-imapd]] ) | + | Vorraussetzung: |
+ | * SMTP-Server übergibt Mails an Dovecot ( z.B. [[postfix-dovecot-imapd]] ) | ||
===== Benötigte Pakete ===== | ===== Benötigte Pakete ===== | ||
- | Debian ( ab 5.0 ): | + | * Debian ( ab 5.0 ): ''dovecot-imapd'' |
- | dovecot-imapd | + | * openSuSE ( ab 11.4 ): ''dovecot20'' |
- | + | * centOS ( ab 6 ): ''dovecot'' | |
- | openSuSE ( ab 11.4 ): | + | |
- | dovecot20 | + | |
- | + | ||
- | centOS ( ab 6 ): | + | |
- | dovecot | + | |
===== Minimalkonfiguration Dovecot-IMAP ===== | ===== Minimalkonfiguration Dovecot-IMAP ===== | ||
Default Konfiguration funktioniert out of the box. Ansehen mit: | Default Konfiguration funktioniert out of the box. Ansehen mit: | ||
- | doveconf -n | + | doveconf -N |
- | === Debian 9 === | + | ===== Mehr Logmeldungen ===== |
- | Bei Debian empfehlen wir das Mailbox Format auf Maildir umzustellen: | + | Nur wärend der Testphase |
- | <file txt "/etc/dovecot/conf.d/10-mail.conf"> | + | <file txt /etc/dovecot/conf.d/10-logging.conf> |
… | … | ||
- | mail_location = maildir:~/Maildir | + | auth_verbose = yes |
+ | … | ||
+ | auth_debug = yes | ||
+ | … | ||
+ | mail_debug = yes | ||
… | … | ||
</file> | </file> | ||
+ | |||
+ | ===== Benutzername and IP Addresse des Clients in ps anzeigen ===== | ||
+ | <file txt /etc/dovecot/dovecot.conf> | ||
+ | … | ||
+ | verbose_proctitle = yes | ||
+ | … | ||
+ | </file>((https://doc.dovecot.org/settings/dovecot_core_settings/#verbose_proctitle)) | ||
+ | |||
+ | ===== Authentifizierung testen ===== | ||
+ | doveadm user nutzer15 | ||
+ | doveadm auth login nutzer15 | ||
+ | doveadm auth test nutzer15 | ||
===== testen ===== | ===== testen ===== | ||
- | Vor dem Testen dem Empfänger eine Mail schicken ... ((Achtung Falle: Maildir muss existieren)) | + | Vor dem Testen dem Empfänger eine Mail schicken ... |
swaks -f iw@test -t nutzer15@localhost -s localhost | swaks -f iw@test -t nutzer15@localhost -s localhost |