Hey all, I've been using IMP and smtp to make sure that qmail-scanner-queue.pl is called for every email, but under heavy load that starts to slow a bit.
So I've been trying to convert to using qmail's sendmail (/var/qmail/bin/sendmail), and I can't get QMAILQUEUE to 'go'. There's not much in the archives, but I tried the two things I found. First, I created a shell script to set the environment, but I don't feel comfortable in how I did it (and the mail I sent 'disappeared', which confirms I did it wrong :) My script: ----------------------------- #!/bin/sh PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin export PATH QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl export QMAILQUEUE /var/qmail/bin/sendmail ----------------------------- That got me nowhere, so I added: SetEnv QMAILQUEUE /var/qmail/bin/qmail-scanner-queue.pl to my httpd.conf and restarted apache. checking out phpinfo() I can see: _SERVER["QMAILQUEUE"]/var/qmail/bin/qmail-scanner-queue.pl So it looks like it's there, and I can call /var/qmail/bin/sendmail directly from IMP and the email sends, but the env variable doesn't seem to be 'recognized'. Anyone have any ideas? Thanks, Rick -- -- Rick Romero IT Manager Valeo, Inc. ph: 262.695.4841 Sussex, WI. fax: 262.695.4850 [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general