The Story so far:
The Mediagods mail server gave up the ghost a couple days ago.
After filtering millions of spam messages, the old guy had a the sendmail file get corrupted. It was a RedHat3 installation with all the RPM stuff pulled years ago, so this is a terminal condition. I bought a new machine to replace in... eek 2001.
I have yet a newer machine mostly unused, so that will become the new host.
Installing:
Grabbing the installer CD was as easy as downloading it in my browser from http://ubuntu.com
Initial installation was a breeze. As expected from Ubuntu installs.
At the end, I had a nice clean linux server with mySQL, PHP, Apache, ftp, and mail services ready to roll.
That was easy....
Management:
The
manual states the ebox is the official gui management tool.
apt-get got it installed and configured.
I must say, I find this particular tool quite lacking.
firewall module
The firewall tool operates on "services." Unfortunately, it does not come preloaded with the names of any services beyond those it's using. I had to manually create service for everything including http and email.
Repetitive tasks are annoying, you have to start at the top of the menu tree each time.
It took a very long time to:
- create each service (give it a name)
- create a configuration for each service (seems silly to be a separate, painful step)
- create a rule for that service in the LAN ruleset
- create a rule for that service in the WAN ruleset
Nice things about the firewall: uses separate rulesets for LAN and WAN traffic. (Which is also annoying: I couldn't scp files from the old box until I set up an ssh rule in the WAN rules.)
user/group management module
The user management module is misleading in that is doesn't manage linux users: it manages LDAP users.
Configuring email:
I went through all the steps on the
Postfix page in the manual.
Normally, I run sendmail, so this was new to me.
The instructions in the Basic Configurating section caused some problems, because they give you the answers to the questions - not the questions themselves. Which were different in my case.
I skipped Mailman, since I don't offer mailing list services.
On to my users:
- It's not working, but for safety's sake, I stopped the sendmail daemon on the old box.
- I wanted to re-create the user structure from the RH3/linuxconf box, so I created a "popusers" group for unprivileged mail users with groupadd and groupmod.
- I gave them a home in /home/popusers.
- Added the users with "useradd -g popusers -d /home/popusers/{popusername}/ -m {popusername}"
- Set passwords for the popusers
- Used scp to copy the spool files over from the old box.
- Pointed the MX records to the new box and wait... DNS hasn't changed on these machines in 7 years so I had a super-long TTL.
I will post again in a few hours after the dns catches up.