Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


fortgeschrittene:postfix-dovecot-imapd

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
fortgeschrittene:postfix-dovecot-imapd [2025/08/14 20:00]
127.0.0.1 Externe Bearbeitung
fortgeschrittene:postfix-dovecot-imapd [2025/08/30 09:57] (aktuell)
ingo_wichmann
Zeile 1: Zeile 1:
-====== postfix und dovecot-imapd verbinden ======+====== postfix und dovecot-imapd ​mit LMTP verbinden ====== 
 +Anleitung für ältere Dovecot-Versionen (bis 2.3): [[postfix-dovecot-imapd-2-3]] 
 Vorraussetzung:​ Vorraussetzung:​
-  * [[dovecot]] ( Paket ''​dovecot-imapd''​ soll installiert sein )+  * [[dovecot]] ( Paket ''​dovecot-imapd'' ​Version 2.4 soll installiert sein )
   * [[postfix]] ( Paket ''​postfix''​ soll installiert sein )   * [[postfix]] ( Paket ''​postfix''​ soll installiert sein )
 +
 +=== Pakete ===
 +Debian: ''​dovecot-lmtpd''​
  
 ===== Speicherformat für Mails ===== ===== Speicherformat für Mails =====
-Mails im Maildir-Format speichern: ((alternative ​Möglichkeiten:​ https://wiki.dovecot.org/​MailboxFormat)) +Mails im Maildir-Format speichern: ((Maildir ist nicht das von dovecot bevorzugte Format. Alternative ​Möglichkeiten:​ https://doc.dovecot.org/​2.4.1/core/config/​mailbox_formats/maildir.html#maildir-mailbox-format))
- +
-==== bis Version Dovecot ​2.3 ==== +
- +
-<file txt /etc/dovecot/local.conf> +
-… +
-mail_location = maildir:​~/​Maildir +
-… +
-</​file>​ +
- +
-=== prüfen === +
-  doveconf mail_location +
--> gibt aus: ''​mail_location = maildir:​~/​Maildir''​ +
- +
-==== ab Version Dovecot 2.4 ====+
  
 <file txt /​etc/​dovecot/​local.conf>​ <file txt /​etc/​dovecot/​local.conf>​
Zeile 35: Zeile 26:
  
 ===== per LMTP von Postfix zu Dovecot ===== ===== per LMTP von Postfix zu Dovecot =====
-=== Pakete === 
-Debian: ''​dovecot-lmtpd''​ 
- 
 ==== dovecot Konfiguration ==== ==== dovecot Konfiguration ====
-==== bis Version Dovecot 2.3 ==== 
-<file txt /​etc/​dovecot/​local.conf>​ 
- 
-auth_username_format = %Ln 
- 
-</​file>​((''​auth_username_format''​ ist essentiell, weil [[wpde>​LMTP]] bei der Zustellung nach diesem Verzeichnis sucht. ​ 
-  * ''​L''​ = lowercase, email-Adresse wird in Kleinbuchstaben umgewandelt 
-  * ''​n''​ = nur Benutzername ​ 
-  * ''​u''​ = komplette email-Adresse (Benutzername@domain) ​ 
-Ersetzung siehe https://​doc.dovecot.org/​configuration_manual/​config_file/​config_variables/​ 
-)) 
-  doveconf auth_username_format 
--> gibt aus: ''​auth_username_format = %Ln''​ 
- 
-==== ab Version Dovecot 2.4 ==== 
 <file txt /​etc/​dovecot/​local.conf>​ <file txt /​etc/​dovecot/​local.conf>​
  
Zeile 59: Zeile 32:
  
 </​file>​ </​file>​
- 
-==== Dovecot 2.3 und 2.4 ==== 
  
 <file raw /​etc/​dovecot/​local.conf>​ <file raw /​etc/​dovecot/​local.conf>​
Zeile 85: Zeile 56:
   namei -l /​var/​spool/​postfix/​private/​dovecot-lmtp   namei -l /​var/​spool/​postfix/​private/​dovecot-lmtp
   lsof /​var/​spool/​postfix/​private/​dovecot-lmtp   lsof /​var/​spool/​postfix/​private/​dovecot-lmtp
 +-> ''​TYPE''​ ... ''​unix''​
 ==== Postfix Konfiguration ==== ==== Postfix Konfiguration ====
   postconf -e '​mailbox_transport = lmtp:​unix:​private/​dovecot-lmtp'​   postconf -e '​mailbox_transport = lmtp:​unix:​private/​dovecot-lmtp'​
Zeile 99: Zeile 70:
  
 ====== Dokumentation ====== ====== Dokumentation ======
-  * http://wiki2.dovecot.org/​HowTo/PostfixDovecotLMTP+  * https://doc.dovecot.org/​2.4.1/core/​config/​delivery/​lmtp.html#​lmtp-server
fortgeschrittene/postfix-dovecot-imapd.1755201656.txt.gz · Zuletzt geändert: 2025/08/14 20:00 von 127.0.0.1