Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
lpi2:dovecot-imapd [2019/10/30 10:20] ingo_wichmann [Minimalkonfiguration Dovecot-IMAP] |
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 ===== | ||
Zeile 11: | Zeile 12: | ||
doveconf -N | doveconf -N | ||
- | === Speicherformat für Mails === | + | ===== Mehr Logmeldungen ===== |
- | Wir empfehlen die Mails im Maildir-Format zu speichern: ((alternative Möglichkeiten: https://wiki.dovecot.org/MailboxFormat)) | + | 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 |