lpi2:postfix
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| lpi2:postfix [2022/09/21 18:42] – [Minimal-Konfiguration] ingo_wichmann | lpi2:postfix [2026/03/04 11:20] (aktuell) – [Testen] ingo_wichmann | ||
|---|---|---|---|
| Zeile 3: | Zeile 3: | ||
| ===== Benötigte Pakete ===== | ===== Benötigte Pakete ===== | ||
| - | SuSE, Debian, RedHat: | + | SuSE, Debian, Ubuntu, RedHat: |
| - | | + | |
| ==== Debian ==== | ==== Debian ==== | ||
| - | exim Konfigurationsdateien direkt bei der Installation von Postfix entfernen: | + | exim Konfigurationsdateien direkt bei der Installation von Postfix entfernen: |
| apt --purge install postfix | apt --purge install postfix | ||
| Zeile 14: | Zeile 13: | ||
| dpkg-query -W -f=' | dpkg-query -W -f=' | ||
| )) | )) | ||
| - | ==== SuSE ==== | ||
| - | SuSE hat seine eigenen Vorstellungen, | ||
| - | < | ||
| - | MAIL_CREATE_CONFIG=" | ||
| - | </ | ||
| - | |||
| - | ==== RedHat ==== | ||
| - | Für RedHat wird auch das Paket '' | ||
| ===== Konfiguration ===== | ===== Konfiguration ===== | ||
| Zeile 29: | Zeile 20: | ||
| ==== Postfix ==== | ==== Postfix ==== | ||
| - | In der Folge werden sinnvolle Werte für '' | + | In der Folge werden sinnvolle Werte für '' |
| <code bash> | <code bash> | ||
| - | |||
| postconf -e " | postconf -e " | ||
| postconf -e " | postconf -e " | ||
| - | postconf -e ' | ||
| - | for PARAMETER in mydestination inet_interfaces smtpd_recipient_restrictions smtpd_relay_restrictions default_transport relay_transport; | + | for PARAMETER in mydestination inet_interfaces |
| do | do | ||
| postconf -# $PARAMETER; | postconf -# $PARAMETER; | ||
| done; | done; | ||
| + | postconf -e ' | ||
| </ | </ | ||
| Zeile 47: | Zeile 37: | ||
| ===== Testen ===== | ===== Testen ===== | ||
| - | lsof -i :25 | + | lsof -Pni :25 |
| netcat -v localhost 25 | netcat -v localhost 25 | ||
| Zeile 61: | Zeile 51: | ||
| . | . | ||
| quit | quit | ||
| + | |||
| + | |||
| + | ====== Übersichtsbild Postfix Konfiguration ====== | ||
| + | {{ : | ||
| + | Original von Michael Nausch: https:// | ||
| ====== Links ====== | ====== Links ====== | ||
| * http:// | * http:// | ||
lpi2/postfix.1663785726.txt.gz · Zuletzt geändert: 2022/09/21 18:42 von ingo_wichmann
