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 Next revision Both sides next revision | ||
plu:install_postfix [2014/01/25 13:51] gunn [Config aliases file to receive mail addressed to root] |
plu:install_postfix [2016/04/13 16:13] gunn [Example transport file] |
||
---|---|---|---|
Line 11: | Line 11: | ||
postmap /etc/postfix/transport | postmap /etc/postfix/transport | ||
</code> | </code> | ||
- | * After editing master.cf or man.cf should restart postfix as root | + | * After editing master.cf or main.cf should restart postfix as root |
<code bash> | <code bash> | ||
/etc/init.d/postfix restart | /etc/init.d/postfix restart | ||
Line 87: | Line 87: | ||
* 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> | ||
Line 94: | Line 97: | ||
===== Config aliases file to receive mail addressed to root ===== | ===== Config aliases file to receive mail addressed to root ===== | ||
- | * FIXME | + | |
* edit // /etc/aliases// to get all mail the system will send to root & postmaster | * edit // /etc/aliases// to get all mail the system will send to root & postmaster | ||
* After editing run this as root: | * After editing run this as root: | ||
Line 107: | Line 110: | ||
<file> | <file> | ||
# /etc/aliases | # /etc/aliases | ||
- | root: gunn | + | root: webman |
mailer-daemon: postmaster | mailer-daemon: postmaster | ||
- | postmaster: gunn | + | postmaster: webman |
nobody: root | nobody: root | ||
hostmaster: root | hostmaster: root |