I’m pretty sure canonical had its reasons to make ubuntu iptables rules non-persistent by default. I can imagine situation when playing with rules could result in forcing yourself out of ssh connection. But, this non-persistence is annoying when you have rules set up the way you want it…

Fortunately it is very easy to “fix” this.

Continue reading

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.

Continue reading

Continue reading

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).

Continue reading