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

Richard Mealing richard at fastnet.co.uk
Wed Apr 6 07:09:51 UTC 2022


Sent…


From: Shawn Iverson <shawniverson at summitgrid.com>
Sent: Friday, April 1, 2022 14:40
To: Richard Mealing <richard at fastnet.co.uk>; MailScanner Discussion <mailscanner at lists.mailscanner.info>
Subject: Re: open body: Invalid argument at /usr/local/lib/perl5/site_perl/MIME/Entity.pm line 1892.


Yes
On 4/1/22 08:55, Richard Mealing wrote:
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 <mailscanner-bounces+richard=fastnet.co.uk at lists.mailscanner.info><mailto:mailscanner-bounces+richard=fastnet.co.uk at lists.mailscanner.info> On Behalf Of Shawn Iverson via MailScanner
Sent: Friday, April 1, 2022 13:32
To: mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>
Cc: Shawn Iverson <shawniverson at summitgrid.com><mailto:shawniverson at summitgrid.com>
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20220406/da7cc3a8/attachment.html>


More information about the MailScanner mailing list