Unreadable multipart MIME messages - Solved

Stephen Lee splee at PLEXIO.COM
Fri Jan 11 00:54:38 GMT 2002


On Thu, 2002-01-10 at 12:01, Stephen Lee wrote:

>
> I found the problem:
>
> Jan 10 11:44:13 mail mailscanner[16731]: Cannot parse
> /var/spool/MailScanner/incoming/16Ol6z-0004Sa-00.header and
> /var/spool/exim_incoming/input/16Ol6z-0004Sa-00-D, Can't locate
> MIME/Decoder/NBit.pm in @INC (@INC contains: /usr/local/MailScanner/bin
> /usr/local/lib/perl5/5.6.1/i586-linux /usr/local/lib/perl5/5.6.1
> /usr/local/lib/perl5/site_perl/5.6.1/i586-linux
> /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .)
> at /usr/local/lib/perl5/site_perl/5.6.1/MIME/Decoder.pm line 171.
> Jan 10 11:44:13 mail mailscanner[16731]: Scanned 1 messages, 100628
> bytes in 0 seconds
> Jan 10 11:44:13 mail mailscanner[16731]: Saved entire message to
> /var/spool/MailScanner/quarantine/20020110/16Ol6z-0004Sa-00
> Jan 10 11:44:13 mail mailscanner[16731]: Deleting unparsable message
> 16Ol6z-0004Sa-00 from queue
>
>
> Perl can't find NBit.pm. The default module config put it in
> /usr/local/lib/perl5/site_perl/5.6.1/MIME/Decoder/NBit.pm
>
> I tried placing a link to NBit.pm from
> /usr/local/lib/perl5/5.6.1/i586-linux  but that didn't work. Is there
> some where else to adjust to get perl or MailScanner to find NBit.pm?
>

After stewing in my own juices (figuratively of course) for a while and
learning a whole bunch of stuff on Perl module management I discovered
that the path to the above "missing" module was blocked from non-root
access. Duh! The Eicar test works nicely now and other non-infected mime
attachments seem to be unmolested. On to SpamAssassin...

I sure hope F-Prot for Linux stays reasonably priced ;-)

Thanks for making F-Prot work with MailScanner!

Stephen



More information about the MailScanner mailing list