Setting up a mailserver - where to start & problems
I have a 2nd Linode 512, I installed Ubuntu 12.10, I used the getting started guide on Linode, ssh is set up, the status of the firewall (ufw)is:
To Action From
-- ------ ----
143 ALLOW Anywhere
993 ALLOW Anywhere
25/tcp ALLOW Anywhere
465/tcp ALLOW Anywhere
22 ALLOW Anywhere
80 ALLOW Anywhere
443 ALLOW Anywhere
143 ALLOW Anywhere (v6)
993 ALLOW Anywhere (v6)
25/tcp ALLOW Anywhere (v6)
465/tcp ALLOW Anywhere (v6)
22 ALLOW Anywhere (v6)
80 ALLOW Anywhere (v6)
443 ALLOW Anywhere (v6)
First I used the documentation on Linode:
Second howto I tried was this one
Third howto I tried was this one: http://flurdy.com/docs/postfix/
I figured out how to install a LEMP by RTFM, trial & error, and asking, but this is my 5th attempt in trying to install a mailserver in a year and nothing works and I have no idea what I am doing wrong (or right). If you could point me to a step-by-step guide which explains what every step means that would be fine.
PS: I need to upgrade my LEMP server and thought to install new one, add mailserver and move sites and then use old Linode512 to try out LAMP, … Before I started with the mailserver I already noticed that logwatch send almost empty reports. Fail2ban logs remained empty. When Munin didn't display any graphs either I knew something was wrong, but I have no idea what. I installed my new Ubuntu 12.10 LEMP server using my notes (very brief) for my current LEMP server (Ubuntu 11.10). Is 12.10 very different from 11.10? Something wrong with Linode image?
PPS: I want to install a mailserver for the fun of it (I admit, I am not having fun right now) and because Google decided to start charging for new Apps accounts.
8 Replies
This
This
You will probably want to ignore the first part where it sets up a LAMP server, but the rest will be of a tremendous use. If you get stuck somewhere, just ask here.
The problem with Linode's 10.04 guide is that it uses Dovecot 1.x which is not present in 12.10/12.04, there's v2.0, and it has a little bit different syntax than 1.x.
http://forum.linode.com/viewtopic.php?f=11&t=9047