A lot of stuff occurred with my FreeBSD server. The first thing being was that I dropped dealing with Qmail. I didn’t really like the lack of any instructions and how it was actually working. The original guide had me install some odd tools, though they might have been useful, I didn’t like the fact it made a lot of services start at boot time.
In the end I moved on to the “beast”, also known as Sendmail. From what I’ve read Postfix would have been easier, but my days at an ISP showed me the impressiveness (is that a word?) of Sendmail. Interestingly enough, my server is almost identical in set-up that the ISP had. Though granted I won’t be as busy.
Sendmail was a beast (which I knew it would be) to configure. A couple of things with Sendmail. If you install FreeBSD 7.2, you get Sendmail out of the box. One thing I did learn was that in /etc/mail there are .MC files that hold your master configuration. A command is used to create the .CF file that Sendmail will read. There are plenty of sites out there that talk about how to do this, but this page should give a rough overview on what configuration files you need to work with are.
http://www.freebsd.org/doc/en/books/handbook/sendmail.html
This link will show you some basic configuration stuff to do.
http://www.linuxselfhelp.com/quick/sendmail.html
The next thing that I dropped was Roundcube. I may revisit this product at a later date or another web-mail package, but for now it is out. Part of me thinks is how I configured MySQL and some odd FreeBSD issue. I kept getting a MySQL connection issue. My email program of choice is good ole Pine…err..excuse me, Alpine.
http://www.washington.edu/alpine/
I just did a pkg_add via Sysinstall. The main configuration file is in /etc/pine.conf and holds the defaults that are passed to each user. The first time a user launches “alpine” from the command line a .pinerc file is created. In this .pinerc file I edit the full name and the “from” email address. The advantage of Alpine is that it is text based so viruses being set to me are a non issue.
Now that I have a server up and running, then last thing I did was create a base snapshot. This will allow me a nice base to roll back to if the server gets hacked. The main problem will be to find a nice backup solution for my email. But it is just mine, so losing it is a not a big deal. To make a snapshot, log in with the vSphere client, then right click on the running Virtual machine and choose snapshot. Depending on the size, it should take maybe thirty seconds or so.
Beyond that, I don’t think I missed anything I’ve done. So what next? Work and school will be keeping me busy, but I have two things I need to do. A reverse proxy to handle routing of two more sites and a music server to host internally. I have a feeling the reverse proxy is next so I can bring in this blog internally. Stay tuned.