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/13 15:13]
ingo_wichmann
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))
  
 <file txt /​etc/​dovecot/​local.conf>​ <file txt /​etc/​dovecot/​local.conf>​
  
-mail_location ​= maildir:~/Maildir+mail_driver ​= maildir 
 +mail_path = %{home}/Maildir 
 +mail_inbox_path = . 
  
 </​file>​ </​file>​
  
 === prüfen === === prüfen ===
-  doveconf ​mail_location +  doveconf ​mail_driver 
--> gibt aus: ''​mail_location = maildir:​~/​Maildir''​+  ​doveconf mail_path 
 +  doveconf mail_inbox_path
  
 ===== per LMTP von Postfix zu Dovecot ===== ===== per LMTP von Postfix zu Dovecot =====
-=== Pakete === 
-Debian (ab 7): ''​dovecot-lmtpd''​ 
- 
 ==== dovecot Konfiguration ==== ==== dovecot Konfiguration ====
-Debian (ab 8): 
 <file txt /​etc/​dovecot/​local.conf>​ <file txt /​etc/​dovecot/​local.conf>​
  
-auth_username_format = %Ln+#auth_username_format = %{user | username | lower } # already set similar in /​etc/​dovecot/​conf.d/​20-lmtp.conf,​ but for lmtp only?
  
-</​file>​((''​auth_username_format''​ ist essentiell, weil [[wpde>​LMTP]] bei der Zustellung nach diesem Verzeichnis sucht.  +</​file>​
-  * ''​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''​+
  
-openSuSE 12.1, debian (ab 8):  
 <file raw /​etc/​dovecot/​local.conf>​ <file raw /​etc/​dovecot/​local.conf>​
  
Zeile 60: 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 74: 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.1755098029.txt.gz · Zuletzt geändert: 2025/08/13 15:13 von ingo_wichmann