Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


lpi2:dovecot-imapd

Dies ist eine alte Version des Dokuments!


Installation dovecot-imapd

Vorraussetzung: ein SMTP-Server ( z.B. postfix-dovecot-imapd )

Benötigte Pakete

Debian ( ab 5.0 ):

dovecot-imapd

openSuSE ( ab 11.4 ):

dovecot20

centOS ( ab 6 ):

dovecot

Minimalkonfiguration Dovecot-IMAP

Default Konfiguration funktioniert out of the box. Ansehen mit:

doveconf -n

Debian 9

Bei Debian empfehlen wir das Mailbox Format auf Maildir umzustellen:

"/etc/dovecot/conf.d/10-mail.conf"
…
mail_location = maildir:~/Maildir
…

testen

Vor dem Testen dem Empfänger eine Mail schicken … 1)

swaks -f iw@test -t nutzer15@localhost -s localhost

IMAP mit netcat / telnet

netcat -v localhost 143
. capability
. login nutzer15 villa
. list "" "*"
. logout

Dokumentation

IMAP mit imtest

imtest -a nutzer15 -w villa localhost
. capability
. list "" "*"
. SELECT INBOX
. logout

Dokumentation

IMAP mit mutt

mutt -f imap://nutzer15@localhost

Tools

Perl-Modul für imap

http://search.cpan.org: Net::IMAP

Debian Paket: libnet-imap-perl

Plaintext

(Nur für vorübergehende Tests)

/etc/dovecot/conf.d/10-auth.conf
disable_plaintext_auth = no

Anschließend sind Zugriffe ohne TLS mit einem Client wie z.B. thunderbird möglich

Sieve

Pakete: dovecot-sieve dovecot-managesieved

require „fileinto“;

# # 2019-2-13 # if header :contains „subject“ „Termin“ {

  fileinto "Inbox.Termin";
  stop;

}

1)
Achtung Falle: Maildir muss existieren
lpi2/dovecot-imapd.1549949081.txt.gz · Zuletzt geändert: 2019/02/12 05:24 von 127.0.0.1