SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
Revision of vpopmail from Thu, 10/20/2011 - 12:01
Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.
Any time you reconfigure and install vpopmail you will need to rebuild and install QmailAdmin. QmailAdmin statically links libvpopmail, so you need to recompile it whenever libvpopmail changes.
Vpopmail provides an easy way to manage virtual domains on your Qmail server. Among it's features are tools for easily adding users, alias and domains. While it does have support for storing the user information in a MySQL database, resist the temptation unless your server has 50,000+ users!
Installation
At the time of writing, the current "stable" version was 5.4.32:
cd /extra/src
cd /extra/src
wget http://superb-dca2.dl.sourceforge.net/project/vpopmail/vpopmail-stable/5.4.32/vpopmail-5.4.32.tar.gz
tar xzf /extra/src/vpopmail-5.4.32.tar.gz
cd vpopmail-5.4.32
As with qmail, we're going to specify the specific numeric user and group ID we want for vpopmail. FreeBSD has reserved 89 for vpopmail use so we'll use those. Our CentOS(i.e. Redhat) server should have that UID/GID available.
groupadd -g 89 vchkpw
useradd -g vchkpw -u 89 -c 'vpopmail user' vpopmail
An easy way to keep track of what options you configured vpopmail with is to put them into a shell script. Open a file named go in vi
or your favourite text editor:
vi go
Put the following into that script:
#!/bin/sh
./configure \
--enable-logging=y \
--enable-auth-logging \
--disable-passwd \
--disable-clear-passwd \
--disable-learn-passwords \
--enable-md5-passwords \
--enable-users-big-dir \
--disable-ip-alias-domains \
--disable-roaming-users \
--enable-qmail-ext \
--enable-onchange-script
Save and close the file, make it executable, run it to configure vpopmail. Then, if there are no configuration errors, make and install vpopmail.
chmod 700 go
./go
make && make install-strip
Vpopmail squawked about undefined reference to `backfill'
on Centos 5.2. If that happens:
yum install automake
autoreconf
make clean
make && make install-strip
Just in case anything didn't have the proper permissions when installed, we'll use John Simpson's vfixpermissions script to fix the ownership and permissions of the entire vpopmail directory:
cd /usr/local/sbin
wget http://qmail.jms1.net/scripts/vfixpermissions
chmod ugo+x /usr/local/sbin/vfixpermissions
vfixpermissions
Now is a good time to create your first domain:
/home/vpopmail/bin/vadddomain productionmonkeys.net
echo "productionmonkeys.net" > /home/vpopmail/etc/defaultdomain
- Log in to post comments