[Reply to message from "Charles Cazabon" on Saturday 12 Jun 2004 12:24 am]
>>> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND >>> qscand 7519 0.0 0.0 1492 396 ? S 05:49 0:00 >>> /var/qmail/bin/qmail-inject -h -f >>> qscand 7520 0.0 0.2 7904 5576 ? S 05:49 0:00 \_ >>> /usr/bin/suidperl -T /dev/fd/3/bin/qmail-queue >>> qscand 7557 0.0 0.0 1492 396 ? S 05:49 0:00 \_ >>> /var/qmail/bin/qmail-inject -h -f >>> qscand 7558 0.0 0.2 7904 5576 ? S 05:49 0:00 \_ >>> /usr/bin/suidperl -T /dev/fd/3/bin/qmail-queue >>> qscand 7601 0.0 0.0 1492 396 ? S 05:49 0:00 \_ >>> /var/qmail/bin/qmail-inject -h -f >>> qscand 7606 0.0 0.2 7948 5576 ? S 05:50 0:00 \_ >>> /usr/bin/suidperl -T /dev/fd/3/bin/qmail-queue > Consider: I connect from 1.2.3.4 and send a message. qmail-smtpd invokes > /var/qmail/bin/qmail-scanner-queue.pl instead of /var/qmail/bin/qmail-queue > because of what you've set QMAILQUEUE to. > > qmail-scanner-queue.pl futzes with the message and then ... what? Does it > invoke /var/qmail/bin/qmail-queue? Bingo, problem. In any case, your # The full path to qmail programs we'll need. (in /var/qmail/bin/qmail-scanner-queue.pl) my $qmailinject = '/var/qmail/bin/qmail-inject'; my $qmailqueue = '/var/qmail/bin/qmail-queue-ORIG'; I suppose I have overdone something. Since I am setting QMAILQUEUE to /var/qmail/bin/qmail-scanner-queue.pl, I really do not need this: lrwxrwxrwx 1 root root 22 Apr 2 07:15 qmail-queue -> qmail-scanner-queue.pl* Qmail-scanner-queue.pl will be invoked from within qmail anyway. Now, if qmail-inject is invoked from some script called by qmail-scanner there will certainly be a loop (even if I had not renamed qmail-queue). The output of "ps" seems to indicate this situation. Is there a way to determine how the qmail-inject is getting invoked? > question seems to be about "qmail-scanner-queue.pl", which is not part of > qmail, nor is it really related to qmail. Try asking the author(s) of that > script instead of the qmail list. Sure, I am also posting to qmail-scanner. -Chitta ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general