Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


lpi2:postfix-dovecot-imapd

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung
lpi2:postfix-dovecot-imapd [2025/08/14 20:00] – ingo_wichmannlpi2:postfix-dovecot-imapd [2026/04/23 14:22] (aktuell) – Externe Bearbeitung 127.0.0.1
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''
  
 +Prüfen, ob über LMTP Mails zugestellt werden können:
 +  swaks --to user@example.com --socket /var/spool/postfix/private/dovecot-lmtp --protocol LMTP
 ==== 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 73:
  
 ====== Dokumentation ====== ====== Dokumentation ======
-  * http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP+  * https://doc.dovecot.org/2.4.1/core/config/delivery/lmtp.html#lmtp-server
lpi2/postfix-dovecot-imapd.txt · Zuletzt geändert: 2026/04/23 14:22 von 127.0.0.1