Mailspect Documentation

NOTE: /usr/local/MPP/scripts/ will perform the following steps without stop/start qmail.

  • Stop QMail
  • Move and replace qmail-queue with Mailspect's wrapper
cd /var/qmail/bin
mv qmail-queue qmail-queue.mpp
ln -s /usr/local/MPP/mppqmailproxy /var/qmail/bin/qmail-queue
chown qmailq:qmail /usr/local/MPP/mppqmailproxy
chmod 4711 /usr/local/MPP/mppqmailproxy
chown qmailq:qmail /var/qmail/bin/qmail-queue.mpp
chmod 4711 /var/qmail/bin/qmail-queue.mpp
  • Change the softlimit of QMail in the qmail-smtpd startup "run" script to 6MB's.
  exec /usr/local/bin/softlimit -m 6000000

The placement of the qmail-smtpd startup script varies with different installations. If you are using netqmail, the script will be here:


IMPORTANT NOTE: If you get QMail temporary errors from QMail/MPP when using Outlook XP/2003 please upgrade to the latest version of Mailspect MPP and increase the softlimit to a larger value (i.e. for 50MB's softlimit -m 50000000)

  • Start Qmail

Stopping and/or staring Qmail depends on installation type:

Stopping: qmailctl stop (/full/path/qmailctl stop ... i.e. /var/qmail/bin/qmailctl stop)
Starting: qmailctl start (/full/path/qmailctl start ... i.e. /var/qmail/bin/qmailctl start)


cd /service
svc -d qmail-smtpd
svc -d qmail-send
svc -u qmail-smtpd
svc -u qmail-send