Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
lpi2:postfix-dovecot-imapd [2022/12/21 20:41] 127.0.0.1 Externe Bearbeitung |
lpi2:postfix-dovecot-imapd [2024/04/25 09:04] (aktuell) |
||
---|---|---|---|
Zeile 49: | Zeile 49: | ||
auth_username_format = %Ln | auth_username_format = %Ln | ||
… | … | ||
- | </file> | + | </file>((''auth_username_format'' ist essentiell, weil [[wpde>LMTP]] bei der Zustellung nach diesem Verzeichnis sucht. |
- | ((''auth_username_format'' ist essentiell, weil [[wpde>LMTP]] bei der Zustellung nach diesem Verzeichnis sucht. | + | |
* ''L'' = lowercase, email-Adresse wird in Kleinbuchstaben umgewandelt | * ''L'' = lowercase, email-Adresse wird in Kleinbuchstaben umgewandelt | ||
* ''n'' = nur Benutzername | * ''n'' = nur Benutzername | ||
Zeile 56: | Zeile 55: | ||
Ersetzung siehe https://doc.dovecot.org/configuration_manual/config_file/config_variables/ | Ersetzung siehe https://doc.dovecot.org/configuration_manual/config_file/config_variables/ | ||
)) | )) | ||
+ | doveconf auth_username_format | ||
openSuSE 12.1, debian (ab 8): | openSuSE 12.1, debian (ab 8): | ||
Zeile 71: | Zeile 71: | ||
Konfiguration prüfen: | Konfiguration prüfen: | ||
- | doveconf -n -m lmtp | + | doveconf protocols |
+ | doveconf -n | ||
Dienst neu starten: | Dienst neu starten: | ||
Zeile 77: | Zeile 78: | ||
Prüfen, ob dovecot den Socket angelegt hat: | Prüfen, ob dovecot den Socket angelegt hat: | ||
- | ls -l /var/spool/postfix/private/dovecot-lmtp | + | namei -l /var/spool/postfix/private/dovecot-lmtp |
+ | lsof /var/spool/postfix/private/dovecot-lmtp | ||
==== Postfix Konfiguration ==== | ==== Postfix Konfiguration ==== | ||
postconf -e 'mailbox_transport = lmtp:unix:private/dovecot-lmtp' | postconf -e 'mailbox_transport = lmtp:unix:private/dovecot-lmtp' | ||
- | ===== Trusted Networks ===== | ||
- | Zu Testzwecken das eigene Netz als ''mynetworks'' eintragen, also statt /32 ein /24 | ||
- | postconf mynetworks | ||
- | mynetworks='127.0.0.1/32 192.168.225.102/32 [::1]/128 [fe80::5054:ff:fe00:102]/12' | ||
- | postconf mynetworks='127.0.0.1/32 192.168.225.0/24 [::1]/128 [fe80::5054:ff:fe00:102]/12' | ||
====== Dokumentation ====== | ====== Dokumentation ====== | ||
* http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP | * http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP |