08 – Mail Service Setup

Option A: Setting up Google Apps mail server

What about mail server?
Ahh. clever. I have tried that as well. Installing postgress + dovecot + courier + mysql. The setup is horrendous. Unless you have a few admins, minions to spare or have 3 brains 6 arms; stay well clear. If you must, try iredmail [Google code]. I will still advise mail servers to be installed on a separate server by itself. It has a high chance of screwing up your configs.
So What I am doing? Use Google Apps to host 50 free email accounts. Effectively its a personal mail server that hosts (xxxxxx@yourdomain.com) 7gb free, upgradable to 25gb. Mine is a small development group so 50 is enough. If you are running a medium – big company. dun be stingy. pay google 50usd per account to sort out the problems.

What about mail server?Ahh. clever. I have tried that as well. Installing postgress + dovecot + courier + mysql. The setup is horrendous. Unless you have a few admins, minions to spare or have 3 brains 6 arms; stay well clear. If you must, try iredmail [Google code]. I will still advise mail servers to be installed on a separate server by itself. It has a high chance of screwing up your configs.So What I am doing? Use Google Apps to host 50 free email accounts. Effectively its a personal mail server that hosts (xxxxxx@yourdomain.com) 7gb free, upgradable to 25gb. Mine is a small development group so 50 is enough. If you are running a medium – big company. dun be stingy. pay google 50usd per account to sort out the problems.

Go to Google Apps Standard Edition: http://www.google.com/apps/intl/en/group/index.html

It should not be too difficult. Follow googles instructions and it should be fine.

You would have to configure your mx records. Google requires to validate domain so you will have to place html files into your ftp or change cname. Just do the html method. I find that quite straight forward.[1]

Then there is lots of mx records to add. just put in xxxx.com as name and googlemailservers as mx record. TTL 300, priority as defined.

Option B: Mail Service

Notes:

  1. You might find if you use the html method, the file may not be displayed even when you uploaded the file to the right folder. 98% is you have permissions problems. in your command line do > sudo ls -ld /home/myuser/mydomain.com/public See if the group is www-data and your user is part of www-data group.