On Tue, Jul 16, 2002 at 03:33:24PM -0700, Bill Pavich wrote:
> Has anyone found a solution to the reformime problem???

Yes :-)

Apparently there's a problem with pipe handling that flicks up under some
OSes more often than others.

I've rewritten the offending code to make it happier on all platforms, and
that (Q-S v1.13) should be released by the end of the week.

Just want to burn it in first before releasing it.

If you want to patch it, change:


  open(MIME,"$mimeunpacker_binary 
<$scandir/$wmaildir/new/$file_id|")||&tempfail("cannot call mimeunpacker - $!");
  close(MIME)||&tempfail("cannot close mimeunpacker - $!");
  
  
to...
  open(MIME,"$mimeunpacker_binary <$scandir/$wmaildir/new/$file_id|")||&tempfail 
("cannot call mimeunpacker - $!");
  while (<MIME>) {
      next if (/exists\./);
          &tempfail("d_m: output spotted from reformime - that shouldn't
happen!");
  }
  close(MIME)||&tempfail("cannot close mimeunpacker - $!");
  
  
i.e. put in a while loop where there wasn't one before. Some OSes don't like
not being able to read the output.

-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to