RE: open body: Invalid argument at /usr/local/lib/perl5/site_perl/MIME/Entity.pm line 1892.

Richard Mealing <[email protected]> Fri, 1 Apr 2022 12:55:53 +0000
Newsgroups gmane.mail.virus.mailscanner
Message-ID <LO0P265MB6358BE549B378E9D909DB07CF0E09@LO0P265MB6358.GBRP265.PROD.OUTLOOK.COM>
I’m using 5.509.

I can probably get some examples, seems like something wrong with utf8 encoding. If I get some examples can I send them off list?

Thanks,
Rich

From: MailScanner <[email protected]> On Behalf Of Shawn Iverson via MailScanner
Sent: Friday, April 1, 2022 13:32
To: [email protected]
Cc: Shawn Iverson <[email protected]>
Subject: Re: open body: Invalid argument at /usr/local/lib/perl5/site_perl/MIME/Entity.pm line 1892.


MailScanner works with FreeBSD.

This message is occurring when MIME::Entity is trying to open the message to read it and is encountering something strange.

I don't think this is a FreeBSD specific problem and worth investigating.  Can you get your hands on a message that triggers this behavior that is reproducible?

Also, can you share what version of MIME::Entity you have?

perl -M'MIME::Entity' -e 'print $MIME::Entity::VERSION . "\n";'
On 4/1/22 06:25, Richard Mealing wrote:
Hi,

I have installed mailscanner onto a freebsd 13 machine, got a bunch of emails in my queue and seeing this in debug –
In Debugging mode, not forking...
Trying to setlogsock(unix)
Building a message batch to scan...
Have a batch of 1 message.
open body: Invalid argument at /usr/local/lib/perl5/site_perl/MIME/Entity.pm line 1892.

When I remove this file the email finally delivers, but I get an error message - Apr  1 11:09:59 btn-mailfilter-v2 MailScanner[19983]: Failed to link message body between queues (/var/spool/mqueue/df22VE1oKZ001668 --> /var/spool/mqueue.in/df22VE1oKZ001668)

MailScanner-5.3.4.3
p5-Mail-Tools-2.21

I don’t know what’s going wrong, can mailscanner work on FreeBSD or shall I use something else?

Thanks,
Rich



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