[Mimedefang] MIMEDefang and FreeBSD 4.8

Nels Lindquist nlindq at maei.ca
Mon Apr 5 13:45:08 EDT 2004


On 5 Apr 2004 at 16:25, Jan Pieter Cornet wrote:

> On Mon, Apr 05, 2004 at 08:40:26AM -0500, Mike Carlson wrote:
> > Anyone get MIMEDefang running with FreeBSD 4.8? I installed it from
> > the ports collection and I am trying to get it running but when I try
> > to send a test message I get the following error in /var/log/maillog:
> >
> > Apr  5 08:39:07 altair mimedefang-multiplexor: Slave 0 stderr: Can't locate warnings.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at /usr/local/bin/mimedefang.pl line 22. BEGIN failed--compilation aborted at /usr/local/bin/mimedefang.pl line 22. 
> [...]
>   
> > Anyone have any idea why I am getting the error above? Here are the
> 
> You are using perl version 5.005_03. That version is literally from the
> previous century (released March 1999). If you upgrade to something newer,
> that warning will go away. For example, 5.6.1 or 5.6.2 should install
> cleanly from /usr/ports/lang/perl5, or 5.8.2 or 5.8.3 from
> /usr/ports/lang/perl5.8

Alternatively, if you don't feel like upgrading your perl 
installation immediately but do want to get MIMEDefang running, you 
can simply comment out the "use warnings" line in mimedefang.pl--
David mentioned previously that it's only really needed for Can-It.

I've done this on a really-old-but-about-to-be-upgraded-I-swear 
RedHat 6.2 installation with perl 5.005 and it's working perfectly 
well. :-)

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.



More information about the MIMEDefang mailing list