email application tips
- How to switch from sendmail to postfix and setup relay for outbound email?
I tried to use smarthost for sendmail but didn't work. Then I decided to switch from very complicated sendmail to postfix.
- install postfix,
- run "alternatives --config mta" and switch to postfix.
- Edit /etc/postfix/main.cf, and add or edit this line: relayhost = your.server.com
- restart postfix
- How to forward root email
Refer to Help forward root email to me, it's always good idea to forward emails generated by system to a centralized email account.
Post new comment