Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung | |||
lpi2:dovecot-imapd [2019/10/30 11:05] ingo_wichmann [Authentifizierung testen] |
lpi2:dovecot-imapd [2024/08/09 16:04] (aktuell) |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Installation dovecot-imapd ====== | ====== Installation dovecot-imapd ====== | ||
Vorraussetzung: | Vorraussetzung: | ||
+ | |||
+ | * [[dovecot]] | ||
* SMTP-Server übergibt Mails an Dovecot ( z.B. [[postfix-dovecot-imapd]] ) | * SMTP-Server übergibt Mails an Dovecot ( z.B. [[postfix-dovecot-imapd]] ) | ||
Zeile 7: | Zeile 9: | ||
* openSuSE ( ab 11.4 ): ''dovecot20'' | * openSuSE ( ab 11.4 ): ''dovecot20'' | ||
* centOS ( ab 6 ): ''dovecot'' | * centOS ( ab 6 ): ''dovecot'' | ||
- | |||
- | ===== Minimalkonfiguration Dovecot-IMAP ===== | ||
- | Default Konfiguration funktioniert out of the box. Ansehen mit: | ||
- | doveconf -N | ||
- | |||
- | ===== Mehr Logmeldungen ===== | ||
- | Nur wärend der Testphase | ||
- | |||
- | <file txt /etc/dovecot/conf.d/10-logging.conf> | ||
- | … | ||
- | auth_verbose = yes | ||
- | … | ||
- | auth_debug = yes | ||
- | … | ||
- | mail_debug = yes | ||
- | … | ||
- | </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 ===== | ===== Authentifizierung testen ===== | ||
Zeile 41: | Zeile 19: | ||
swaks -f iw@test -t nutzer15@localhost -s localhost | swaks -f iw@test -t nutzer15@localhost -s localhost | ||
+ | |||
+ | ==== IMAP mit curl ==== | ||
+ | curl -v --url imap://localhost:143 --user testuser | ||
==== IMAP mit netcat / telnet ==== | ==== IMAP mit netcat / telnet ==== | ||
Zeile 63: | Zeile 44: | ||
==== IMAP mit mutt ==== | ==== IMAP mit mutt ==== | ||
mutt -f imap://nutzer15@localhost | mutt -f imap://nutzer15@localhost | ||
+ | |||
+ | ==== Benutzername and IP Addresse des Clients anzeigen ==== | ||
+ | Mit doveadm: | ||
+ | doveadm who | ||
+ | |||
+ | In der Prozessliste anzeige, so das man das mit ps sieht: | ||
+ | <file txt /etc/dovecot/dovecot.conf> | ||
+ | … | ||
+ | verbose_proctitle = yes | ||
+ | … | ||
+ | </file>((https://doc.dovecot.org/settings/dovecot_core_settings/#verbose_proctitle)) | ||
===== Tools ===== | ===== Tools ===== |