Clive Eisen wrote:


Have finally installed

mailscanner gets a little further but does not deliver, just loops on the same (broken with the -: header) message - this is a live service thats quite busy so I'll do some more tests tonight with debugging on

I had to do this to get the broken email to flow - the line numbers may be a bit off because I have been hand patching


*** QMDiskStore.pm      Thu Jun 17 09:21:51 2004
--- QMDiskStore.pm.new  Tue Jun 15 12:27:02 2004
***************
*** 218,228 ****
   $Tf->print("\n");
   if($this->{body}[0] eq "ORIGINAL") {
     my $handle = new FileHandle($this->{hdpath});
!     my($temphobj) = new Mail::Header();
!     $temphobj->read($handle);
!     $temphobj->delete("-:");
!     my($tempmiobj) = new Mail::Internet($handle,"Header",$temphobj);
!     #my $tempmiobj = new Mail::Internet($handle);
     $tempmiobj->print_body($Tf);
     close $handle;
   } elsif ($this->{body}[0] eq "MIME") {
--- 218,224 ----
   $Tf->print("\n");
   if($this->{body}[0] eq "ORIGINAL") {
     my $handle = new FileHandle($this->{hdpath});
!     my $tempmiobj = new Mail::Internet($handle);
     $tempmiobj->print_body($Tf);
     close $handle;
   } elsif ($this->{body}[0] eq "MIME") {



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Opencomputing-openprotect mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opencomputing-openprotect

Reply via email to