On Sun, Oct 26, 2014 at 09:57:31AM +0100, Vincent Lefevre wrote:
> > I get this warning every time I run spamassassin:
> > 
> > $ spamassassin < /dev/null > /dev/null
> > Oct 25 10:48:42.555 [5732] warn: Argument "0.80_2" isn't numeric in numeric 
> > ge (>=) at /usr/share/perl5/Mail/SpamAssassin/Plugin/AskDNS.pm line 214.
> 
> This is really annoying as when executing sa-learn by cron, this
> spams me! Redirecting stderr to /dev/null is not an acceptable
> workaround as this would hide real errors. With sa-learn, one
> doesn't even have the keyword "warn:", so that this looks like
> an error, so that even grepping out this message is a bit risky
> (in addition to being ugly).

Is this really a spamassassin bug? We can certainly work around the
version check in spamassassin (particularly in Debian, where
Net::DNS::VERSION < 0.34 hasn't been true for a long, long time, but
there needs to be a programmatic way of comparing version numbers.
Imagine dpkg if the << and >> operators were forbidden. Seems to me that
Net::DNS should allow such comparisons, too...

noah

Attachment: signature.asc
Description: Digital signature

Reply via email to