On Fri, 27 Aug 2004, Mark Powell wrote: > On Fri, 27 Aug 2004, Mark Powell wrote: > The only differences when the email is over 250k is that spamc returns > instantly without contacting spamd so there's a possibility for some sort > of timing error in QS. This seems very unlikely though. > The other difference is the format of the returned results. Possibly QS > has a bug in handling that. That is strange though as 1.22 has no problems > with the same spamc.
Ok, tracked it down to this code in "sub spamassassin". I put some debugging in: &debug("SA: 0.0"); while (<SIN>) { &debug("SA: 0.0.0"); print (SOUT $_) || &debug("SA: print error"); } &debug("SA: 0.1"); I get lots of these in the logs for each line: Fri, 27 Aug 2004 20:06:55 BST:35118: SA: 0.0.0 Fri, 27 Aug 2004 20:06:55 BST:35118: SA: 0.0.0 Fri, 27 Aug 2004 20:06:55 BST:35118: SA: 0.0.0 Fri, 27 Aug 2004 20:06:55 BST:35118: SA: 0.0.0 Fri, 27 Aug 2004 20:06:55 BST:35118: SA: 0.0.0 But it never gets to logging "SA: 0.1". It just dies in that loop. This is a different technique from 1.22 which runs spamc with the email as stdin and reads the output directly to get the results, rather than directing the stdout of spamc to a file and reading that for the results. I guess the new technique is to provide better error handling, but it's causing some problems. Of course, the perl process should not just die in a loop like that. This requires more investigation. Cheers. > Cheers. > > > Yeah it seems very strange. Spamc just outputs "0/0" when the file is too > > big. You'd think nothing could go wrong there, but I've located the > > problem down to just that. Use the 1.22 QS.pl and it's fine move the 1.23 > > QS.pl back in and it fails on large spam checked emails. > > > > > Are you running a patched version or something? > > > > It's perl 5.8.5, SpamAssassin 2.64. Nothing is patched. 1.22 works with > > the same perl and SA that 1.23 has problems with. > > > > > That problem certainly doesn't exist for me, and I would have thought > > > others would have reported problems by now if it was a general > > > problem... > > > > Yeah, it's very strange. I've never had problems with QS before. It's > > always been so easy to get a new version running. I just can't see why > > it's doing this. The logs just stop at the SA line and that's it. Spamd is > > not contacted at all. > > Cheers. > > > > > > -- Mark Powell - UNIX System Administrator - The University of Salford Information Services Division, Clifford Whitworth Building, Salford University, Manchester, M5 4WT, UK. Tel: +44 161 295 4837 Fax: +44 161 295 5888 www.pgp.com for PGP key ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general