> > An easier solution should be to add the following to your > qmail-smtpd/run file: > > export QMAIL_QUEUE="/var/qmail/bin/qmail-scanner-queue" > > And then restart qmail-smtpd.
While this is easier, it doesn't allow you to realize the full functionality of qmail-scanner. By passing the variables with tcpserver, you can configure qmail-scanner not to check any messages that come from localhost, for instance. We also don't check anything coming from our local LAN for spam (only for viruses) and check everything else for both. You can't do that with the method above. Trey Nolen