I had been doing quite a lot of sys administration lately, for fun and professionally. I like adhering to standards and keeping things in respective directories.
The document that describes filesystem hierarchy standard, is quite big. Yes, I had to read it to put my OCD at ease. But here is the cheat sheet for you!
Not all of us do mail server configuration everyday, so it is easy to get lost on unfamiliar grounds.
Fortunately, there is fantastic (up to date / unofficial) postfix documentation, it is the best I’ve seen on the net, this guide explains how to get following oiled and running:
Ubuntu + Postfix + Courier IMAP + MySQL + Amavisd-new + SpamAssassin + ClamAV + SASL + TLS + Roundcube + Postgrey. (Besides roundcube I think everything is essential).
I followed this guide to the word, but got myself into trouble on several occasions. Internet research didn’t yield any results, so I had to solve problems myself.
What do you do when installing PostFix and turning your VPS or atom based home server into a full blown mail server is an overkill? What if you really really need it to send mail?
I have the VPS that hosts several wordpress blogs. Without mail server configured wp couldn’t send “lost password” or “new comment” emails. To fix this I decided to install ssmtp package (which simply authenticates to 3rd party smtp server, gmail in this case, to deliver mail).