On Tue, Feb 01, 2011 at 02:00:22AM +0100, Mark Martinec wrote: > Henrik, > > > Jan 31 11:08:53 xxx amavis[1058]: (01058) _WARN: Use of uninitialized > > value in concatenation (.) or string at > > /usr/local/perl/lib/site_perl/5.12.1/Mail/SPF/Util.pm line 109, <GEN25> > > line 22. > > Jan 31 11:08:53 xxx amavis[1058]: (01058) _WARN: spf: lookup failed: > > Bad arg length for NetAddr::IP::Util::sub128, length is 0, should be > > 128 at > > /usr/local/perl/lib/site_perl/5.12.1/i686-linux/NetAddr/IP/Lite.pm > > line 1131. > > > > If I run spamassassin from command line, I don't get any warnings. > > Any ideas? > > The difference is that amavisd sees NetAddr/IP/Lite/Util/Util.pm > as autosplit modules, while a command line spamassassin happens > to load it in its entirety. > > There is a bug in NetAddr-IP (actually two), which only shows when > its modules are autoloaded. Here is a patch on NetAddr-IP-4.038:
Works perfect as always. :-) Cheers, Henrik ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org