Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung Nächste Überarbeitung Beide Seiten, nächste Überarbeitung | ||
lpi2:postfix-dovecot-imapd [2014/02/27 00:07] ingo_wichmann |
lpi2:postfix-dovecot-imapd [2016/12/08 19:52] ingo_wichmann [Postfix Maildir Konfiguration] |
||
---|---|---|---|
Zeile 3: | Zeile 3: | ||
===== Einfach: Maildir ===== | ===== Einfach: Maildir ===== | ||
+ | ==== Dovecot Maildir Konfiguration ==== | ||
+ | ''/etc/dovecot/conf.d/10-mail.conf'' ( Debian 8 ) | ||
+ | <file> | ||
+ | mail_location = maildir:~/Maildir | ||
+ | </file> | ||
+ | |||
+ | service dovecot reload | ||
+ | === prüfen === | ||
+ | doveconf mail_location | ||
+ | |||
==== Postfix Maildir Konfiguration ==== | ==== Postfix Maildir Konfiguration ==== | ||
- | ''/etc/postfix/main.cf'' : ( Debian 5.0, openSuSE 12.1 ) | + | ''/etc/postfix/main.cf'' : ( Debian ab 5.0, openSuSE 12.1 ) |
<file> | <file> | ||
home_mailbox = Maildir/ | home_mailbox = Maildir/ | ||
mailbox_command = | mailbox_command = | ||
+ | </file> | ||
+ | |||
+ | === Testen mit mutt === | ||
+ | <file txt ~/.muttrc> | ||
+ | set mbox_type=Maildir | ||
+ | set folder="~/Maildir/" | ||
+ | set mbox="~/Maildir/" | ||
+ | set spoolfile="~/Maildir/" | ||
</file> | </file> | ||
Zeile 17: | Zeile 35: | ||
postconf -e 'mailbox_transport = lmtp:unix:private/dovecot-lmtp' | postconf -e 'mailbox_transport = lmtp:unix:private/dovecot-lmtp' | ||
- | ==== Dovecot 2.0 ==== | + | ==== Dovecot 2.0 / 2.0 ==== |
- | ''/etc/dovecot/conf.d/10-master.conf'' : ( openSuSE 12.1 ) | + | ( openSuSE 12.1 )\\ |
- | <file> | + | auth_username_format ist essentiell, weil LMTP bei der Delivery nach diesem Verzeichnis sucht! |
+ | |||
+ | <file raw /etc/dovecot/conf.d/10-master.conf> | ||
auth_username_format = %Ln | auth_username_format = %Ln | ||
service lmtp { | service lmtp { | ||
Zeile 28: | Zeile 48: | ||
} | } | ||
} | } | ||
+ | </file> | ||
+ | |||
+ | ( openSUSE Leap 42.1 )\\ | ||
+ | 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> | </file> | ||
====== Dokumentation ====== | ====== Dokumentation ====== | ||
* http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP | * http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP |