> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Behalf Of O > Franssen > Sent: Tuesday, November 18, 2003 8:15 AM > To: qmail-s; qmail-scanner-general > Subject: [Qmail-scanner-general]Rule in tcpserver should work but > doesn't? > > > When I add this rule to my tcp.smtp: > :allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" > > My mail stops being delivered and I find the following in my > qmail-smtpd log: > > @400000003fba169c2051d39c tcpserver: status: 0/20 > @400000003fba16d027b79c34 tcpserver: status: 1/20 > @400000003fba16d027c2f28c tcpserver: pid 7393 from 81.21.65.144 > @400000003fba16d027f170e4 tcpserver: ok 7393 > ns1.websiteshosting.co.uk:81.21.68.49:25 > server5.donhost.co.uk:81.21.65.144::1025 > @400000003fba16d02a2fc43c Out of memory! > > Any obvious reasons for the above rule to brak my mail server?
Have you read the manual on this yet? It doesn't really sound like you have. You are SUPPOSED to read the manual before you ask questions on these lists. I do know that the manuals are often incomplete and not properly linked to additional info, but... This sounds like a simple problem that's discussed in the manual! When changing your system to include a new program in the mail-delivery chain (like the qmail-scanner), THIS manual (qmail-scanner) says to increase the amount of memory used my qmail-smtpd by changing the default line similar to: exec /usr/local/bin/softlimit -m 2000000 \ in the /var/qmail/supervise/qmail-smtpd/run file to something like: exec /usr/local/bin/softlimit -m 15000000 \ effectively increasing the amount of memory allowed for use by the child-programs of qmail-smtpd from the default LWQ 2MB limit to a 15MB limit. Since your log says OUT OF MEMORY, and things work without the qmail-scanner-queue.pl being executed, it seems logical to say that qmail-scanner-queue.pl does not have enough memory to run. This is well documented in the manual/FAQ. There are more issues to read about regarding this like do you know you're supposed to restart qmail-smtpd so it rereads the change? And the 15MB limit is a ballpark, adjust to your taste. blah blah blah read the manual. Ken ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general