Install paclink-unix
- Configure a single MTA
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
plu:install_postfix [2014/05/30 11:51] gunn [Example /etc/aliases file] |
plu:install_postfix [2018/10/16 14:02] (current) gunn [After editing files] |
||
|---|---|---|---|
| Line 13: | Line 13: | ||
| * After editing master.cf or main.cf should restart postfix as root | * After editing master.cf or main.cf should restart postfix as root | ||
| <code bash> | <code bash> | ||
| + | # systemd way | ||
| + | systemctl restart postfix | ||
| + | # System V init way | ||
| /etc/init.d/postfix restart | /etc/init.d/postfix restart | ||
| </code> | </code> | ||
| Line 85: | Line 88: | ||
| nixgate local: | nixgate local: | ||
| nixgate.localnet local: | nixgate.localnet local: | ||
| + | nixgate.localhost local: | ||
| * wl2k:localhost | * wl2k:localhost | ||
| </file> | </file> | ||
| + | * whenever you edit the transport table as root execute the command: | ||
| + | <code bash> | ||
| + | postmap /etc/postfix/transport | ||
| + | </code> | ||
| ===== Example /etc/mailname file ===== | ===== Example /etc/mailname file ===== | ||
| <file> | <file> | ||