To continue for amd64 click here

To get amd64 to run qmail correctly I have compiled the netqmail-1.06 folder with the Roberto netqmail 1.06 patch and John Simpsons validrcptto patch. All this combined will give us all the features we need and additional spam protection.

First we start with going to the root folder, downloading the precompiled binary and then run a few commands:

# fetch http://freebsdrocks.net/qmail2/netqmail-valid.tgz
# tar zxvf netqmail-valid.tgz
# cd netqmail-1.06
# make man
# make setup check

Lets get qmail setup for your local hostname. If your local hostname is bsd.localhost, use the following:

# ./config-fast bsd.localhost

You will get a output saying it is going to add that hostname to specific qmail control files. If you would like more information as to what these specific files control, please take a look at http://www.lifewithqmail.org/lwq.html#config-files

At this point I would not recommend deleting any of the qmail files. They really don't take up a lot of room but if you ever delete anything by accident or need to rebuild you queue, you can stop qmail and then run make setup check and then start qmail again. This by any means won't fix everything but leaving the qmail files there won't hurt a bit.

One last thing to recommend is going into /var/qmail/control/locals and making sure that file is empty. If you need a good explanation as to why to do this:

rcpthosts is used for domains that we accept mail for - mostly used for vpopmail virtual domains that reside in /home/vpopmail/domains

If rcpthosts does not exist, you are an open relay. If it exists and is empty and there is no "morercpthosts.cdb" file as well, then your server will reject all incoming mail.

locals - domains that we deliver locally - mostly used for local delivery /home/$USER/Maildir


Click here to continue to install daemontools