Postfix support failing

Alex Broens ms-list at alexb.ch
Sat Sep 13 22:06:50 IST 2008


On 9/13/2008 10:43 PM, Glenn Steen wrote:
> 2008/9/13 Julian Field <MailScanner at ecs.soton.ac.uk>:
>> Got something for you both to try out:
>>
>> Edit /usr/lib/MailScanner/MailScanner/Message.pm.
>> In there, around line 2134, you will find a mention of "ReadMessageHandle".
> Mine is on line 2126... lines leading up to it is:
>     $handle = IO::File->new_tmpfile or die "Your /tmp needs to be set
> to \"chmod 1755 /tmp\"";
>     binmode($handle);
>     $this->{store}->ReadMessageHandle($this, $handle) or return;
> +   $handle->seek(0,0); # Rewind the file
> 
> Correct place?
>> On the next line, add this:
>>   $handle->seek(0,0); # Rewind the file
>>
>> Then restart MailScanner and see if it behaves any better.
>>
>> Please let me know how you get on.
> We'll see in a moment.... Working with normal messages... stopping...
> inserting your "affected" queue file... Still Just Works(tm). So the
> rewind seems to break nothing:-).
> Good News. Now all needed is that Alex and Hugo get their systems
> cured by the same means:-):-).

  #
     # This is for sendmail and Exim systems
     #
     $handle = IO::File->new_tmpfile or die "Your /tmp needs to be set
to \"chmod 1755 /tmp\"";
     binmode($handle);
     $this->{store}->ReadMessageHandle($this, $handle) or return;
     ## ADDED HACK BY JULES 9/13/2008
     $handle->seek(0,0); # Rewind the file

no change.. my 5 sample msgs weren't detected - hmpf
(yes I did restart MS)


Hugo? - want these 5 samples?
you have the web uri to pick them up.

ball over
Alex




More information about the MailScanner mailing list