Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
| Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung | ||
|
lpi2:postfix [2026/01/23 12:01] ingo_wichmann |
lpi2:postfix [2026/03/04 11:20] (aktuell) ingo_wichmann [Testen] |
||
|---|---|---|---|
| Zeile 29: | Zeile 29: | ||
| postconf -# $PARAMETER; | postconf -# $PARAMETER; | ||
| done; | done; | ||
| + | postconf -e 'mydestination = $myhostname, $mydomain, localhost.$mydomain, localhost' | ||
| </code> | </code> | ||
| Zeile 36: | Zeile 37: | ||
| ===== Testen ===== | ===== Testen ===== | ||
| - | lsof -i :25 | + | lsof -Pni :25 |
| netcat -v localhost 25 | netcat -v localhost 25 | ||
| Zeile 51: | Zeile 52: | ||
| quit | quit | ||
| - | ====== mydomain zu mydestination hinzufügen ====== | ||
| - | postconf -d mydestination | ||
| - | postconf mydomain | ||
| - | postconf mydestination='$myhostname, $mydomain, localhost.$mydomain, localhost' | ||
| - | systemctl restart postfix.service | ||
| ====== Übersichtsbild Postfix Konfiguration ====== | ====== Übersichtsbild Postfix Konfiguration ====== | ||