Upgrading Qscanq

When upgrading qscanq, simply follow the installation directions. No special steps need to be taken. It is not even necessary to unwrap qmail first; the installation script will replace /package/mail/qscanq with a link to the new installation after compilation is complete.

Don't forget to fix any settings in conf-* files to match your installation before running ./package/install!

Also remember to read any warnings from the installation script! Certain files--such as /service/qscanq/run--will not be replaced by the installer if they exist, lest your own edits to those files be lost. Read these warnings. If a file has changed in qscanq, then it will be created with a .tmp extension. If it hasn't changed from past releases, it will not be created at all.

None of these files have changed since the first release of qscanq, so it is virtually certain that all you need to remember is:

  1. Edit conf-*
  2. Run ./package/install

Uninstalling qscanq

To uninstall qscanq:

  1. Run install-unwrap or turn off your QMAILQUEUE environment variable.
  2. Stop cleanq by deleting the symlink in /service, and then executing the command:
    svc -dx /var/qmail/qscanq /var/qmail/qscanq/log
    
  3. Disable Gqscanq's crontab in the usual way for your platform (for example with the command crontab -r -u Gqscanq)
  4. Delete /package/mail/qscanq* and /var/qmail/qscanq/ at will.

Reinstalling Qmail

If you are using qscanq in "unpatched qmail" mode, you must run install-unwrap before reinstalling qmail.

If you don't, then qmail will overwrite qscanq's symbolic link with a fresh copy of qmail-queue, but install-wrap will see that /var/qmail/bin/qscanq/qmail-queue still exists, and so will assume that qmail-queue is already wrappered. Result: qscanq will not work.

If you try to fix the above situation manually, you are liable to forget that /var/qmail/bin/qscanq/qmail-queue is an outdated copy. Result: your new qmail installation will not include the new qmail-queue.

Just remember: run install-unwrap before reinstalling qmail. Better yet, blow away /var/qmail/bin before reinstalling. Then, when you're finished, remember to run install-wrap again.

 

Top


Len Budney
lbudney@pobox.com
Copyright © 1998 - 2004
Page generated: 20:42:12 21-Dec-2004