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

Shawn Iverson shawniverson at
Fri Apr 1 12:31:31 UTC 2022

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/ 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/
> MailScanner-
> 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: <>

More information about the MailScanner mailing list