Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
lpi2:postfix-dovecot-imapd [2019/10/30 10:23] ingo_wichmann [Dovecot Maildir Konfiguration] |
lpi2:postfix-dovecot-imapd [2022/05/20 09:15] |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== postfix und dovecot-imapd verbinden ====== | ||
- | Vorraussetzung: [[postfix]] | ||
- | ===== Einfach: Maildir ===== | ||
- | ==== Dovecot Maildir Konfiguration ==== | ||
- | <file txt /etc/dovecot/conf.d/10-mail.conf> | ||
- | … | ||
- | mail_location = maildir:~/Maildir | ||
- | … | ||
- | </file> | ||
- | |||
- | service dovecot reload | ||
- | === prüfen === | ||
- | doveconf mail_location | ||
- | |||
- | ==== Postfix Maildir Konfiguration ==== | ||
- | |||
- | ''/etc/postfix/main.cf'' : ( Debian ab 5.0, openSuSE 12.1 ) | ||
- | <file> | ||
- | home_mailbox = Maildir/ | ||
- | mailbox_command = | ||
- | </file> | ||
- | |||
- | === Testen mit mutt === | ||
- | <file txt ~/.muttrc> | ||
- | set mbox_type=Maildir | ||
- | set folder="~/Maildir/" | ||
- | set mbox="~/Maildir/" | ||
- | set spoolfile="~/Maildir/" | ||
- | </file> | ||
- | |||
- | ===== Performanter: LMTP ===== | ||
- | === Pakete === | ||
- | Debian (7): ''dovecot-lmtpd'' | ||
- | |||
- | ==== Dovecot 2.x ==== | ||
- | ( Debian 8 ) | ||
- | <file raw /etc/dovecot/conf.d/10-auth.conf> | ||
- | auth_username_format = %Ln | ||
- | </file> | ||
- | ((''auth_username_format'' ist essentiell, weil [[wpde>LMTP]] bei der Zustellung nach diesem Verzeichnis sucht)) | ||
- | |||
- | ( openSuSE 12.1, debian 8 )\\ | ||
- | <file raw /etc/dovecot/conf.d/10-master.conf> | ||
- | service lmtp { | ||
- | unix_listener /var/spool/postfix/private/dovecot-lmtp { | ||
- | group = postfix | ||
- | mode = 0660 | ||
- | user = postfix | ||
- | } | ||
- | } | ||
- | </file> | ||
- | |||
- | ( openSUSE Leap 42.1, debian 8 )\\ | ||
- | Existiert noch kein ''~./Maildir'', schlägt die storage auto detection von dovecot fehl. | ||
- | <file raw /etc/dovecot/conf.d/10-mail.conf> | ||
- | mail_location = maildir:~/Maildir | ||
- | </file> | ||
- | |||
- | ==== Postfix ==== | ||
- | postconf -e 'mailbox_transport = lmtp:unix:private/dovecot-lmtp' | ||
- | |||
- | ====== Dokumentation ====== | ||
- | * http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP |