Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung Nächste Überarbeitung Beide Seiten, nächste Überarbeitung | ||
lpi2:postfix [2022/09/21 18:42] ingo_wichmann [Minimal-Konfiguration] |
lpi2:postfix [2022/09/21 20:01] ingo_wichmann [Postfix] |
||
---|---|---|---|
Zeile 7: | Zeile 7: | ||
==== Debian ==== | ==== Debian ==== | ||
- | exim Konfigurationsdateien direkt bei der Installation von Postfix entfernen: (( entsprechende Lösung für ''aptitude'' noch gesucht. )) | + | exim Konfigurationsdateien direkt bei der Installation von Postfix entfernen: |
apt --purge install postfix | apt --purge install postfix | ||
Zeile 34: | Zeile 34: | ||
postconf -e "myhostname = $(hostname -f)" | postconf -e "myhostname = $(hostname -f)" | ||
postconf -e "mydomain = $(hostname -d)" | postconf -e "mydomain = $(hostname -d)" | ||
- | postconf -e 'mynetworks = 127.0.0.0/8 [::1]/128' | ||
- | for PARAMETER in mydestination inet_interfaces smtpd_recipient_restrictions smtpd_relay_restrictions default_transport relay_transport; | + | for PARAMETER in mydestination inet_interfaces mynetworks smtpd_recipient_restrictions smtpd_relay_restrictions default_transport relay_transport; |
do | do | ||
postconf -# $PARAMETER; | postconf -# $PARAMETER; |