I solved the problem by changing one file /var/qmail/supervise/qmail-smtpd/run
from: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 2000000 \ /usr/local/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 to: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 2000000 \ /usr/local/bin/tcpserver -v -x /etc/tcp.smtp.cdb -c 30 -R \ -u "$QMAILUID" -g "$NOFILESGID" 0 smtp Did the trick, thanks Nick Twaddell!! -----Original Message----- From: Pat McAndrew Sent: Tuesday, September 02, 2003 3:49 PM To: '[EMAIL PROTECTED]' Subject: broken mail Hello all, My setup: qmail 1.03 --> qmail-scanner --> spam-assassin --> local qmail delivery to maildir --> courier imapd --> squirrelmail I patched qmail 1.03 with the patch required for qmail-scanner (and confirmed it by doing a strings on the binaries). I just installed qmail-scanner in my setup. Now I cannot receive or send any mail. After checking the logs, qmail-scanner scans the income message, the scan is successful. It fires up spamassassin, spam-assassin doesn't mark it as spam (even if it does it just adds the X-Spam-Status: header). Then according to /var/spool/qmailscan/qmail-queue.log: Tue, 02 Sep 2003 15:27:20 %z:26616: q_r: fork off child into /var/qmail/bin/qmail-queue... Tue, 02 Sep 2003 15:27:20 %z:26623: q_r: xstatus=0 Tue, 02 Sep 2003 15:27:20 %z:26616: cleanup: /usr/bin/rm -rf /var/spool/qmailscan/demonslut.analysislevel.com106253084045526616/ /var/spool/qmailscan/working/new/demonslut.analysislevel.com106253084045526616 02/09/2003 15:27:21:26616: all finished. Total of 0.926369 secs Notice how is fires up qmail-queue for local delivery, but all of my incoming and outgoing mail end up in the /var/qmail/queue/mess dir!??!!?! How come local delivery doesn't work anymore?? I updated tcpserver, in /etc/tcp.smtp so it looks like this: 127.0.0.1:allow,RELAYCLIENT="" :allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" and yes I updated the /etc/tcp.smtp.cdb file using the command: tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp My qmail logging is all screwed up, so I can't reference any qmail log files at this moment (because they don't exist). Can anyone help? Thanks Pat ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
