Version: 0.7.10 ChangeLog Last modified: May 01, 2005 13:54 |
|
Preface
- What's a POP
toaster?
- What this toaster does and does not do
- Assumptions/Support (Please Read!)
- Prerequisites
- Toaster License
- What this toaster does and does not do
Getting Started
Install Software
Test Drive
Options
Appendix
Preface
- What's a POP toaster?:
I use Dan Bernstein's definition described at http://cr.yp.to/qmail/toaster.html
- What this toaster does and does not do:
This "howto" will walk you through building a Linux Qmail "Toaster". While these instructions are intended to work with popular Linux distributions, they will probably work on other flavors of Unix without too much modification.
Here's a list of features you'll get:
Qmail SMTP Mail Server with SMTP-AUTH (Plain, Login, CRAM-MD5), TLS (SSL) support, and optional Virus/Spam Scanner.
What this toaster does NOT do is act as a thorough guide to qmail or any of the other packages it installs. Such information is already available in the documentation, Life With Qmail, or other howtos/toasters. I only put this together to document all the commands/urls/procedures that I find myself repeating often. It's intended to have a bit of a "copy and paste" feel to it aimed at the impatient (me). If it's not sufficient for you, take the time to read the documentation of each package that's to be installed. There's no substitute for that.
POP3 Server with CRAM-MD5, APOP, and SSL support
IMAP Server with TLS (SSL) support
WebMail Server
Quota Support (usage viewable by webmail)
Autoresponder
Mailing Lists
Web-Based Email Administration- Assumptions/Support
This document assumes that you are familiar with Unix system administration, mail/web protocols, etc. You don't have to be a guru to make this work, but you will be patching and compiling source code, as well as editing configuration files. If you want a "point and click" install experience, this is not for you.
These instructions come with no warranty or guarantee. If you blow up your server, and lose business in the process, that's your problem.
Support is not provided. There are mailing lists for all these packages, as well as one specific to this toaster. See links in the appendix for more information.
Commercial support is available. See http://merchbox.com/qmail.php for more information. There are also other sources of commercial support for the individual packages. See the respective documentation for each package for further information.
- Prerequisites
If you have installed a recent version of your Linux distribution, you shouldn't have any problems, especially if you did a "server" type of install rather than "Desktop". However, this install DOES require that you have the apache web server and PHP installed. Most distributions come with these now. PHP is only required for SquirrelMail. The main issues you might see are missing development libraries, or gdbm, stunnel, kerberos dev files, or openssl. If you are using an rpm based distro, an easy way to check for these is to issue these commands:
rpm -q gdbm gdbm-devel openssl openssl-devel stunnel krb5-devel
If any of the above are not installed, either get the rpm for your architecture (probably on your cd if you have one) or install them manually.SELinux: Some setuid programs, like QmailAdmin, will not work with SELinux. You should disable SELinux during installation of the OS. If you have already installed the OS, you should disable it.
This version of this document was originally written using RedHat Linux 9.0.
- Toaster License
This document is covered by the same license as Life With Qmail, and the license is detailed here:
http://www.opencontent.org/opl.shtml - What this toaster does and does not do:
Getting Started
- DNS
Before we begin, make sure DNS (mx record) is properly setup. If you were using "merchbox.com" as your virtual domain, here's how your host lookups would look after setting up dns:
[shupp@ns1 toaster]$ host -t mx merchbox.com
merchbox.com. mail is handled by 0 mail.merchbox.com.
[shupp@ns1 toaster]$ host -t a mail.merchbox.com
mail.merchbox.com. has address 216.234.249.114 - Remove existing smtp/pop/imap servers
Now we must remove any existing installations of sendmail/postfix and disable pop/imap servers. To remove sendmail and postfix from an rpm based distribution, try this:
rpm -e --nodeps sendmail postfix
Unless you have other services that absolutely have to run on this machine, I recommend shutting down inetd or xinetd altogether and removing it from your startup scripts. The only thing you'll need (outside of what we're about to isntall) is ssh, which is probably installed already. This will likely shut off any pop3 or imap servers, as well as other unneccessary ports. Otherwise, disable them manually.To be sure that these services are disabled, try telnetting to ports 25, 110, and 143 and make sure your connections are refused.
- Download packages
I keep my software source in /var/src. This is what I'll refer to for the rest of this document.
Some of this is version dependent, so please stick to the URLs below!
mkdir -p /var/src/tar
top
cd /var/src/tarwget http://cr.yp.to/daemontools/daemontools-0.76.tar.gz
wget http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz
wget http://shupp.org/software/netqmail-1.05.tar.gz
wget http://shupp.org/patches/qmail-toaster-0.7.2.patch.bz2
wget http://shupp.org/software/vpopmail-5.4.10.tar.gz
wget http://shupp.org/software/autorespond-2.0.4.tar.gz
wget http://shupp.org/patches/autorespond-2.0.4-2.0.5.patch
wget http://shupp.org/software/qmailadmin-1.2.3.tar.gz
wget http://shupp.org/software/qmailadmin-help-1.0.8.tar.gz
wget http://cr.yp.to/software/ezmlm-0.53.tar.gz
wget http://shupp.org/software/ezmlm-idx-0.40.tar.gz
wget http://shupp.org/software/courier-imap-3.0.8.tar.bz2
wget http://shupp.org/software/squirrelmail-1.4.3a.tar.bz2
wget http://shupp.org/software/quota_usage-1.3-1.2.7.tar.gz
wget http://shupp.org/software/toaster-scripts-0.7.tar.gz
wget http://shupp.org/patches/ezmlm-idx-0.53.400.unified_41.patchcd ../
tar -xzf tar/netqmail-1.05.tar.gz
cd netqmail-1.05
./collate.sh - Download packages
Install Software
Now that you have downloaded all the software packages to /var/src/tar, please go through each of these installation steps as the appear, and in this order, unless you really know what you're doing. (Because if you did, you wouldn't be reading this, right?)The below steps assume that your "rc" directories are in /etc/ and your "init.d" path is "/etc/init.d". If yours are different, please substitue paths accordingly.
- daemontools
daemontools is a collection of tools for managing UNIX services. It will monitor qmail-send, and qmail-smtpd, and qmail-pop3d services.
Info: http://cr.yp.to/daemontools.html
Install:
mkdir -p /package
To verify that daemontools is running, make sure that `ps ax` reports '/bin/sh /command/svscanboot' and 'svscan /service' as running.
chmod 1755 /package
cd /package
tar -xpzf /var/src/tar/daemontools-0.76.tar.gz
cd admin/daemontools-0.76
patch -p1 < /var/src/netqmail-1.05/other-patches/daemontools-0.76.errno.patch
package/install
- ucspi-tcp
ucspi-tcp contains tcpserver and tcpclient, command line tools for building client-server applications.
Info: http://cr.yp.to/ucspi-tcp.html
Install:
cd /var/src/
top
tar -xzf tar/ucspi-tcp-0.88.tar.gz
cd ucspi-tcp-0.88
patch -p1 < /var/src/netqmail-1.05/other-patches/ucspi-tcp-0.88.errno.patch
make
make setup check
- qmail
qmail rocks. It's a modern smtp server that makes sendmail obsolete.
Info: http://www.qmail.org/
The patch you will apply below is a composite of existing patches.
- smtp auth
- spf
- qmail-queue (to allow for virus scanners)
- maildir++ patch
- support oversize dns packets (not necessary if you use dnscache)
- chkuser (check for local users, envelope syntax)
- spam throttle
- qregex (regular expression matching in badmailfrom and badmailto)
- big concurrency (set the spawn limit above 255)
Install:
mkdir /var/qmail
Configure:
groupadd nofiles
useradd -g nofiles -d /var/qmail/alias alias
useradd -g nofiles -d /var/qmail qmaild
useradd -g nofiles -d /var/qmail qmaill
useradd -g nofiles -d /var/qmail qmailp
groupadd qmail
useradd -g qmail -d /var/qmail qmailq
useradd -g qmail -d /var/qmail qmailr
useradd -g qmail -d /var/qmail qmailscd /var/src
tar -xzf tar/toaster-scripts-0.7.tar.gz
cd netqmail-1.05/netqmail-1.05/
# NOTE: RedHat/Fedora users may need to link certain include files for the TLS patch.
# Issue the command below only if make fails:
ln -s /usr/kerberos/include/com_err.h /usr/kerberos/include/krb5.h /usr/kerberos/include/profile.h /usr/include/
# as well as remove the sendmail link if it still exists:
rm /usr/sbin/sendmailmake
make setup check
# NOTE: qmail will be patched AFTER vpopmail is installed# turn on SPF checking
echo 3 > /var/qmail/control/spfbehavior# Setup the primary administrator's email address.
# This address will receive mail for root, postmaster, and mailer-daemon.
# Replace "admin@example.com" with your email address
(cd ~alias; echo "admin@example.com" > .qmail-postmaster ;\
echo "admin@example.com" > .qmail-mailer-daemon ;\
echo "admin@example.com" > .qmail-root )
chmod 644 ~alias/.qmail*# on the next line replace "full.hostname" with the hostname of your mail server
./config-fast full.hostname# add qmail man pages to MANPATH
- Edit /etc/man.config
- Add "MANPATH/var/qmail/man"
cp toaster-scripts-0.7/rc /var/qmail/rc
chmod 755 /var/qmail/rc
mkdir /var/log/qmail
echo ./Maildir/ >/var/qmail/control/defaultdelivery
cp toaster-scripts-0.7/qmailctl /var/qmail/bin/
chmod 755 /var/qmail/bin/qmailctl
ln -s /var/qmail/bin/qmailctl /usr/bin
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
ln -s /var/qmail/bin/sendmail /usr/lib/sendmail#Now create the supervise directories/scripts for the qmail services:
mkdir -p /var/qmail/supervise/qmail-send/log
mkdir -p /var/qmail/supervise/qmail-smtpd/log
mkdir -p /var/qmail/supervise/qmail-pop3d/log
mkdir -p /var/qmail/supervise/qmail-pop3ds/log
cp /var/src/toaster-scripts-0.7/send.run /var/qmail/supervise/qmail-send/run
cp /var/src/toaster-scripts-0.7/send.log.run /var/qmail/supervise/qmail-send/log/run
cp /var/src/toaster-scripts-0.7/smtpd.run /var/qmail/supervise/qmail-smtpd/run
cp /var/src/toaster-scripts-0.7/smtpd.log.run /var/qmail/supervise/qmail-smtpd/log/run
cp /var/src/toaster-scripts-0.7/pop3d.run /var/qmail/supervise/qmail-pop3d/run
cp /var/src/toaster-scripts-0.7/pop3d.log.run /var/qmail/supervise/qmail-pop3d/log/run
cp /var/src/toaster-scripts-0.7/pop3ds.run /var/qmail/supervise/qmail-pop3ds/run
cp /var/src/toaster-scripts-0.7/pop3ds.log.run /var/qmail/supervise/qmail-pop3ds/log/run
echo 20 > /var/qmail/control/concurrencyincoming
chmod 644 /var/qmail/control/concurrencyincoming
chmod 755 /var/qmail/supervise/qmail-send/run
chmod 755 /var/qmail/supervise/qmail-send/log/run
chmod 755 /var/qmail/supervise/qmail-smtpd/run
chmod 755 /var/qmail/supervise/qmail-smtpd/log/run
chmod 755 /var/qmail/supervise/qmail-pop3d/run
chmod 755 /var/qmail/supervise/qmail-pop3d/log/run
chmod 755 /var/qmail/supervise/qmail-pop3ds/run
chmod 755 /var/qmail/supervise/qmail-pop3ds/log/run
mkdir -p /var/log/qmail/smtpd
mkdir -p /var/log/qmail/pop3d
mkdir -p /var/log/qmail/pop3ds
chown -R qmaill /var/log/qmail
#allow daemontools to start qmail
ln -s /var/qmail/supervise/qmail-send /var/qmail/supervise/qmail-smtpd /service#verify that it's running with qmailctl
sleep 5
qmailctl stat
- Vpopmail
Vpopmail is a virtual domain package add-on for qmail. It can handle multiple domains
on a single IP address, and none of the user accounts are /etc/passwd or "system" accounts.Info: http://vpopmail.sf.net/
Install:
groupadd -g 89 vchkpw
useradd -u 89 -g vchkpw vpopmailcd /var/src
tar -xzf tar/vpopmail-5.4.10.tar.gz
cd vpopmail-5.4.10./configure --enable-logging=v
make
make install-strip
echo '127.:allow,RELAYCLIENT=""' > ~vpopmail/etc/tcp.smtp
(cd ~vpopmail/etc ; tcprules tcp.smtp.cdb tcp.smtp.tmp < tcp.smtp)# install the vpopmail start script
cp ../toaster-scripts-0.7/vpopmailctl /var/qmail/bin/vpopmailctl
chmod 755 /var/qmail/bin/vpopmailctl
ln -s /var/qmail/bin/vpopmailctl /usr/bin
# add qmail toaster patch now that vpopmail is installed
cd /var/src/netqmail-1.05/netqmail-1.05
bunzip2 -c ../../tar/qmail-toaster-0.7.2.patch.bz2 | patch -p0
make clean
make
qmailctl stop
make setup check# NOTE: the following command needs to be run after any future
# re-installs of qmail as it will chown this directory back to qmailchown -R vpopmail:vchkpw /var/qmail/spam
make cert
# enter your company's information
make tmprsadh
# NOTE: This may take a LONG time# now add the followowing line to your crontab via `crontab -e` to update these temp keys each night
01 01 * * * /var/qmail/bin/update_tmprsadh > /dev/null 2>&1# start qmail back up
qmailctl start#allow daemontools to start vpopmail
ln -s /var/qmail/supervise/qmail-pop3d /var/qmail/supervise/qmail-pop3ds /service#verify that it's running with vpopmailctl
sleep 5
vpopmailctl stat
- Courier-IMAP
Courier-IMAP will supply IMAP/SIMAP access.
Info: http://www.inter7.com/courierimap
Install:cd /var/src
Configure:
tar -xjf tar/courier-imap-3.0.8.tar.bz2
cd courier-imap-3.0.8
# build as vpopmail
chown -R vpopmail:vchkpw ../courier-imap-3.0.8
su vpopmail
# configure may take some time...
./configure
# NOTE: RedHat/Fedora users need to add "--with-redhat"make
exit
make install-strip
make install-configurecp courier-imap.sysvinit /etc/init.d/courier-imap
chmod 755 /etc/init.d/courier-imap
ln -s ../init.d/courier-imap /etc/rc0.d/K30courier-imap
ln -s ../init.d/courier-imap /etc/rc1.d/K30courier-imap
ln -s ../init.d/courier-imap /etc/rc2.d/S80courier-imap
ln -s ../init.d/courier-imap /etc/rc3.d/S80courier-imap
ln -s ../init.d/courier-imap /etc/rc4.d/S80courier-imap
ln -s ../init.d/courier-imap /etc/rc5.d/S80courier-imap
ln -s ../init.d/courier-imap /etc/rc6.d/K30courier-imapEdit /usr/lib/courier-imap/etc/authdaemonrc
- Change authmodulelist="..." to authmodulelist="authvchkpw"
- Change 'IMAPDSTART=NO' to 'IMAPDSTART=YES'
- Change 'IMAPDSSLSTART=NO' to 'IMAPDSSLSTART=YES'
# optional: The first time courier-imap is started, the SSL certificate
# is first created using "localhost" as the "common name".
# If you want to change this to match your hostname, you can customize
# the CN line in /usr/lib/courier-imap/etc/imapd.cnf (and pop3d.cnf of
# you choose to use courier's pop3d) so that the common name matches
# your server name BEFORE you start the server for the first timeStart IMAP server
/etc/init.d/courier-imap start
- SquirrelMail
SquirrelMail is a web based IMAP client
Info: http://www.squirrelmail.org/
NOTE: This section assumes that your apache ServerRoot is /var/www and that your DocumentRoot is /var/www/html, and also that your web server runs as apache:apache
Install:
cd /var/src
tar -xjf tar/squirrelmail-1.4.3a.tar.bz2
cd squirrelmail-1.4.3a
cd plugins
tar -xzf ../../tar/quota_usage-1.3-1.2.7.tar.gz
cp quota_usage/config.php.sample quota_usage/config.php
cd ../
./configure
# here you will have to set a few options:
- go to Server Settings (2) and change the Server Software from "cyrus" to "courier" (a)
- From the main menu, go to General Options (4) and change Data Direcotry (2) to "/var/www/data/"
- From the main menu, go to Plugins and enable the quota_usage plugin, along with any others you prefer
- Save settings
- quit
# move the data directory into place and change permissions to the user:group that the web server runs as:
mv data /var/www/
chown -R apache:apache /var/www/data# install squirrelmail
cd ../
mv squirrelmail-1.4.3a /var/www/html/
- autorespond
Autorespond is compatible autoresponder/vacation type tool that works well with vdelivermail and qmailadmin.
Info: http://qmailadmin.sf.net/
Install:
cd /var/src
tar -xzf tar/autorespond-2.0.4.tar.gz
cd autorespond-2.0.4
patch -p1 < ../tar/autorespond-2.0.4-2.0.5.patch
make
make install
- ezmlm-idx
Fast, full featured Mailing List Manager configureable from qmailadmin.
Info: http://www.ezmlm.org/
Install:
cd /var/src
tar -xzf tar/ezmlm-0.53.tar.gz
tar -xzf tar/ezmlm-idx-0.40.tar.gz
mv ezmlm-idx-0.40/* ezmlm-0.53/
cd ezmlm-0.53
patch -p0 < idx.patch
patch < ../tar/ezmlm-idx-0.53.400.unified_41.patch
make
make setup
- qmailadmin
Qmailadmin can handle nearly all virtual email administration tasks for you from a web browser, except for adding and removing virtual domains.
Info: http://sourceforge.net/projects/qmailadmin
Install:
cd /var/src
Your toaster installation is done! Now we're ready to take it for a test drive.
tar -xzf tar/qmailadmin-1.2.3.tar.gz
cd qmailadmin-1.2.3
./configure --enable-help
make
make install-stripcd ../
tar -xzf tar/qmailadmin-help-1.0.8.tar.gz
cd qmailadmin-help-1.0.8
mkdir /var/www/html/images/qmailadmin/help
cp -rp * /var/www/html/images/qmailadmin/help
- ucspi-tcp
Test Drive
Here we'll add a virtual domain, 'test.com', and test sending/receiving mail. Substitue 'test.com' for whatever domain you setup DNS for.
# Add the domain to vpopmailThis creates the default "postmaster" account for test.com. You will use this account with qmailadmin. Try adding/removing users with qmailadmin here:
/home/vpopmail/bin/vadddomain test.com [password]
http://mail.test.com/cgi-bin/qmailadminTo test out quota usage support, create a user with a 6MB quota like so:
/home/vpopmail/bin/vadduser -q 6000000000S user@test.com [password]Now, to log into SquirrelMail as user@test.com, point your browser here:# verify the user settings, and create the "maildirsize" file
/home/vpopmail/bin/vuserinfo user@test.com
http://mail.test.com/squirrelmail-1.4.3a/Send yourself a message. If you get it, it's likely you're up and running.
To test your POP server, try telnetting to port 110 and logging in.
# telnet localhost 110Test your IMAP server in the same way:
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
+OK Hello there.
user user@test.com
+OK Password required.
pass [password]
+OK logged in.
quit
+OK Bye-bye.
Connection closed by foreign host.
# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc. See COPYING for distribution information.
a001 login user@test.com [password]
a001 OK LOGIN Ok.
a001 logout
* BYE Courier-IMAP server shutting down
a001 OK LOGOUT completed
Connection closed by foreign host.
Options
Here, you can add 3 tools that together will prevent viruses from reaching your system via email.- SpamAssassin
SpamAssassin is the leading open source spam scanner. See http://www.spamassassin.org/ for more details. The easiest way to install SpamAssassin is from CPAN:
cd /root
export LANG=en_US
perl -MCPAN -e shell
o conf prerequisites_policy ask
install Mail::SpamAssassin
quit# run spamd under daemontools
mkdir -p /var/qmail/supervise/spamd/log
mkdir -p /var/log/spamd
chown qmaill /var/log/spamd
cp /var/src/toaster-scripts-0.7/spamd.run /var/qmail/supervise/spamd/run
cp /var/src/toaster-scripts-0.7/spamd.log.run /var/qmail/supervise/spamd/log/run
chmod 755 /var/qmail/supervise/spamd/run
chmod 755 /var/qmail/supervise/spamd/log/run
cp /var/src/toaster-scripts-0.7/local.cf /etc/mail/spamassassin/local.cf
mkdir /etc/mail/spamassassin/.spamassassin/
chown vpopmail /etc/mail/spamassassin/.spamassassin/
ln -s /var/qmail/supervise/spamd /service - ClamAV
This open source virus scanner will be called by simscan. For more information, visit http://clamav.sf.net/
NOTE: You need gmp-devel installed to verify the digital signatures of the virus database.
groupadd clamav
useradd -g clamav clamav
cd /var/src/tar
wget http://shupp.org/software/clamav-0.84.tar.gz
wget http://shupp.org/patches/clamav-0.84-stderr.patch
wget http://shupp.org/patches/clamav-0.84-conf.patch
wget http://shupp.org/patches/clamav-0.84-freshclamconf.patch
cd ../
tar -xzf tar/clamav-0.84.tar.gz
cd clamav-0.84
patch -p0 < ../tar/clamav-0.84-stderr.patch
patch -p0 < ../tar/clamav-0.84-conf.patch
patch -p0 < ../tar/clamav-0.84-freshclamconf.patch
./configure
make
make install# setup freshclam
touch /var/log/freshclam.log
chmod 600 /var/log/freshclam.log
chown clamav /var/log/freshclam.log
cp /var/src/toaster-scripts-0.7/freshclam /etc/init.d/freshclam
chmod 755 /etc/init.d/freshclam
ln -s ../init.d/freshclam /etc/rc0.d/K30freshclam
ln -s ../init.d/freshclam /etc/rc1.d/K30freshclam
ln -s ../init.d/freshclam /etc/rc2.d/S80freshclam
ln -s ../init.d/freshclam /etc/rc3.d/S80freshclam
ln -s ../init.d/freshclam /etc/rc4.d/S80freshclam
ln -s ../init.d/freshclam /etc/rc5.d/S80freshclam
ln -s ../init.d/freshclam /etc/rc6.d/K30freshclam# run clamd under daemontools
mkdir -p /var/qmail/supervise/clamd/log
mkdir -p /var/log/clamd
chown clamav /var/log/clamd
cp ../toaster-scripts-0.7/clamd.run /var/qmail/supervise/clamd/run
cp ../toaster-scripts-0.7/clamd.log.run /var/qmail/supervise/clamd/log/run
chmod 755 /var/qmail/supervise/clamd/run
chmod 755 /var/qmail/supervise/clamd/log/run# Start clamd and freshclam
ln -s /var/qmail/supervise/clamd /service
/etc/init.d/freshclam start - ripmime
ripmime is a tool for extracting MIME attachments from email, and is used by qscanq. See http://www.pldaniels.com/ripmime/ for more details
cd /var/src/tar
wget http://shupp.org/software/ripmime-1.4.0.5.tar.gz
cd ..
tar -xzf tar/ripmime-1.4.0.5.tar.gz
cd ripmime-1.4.0.5
make
make install - simscan
Your qmail installation is already patched (qmail-queue patch) to support simscan, a new tool for using virus/spam scanners with qmail. The nice thing is that it prevents viruses (and optionally spam) from even getting into your queue. This is different from qmail-scanner, which will quarantine infected messages instead of stopping them at the SMTP level. Go to http://inter7.com/?page=simscan for more information.
cd /var/src/tar
wget http://shupp.org/software/simscan-1.1.tar.gz
cd ../
tar -xzf tar/simscan-1.1.tar.gz
cd simscan-1.1./configure --enable-user=clamav \
--enable-clamav=y \
--enable-spam=y \
--enable-spam-passthru=y \
--enable-per-domain=y \
--enable-ripmime \
--enable-attach=y \
--enable-received=ymake
make install-strip# add default rules for simscan
echo ":clam=yes,spam=yes,spam_passthru=yes,attach=.vbs:.lnk:.scr:.wsh:.hta:.pif" > /var/qmail/control/simcontrol
# update /var/qmail/control/simcontrol.cdb
/var/qmail/bin/simscanmk
# put versions for received header in /var/qmail/control/simversions.cdb
/var/qmail/bin/simscanmk -g# turn on scanning
echo ':allow,QMAILQUEUE="/var/qmail/bin/simscan"' >> ~vpopmail/etc/tcp.smtp
qmailctl cdb - Qmailadmin Limits
Qmailadmin can set per domain limits/defaults, which is really useful for hosting companies with different mail packages. This is covered in detail in the INSTALL file of qmailadmin (/var/src/qmailadmin-1.2.3/INSTALL).
Appendix
- Donate
- If you find this toaster useful to you, and want to support its
development, please feeel free to donate via Paypal:
- If you find this toaster useful to you, and want to support its
development, please feeel free to donate via Paypal:
- Troubleshooting
- Subscribe to this toaster list: toaster-subscribe@shupp.org
(to unsubscribe: toaster-unsubscribe@shupp.org)
There is also an archive, and a searchable archive - It's recommended that you join the mailing list for vpopmail (vchkpw-subscribe@inter7.com), since this is the core of the virtual domain package.
- Also, Life With Qmail (see links below) covers qmail setup/maintenance
in great detail. Make sure you read it.
- Subscribe to this toaster list: toaster-subscribe@shupp.org
- Credits
- This document is certainly inspired by Matt Simerson's FreeBSD Mail Toaster. If you use FreeBSD, use it instead, it's great.
- Most of the commands listed in the steps above are derived either directly from the documentation or Life With Qmail.
- This toaster was put together by Bill Shupp (hostmaster@shupp.org).
- Resources
- Life With Qmail
- Qmail FreeBSD Toaster (MySQL)
- ChangeLog
0.7.10 - 5/1/2005
- Update vpopmail to 5.4.10
- Update ripmime to 1.4.0.5
- Update clamav to 0.84
- Update vpopmail to 5.4.9
- add spam_passthru=yes to simcontrol - tnx Jason S
- add note about needing gmp-devel - tnx Jesus San Miguel
- add note about chowning /var/qmail/spam to vpopmail:vchkpw after
re-installs of qmail (for spam throttle)
- remove chmod +t commands, as they are only for daemontools < 0.75
- update qmailctl to use svclist for a list of services - handy for multiple instances of qmail-smtpd. - tnx Tom Collins
- Upgraded clamav to 0.83
- Upgraded simscan to 1.1
- Upgraded clamav to 0.82
- Fixed missing semi-colons in creation of aliases - tnx Tom Collins
- Consolidate rpm command suggestions - tnx Tom Collins
- Add qmail man pages to MANCONFIG path - tnx Tom Collins
- Updated clamav to 0.81 - tnx Bob Hutchinson for updated stderr patch
- Minor change to tcprules command in vpopmail install - tnx Jake Applebaum
- Updated qmail-toaster patch to 0.7.2 to fix a CR in overmaildirquota.c
- Updated maildir++ patch to fix duplicate free() - tnx Tom Collins
- Added mention of SELinux incompatibility with QmailAdmin - tnx Dave Roberts
- 1/8/2005 - Added mention of SELinux incompatibility with QmailAdmin - tnx Dave Roberts
- Changed qmail-toaster patch from 0.7b5 to 0.7 (no changes)
- Changed toaster version from 0.7b2 to 0.7
- Added note to courier-imap install about changing from self-signed certificate
0.7b2 - 12/20/2004
- Updated paths to init scripts. This document now uses /etc/init.d and /etc/rc?.d instead of /etc/rc.d/init.d and /etc/rc.d/rc?.d
- Enabled per-domain scanning in simscan - tnx Jose Luis Canciani
- Typo in version info of toaster patch - tnx Eduardo Cortes
0.7b1 - 12/15/2004
- New Toaster patch with updated versions, SPF, dropped mfcheck, swapped spam throttle for tarpit
- Updated vpopmail to 5.4.8, qmailadmin to 1.2.3
- Updated courier-imap to 3.0.8
- Added SpamAssassin, ClamAV, simscan, ripmime to Options
- Lots of updates to run/config files
- qmailctl now detects whether roaming users is being used
0.6 - 2/16/2004
- Switched to netqmail 1.05 for base patch install
- Updated large patch and chkuser patch
- Updated vpopmail to 5.4.1, qmailadmin to 1.2.1
- Updated courier-imap to 2.2.2.20040207 to comply with vlimits code
0.5.2 - 1/27/2004
- Fixed problem with missing config.php in quota_usage plugin install
0.5.1 - 1/20/2004
- Fixed some typos
- Noted in "prerequisites" that krb5 dev files, Apache and PHP are required
0.5 - 1/6/2004
- Updated core software versions, qmail patch
- Switched from SqWebmail to SquirrelMail
- Removed Apache install (just use the distro's)
- Removed roaming users support (use smtp-auth instead)
- Added license link
0.4.7 - 6/17/2002
- typos in courier-imap link, filename. thanks to Yalcin Cekic.
0.4.6 - 6/05/2002
- the qmail-smtpd run script didn't have a hostname, which is now required for the smtp-auth patch 0.30 and above.
- forgot to chown the imapd.pem for courier-imap now that we're running as vpopmail
- incorrect configure option for qmailadmin
0.4.5 - 6/03/2002
- Use courier-imap 1.4.6 (security advisory)
0.4.4 - 5/31/2002
- Update courier-imap install to run as vpopmail.vchkpw instead of root (for romaing imap users)
- Update support information
0.4.3 - 5/29/2002
- Use port numbers in pop3d start scripts instead of "pop-3" and "pop3s"
0.4.2 - 5/26/2002
- Upgrade to new 0.31 smtp auth patch
0.4.1 - 5/21/2002
- Use vpopmail-5.3.6 instead of alternate vchkpwcmd5
- Use courier-imap 1.4.5
- Use sqwebmail 3.3.4
0.4 - 4/20/2002 (not published)
- Supply new vchkpwcmd5 module (alternate to vchkpw)
- Use vpopmail-5.3.5-cmd5 and qmailadmin 1.0.4
- Use courier-imap 1.4.4 and sqwebmail 3.3.3
- Switch to qmail-pop3d from courier pop3d
- Upgrade to v. 0.30 of the SMTP-AUTH patch
0.3 - 1/3/2002
- Use vpopmail-5.1.4 and qmailadmin 1.0.1
- remove unnecessary patches
0.2 - 12/26/2001
- fixed broken link in download section
- added patch for quota problems in vpopmail-5.1.3
0.1 - 12/24/2001
- initial release
- Success Reports
"Bill, thanks loads for the toaster. It works wonderfully, and didn't take too long to set up. I only wish I had it two weeks ago. :)" -- Matt G.
"Hi I just installed the complete qmail toaster suite tonight. . [nearly] flawless installation. . and [nearly] all done from your site. . i think you are doing great things with that toaster site. ." -- Ezra P.
"Thanks for making it easy. Now to understand what I (you) have done. ; )" -- Charles C.
"Hi Bill, I just wanted to thank you for the great instructions on setting up qmail, etc. on Linux. I'm a bit of a rookie and for the last month I've been looking for a fairly easy to configure setup for mail. After going from RedHat w/ Sendmail to Win 2K / Exchange to FreeBSD, Debian, Gentoo, Slack with some combo of qmail, courier, postfix and back again I finally stumbled upon your site - gave RedHat a fresh install and within half an hour I was up and running with Qmail. (I'm sending this to you using my server)
I couldn't have done it without you! I really do appreciate the work you put into the instructions and patches." -- Thomas A.
"Bill, Just wanted to drop a note to you to thank you for all the obvious work you put into the toaster website. I just installed it, and it worked perfectly. In fact, I am sending you the first email from my new setup. Again, thanks for all the hard work that went into the instructions." -- Jim S.
[Nokia Cable] [Lithium Charger] [USB Charger] [EMC Kurs] [InfoKurs] [PayPal] [Gatra] [tdih] [Jadwal KRL Serpong] [Random News] [DetikSport] [DetikNews] [Indonesian News] [9 Osi Layers] [Tech Support] [Money vs Challenge] [Find File] [RRDTool Build] [Looking Glass] [Network Tool] [Lost NT Password] [Qmail Toaster] [HTML Editor] [mental korupsi] [Idiokrasi Blog] [Gerakan Syahwat] [Next New Moon] [Freemason Chiper] [Ramalan Jayabaya] [Story of Dajjal] [aquarius][CB Frequency][pisces][virgo][scorpio][simple snmpd conf][libra][FRS GMRS Frequencies][aries][Indonesia 419 scam][open ssl cert][how stock market][mini pci laptop][gemini][leo][bahasa translation][capricorn][taurus][cancer][sagitarius][linux serial redirection][microsoft joke] Composed and Updated by InfoAnda Team,
|