lpi2:postfix-virtual-domains
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| lpi2:postfix-virtual-domains [2024/08/07 06:24] – ingo_wichmann | lpi2:postfix-virtual-domains [2024/08/10 13:08] (aktuell) – ingo_wichmann | ||
|---|---|---|---|
| Zeile 11: | Zeile 11: | ||
| postmap hash:/ | postmap hash:/ | ||
| + | -> erzeugt ''/ | ||
| Domain nachschlagen testen: | Domain nachschlagen testen: | ||
| postmap -q example.com hash:/ | postmap -q example.com hash:/ | ||
| + | -> '' | ||
| <file txt / | <file txt / | ||
| # postmap hash:/ | # postmap hash:/ | ||
| Zeile 26: | Zeile 27: | ||
| Empfänger nachschlagen testen: | Empfänger nachschlagen testen: | ||
| postmap -q postmaster@example.com hash:/ | postmap -q postmaster@example.com hash:/ | ||
| - | | + | -> '' |
| + | | ||
| + | -> '' | ||
| ===== Postfix konfigurieren ===== | ===== Postfix konfigurieren ===== | ||
| <file txt / | <file txt / | ||
| + | mydestination = localhost | ||
| + | |||
| virtual_mailbox_domains = hash:/ | virtual_mailbox_domains = hash:/ | ||
| virtual_mailbox_maps | virtual_mailbox_maps | ||
| Zeile 37: | Zeile 42: | ||
| virtual_transport = lmtp: | virtual_transport = lmtp: | ||
| </ | </ | ||
| + | postfix reload | ||
| + | |||
| + | ===== testen ===== | ||
| + | Client: | ||
| + | swaks --from user1@example.com --to user2@example.com -s example.com -a -au user1@example.com -ap xxxxxx | ||
| + | -> '' | ||
| + | |||
| + | Server: | ||
| + | journalctl -g 46AE13EB41 | ||
| + | -> '' | ||
| ====== Dokumentation ====== | ====== Dokumentation ====== | ||
| * http:// | * http:// | ||
lpi2/postfix-virtual-domains.1723011846.txt.gz · Zuletzt geändert: 2024/08/07 06:24 von ingo_wichmann
