Classnotes | UNIX03 | RecentChanges | Preferences The first thing we want to do is install everything we need. If we were installing from source, we would need to obtain the files from the following locations (and all of their dependencies):
If we were using a Red Hat based system, then we would also be able to find RPMs for each of these packages (either on their respective web-sites or at places like http://www.RPMfind.net). If you are using UnitedLinux, then everything except for amavisd-new and DCC can be found on the CDs.
For DCC, we will still need to install from source, so either browse to their website and download the source file, or simply issue an:
You build DCC in the standard way (remember "configure, make, install"):
# tar -zxvf dcc-dccd.tar.Z
# cd dcc-dccd-1.1.36
# ./configure
# make
# make install
Make sure udp port 6277 is allowed out from this computer if you are running a firewall, and issue the following command to verify that DCC can run correctly
# /usr/local/bin/cdcc 'info'
If everything is working, you should see a bunch of lines like:
dcc.rhyolite.com, - RTT+0 ms anon
# 153.19.44.233,- coral.ely.pg.gda.pl WEiAPG? server-ID 1072
# 100% of 3 requests ok 1687.64+0 ms RTT 113 ms queue wait
# 192.188.61.3,- calcite.rhyolite.com Rhyolite server-ID 101
# 100% of 2 requests ok 755.52+0 ms RTT 50 ms queue wait
Setup Users
Since apt-get already setup most of the users we need, all we are doing now is verifying that it did, and adding those that it did not. If we had to install from source, or even possibly from an RPM that did not take care of these things for us, we would have to add these by hand.
You should have a user for Postfix and Amavisd-New, as well as ones for the two "spam" and "not-spam" Bayesian filter accounts. In other words, we should have something roughly like this in our /etc/passwd file