Step 1: Upgrade Perl to 5.6.1 or later.

This is not mandatory but certain features (like spam filtering) require it to function fully. If perl -v reflects anything smaller than 5.6.1, do the following:

        cd /usr/ports/lang/perl5
        make install clean
        use.perl port

Step 2: Configure CPAN

If the following command doesn't give you a prompt, then you'll be prompted to configure.

        perl -MCPAN -e shell
        exit

Step 3: Install MATT::Bundle.

Download: http://localhost.tnpi.biz/computing/perl/MATT-Bundle/MATT-Bundle.tar.gz

Step 4: Install toaster-watcher. (optional)

This step is Highly recommended, read the toaster-watcher FAQ for more details. Toaster Watcher is here: http://localhost.tnpi.biz/internet/mail/toaster/watcher/

Step 5: Install Toaster Setup

Toaster Setup automates the rest of the install.

  mkdir /usr/local/src; cd /usr/local/src
  fetch http://www.tnpi.biz/internet/mail/toaster/toaster_setup.pl
  chmod 755 toaster_setup.pl
  ./toaster_setup.pl -s pre

Step 6: Update your ports tree.

        ./toaster_setup.pl -s ports

Step 7: Install a few dependencies

        ./toaster_setup.pl -s mysql
        ./toaster_setup.pl -s [ apache | apache2 ]
        ./toaster_setup.pl -s ucspi
        ./toaster_setup.pl -s ezmlm 
        ./toaster_setup.pl -s vpopmail
        ./toaster_setup.pl -s qmailadmin

Step 8: Install Qmail

With this patch: http://localhost.tnpi.biz/internet/mail/toaster/patches/index.shtml

        ./toaster_setup.pl -s qmail
        cd mail/qmail-1.03; make cert; cd -

Step 9: Sqwebmail & Squirrelmail (Web Mail)

        ./toaster_setup.pl -s squirrelmail
        ./toaster_setup.pl -s sqwebmail

Step 10: Courier-IMAP

        ./toaster_setup.pl -s courier
        cd /usr/local/etc/courier-imap
        vi pop3d.cnf imapd.cnf quotawarnmsg

Step 11: Add a couple cron entries:

# crontab -e 9-59/10 * * * * /usr/local/vpopmail/bin/clearopensmtp 2>&1 > /dev/null 40 * * * * /usr/local/share/sqwebmail/cleancache.pl 2>&1 > /dev/null

Step 12: Continue with Configuration.

See the file CONFIGURE or visit this URL: http://localhost.tnpi.biz/internet/mail/toaster/config.shtml