lpi2:dovecot-imapd
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| lpi2:dovecot-imapd [2019/02/12 05:24] – Externe Bearbeitung 127.0.0.1 | lpi2:dovecot-imapd [2025/03/16 06:59] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Installation dovecot-imapd ====== | ====== Installation dovecot-imapd ====== | ||
| - | Vorraussetzung: | + | Vorraussetzung: |
| + | |||
| + | * [[dovecot]] | ||
| + | * SMTP-Server | ||
| ===== Benötigte Pakete ===== | ===== Benötigte Pakete ===== | ||
| - | Debian ( ab 5.0 ): | + | * Debian ( ab 5.0 ): |
| - | | + | * openSuSE ( ab 11.4 ): '' |
| + | * centOS ( ab 6 ): '' | ||
| - | openSuSE ( ab 11.4 ): | + | ===== Authentifizierung testen |
| - | dovecot20 | + | |
| - | + | | |
| - | centOS ( ab 6 ): | + | |
| - | dovecot | + | |
| - | + | ||
| - | ===== Minimalkonfiguration Dovecot-IMAP | + | |
| - | Default Konfiguration funktioniert out of the box. Ansehen mit: | + | |
| - | | + | |
| - | + | ||
| - | === Debian 9 === | + | |
| - | Bei Debian empfehlen wir das Mailbox Format auf Maildir umzustellen: | + | |
| - | + | ||
| - | <file txt "/ | + | |
| - | … | + | |
| - | mail_location = maildir: | + | |
| - | … | + | |
| - | </ | + | |
| ===== 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 | ||
| + | |||
| + | ==== IMAP mit curl ==== | ||
| + | curl -v --url imap:// | ||
| ==== IMAP mit netcat / telnet ==== | ==== IMAP mit netcat / telnet ==== | ||
| Zeile 51: | Zeile 44: | ||
| ==== IMAP mit mutt ==== | ==== IMAP mit mutt ==== | ||
| mutt -f imap:// | mutt -f imap:// | ||
| + | |||
| + | ==== Benutzername and IP Addresse des Clients anzeigen ==== | ||
| + | Mit doveadm: | ||
| + | doveadm who | ||
| + | |||
| + | In der Prozessliste anzeige, so das man das mit ps sieht: | ||
| + | <file txt / | ||
| + | … | ||
| + | verbose_proctitle = yes | ||
| + | … | ||
| + | </ | ||
| ===== Tools ===== | ===== Tools ===== | ||
| Zeile 69: | Zeile 73: | ||
| Anschließend sind Zugriffe ohne TLS mit einem Client wie z.B. thunderbird möglich | Anschließend sind Zugriffe ohne TLS mit einem Client wie z.B. thunderbird möglich | ||
| - | ===== Sieve ===== | ||
| - | Pakete: dovecot-sieve dovecot-managesieved | ||
| - | |||
| - | require " | ||
| - | |||
| - | # | ||
| - | # 2019-2-13 | ||
| - | # | ||
| - | if header :contains " | ||
| - | fileinto " | ||
| - | stop; | ||
| - | } | ||
lpi2/dovecot-imapd.1549949081.txt.gz · Zuletzt geändert: 2019/02/12 05:24 von 127.0.0.1
