Re: Exim 4.97 Seems to Break MailScanner 5.4.5 due to Change in MessageID Length?

Shawn Iverson via MailScanner <mailscanner-qhrM8SXbD5JTOyd/[email protected]> Mon, 6 Nov 2023 14:27:10 -0500
Newsgroups gmane.mail.virus.mailscanner
Message-ID <[email protected]>
On 11/6/23 14:11, Tony Yates wrote:
>
> ...
>   # We have to strip the message-ID off the beginning of the file
>   # using sysread since that is what File::Copy uses and it doesn't
>   # play nicely with stdio operations such as $body->getline. The
>   # magic number 19 is from the length of NNNNNN-NNNNNN-NN-D\n.
>
> The magic number 19 is then used below that:
>
>  sysseek($from_h, 19, 0);
>
> I guess the new Message-ID structure would definitely break that.
>
Now comes the fun part of fixing it so that both old and new can work.



-- 
MailScanner mailing list
[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner