Andrzej,

> Below is a small patch against 2.3.1 that adds one sanity check w.r.t.
> version of SAVI-Perl.
>
> Using SAVI-Perl older than 0.20 causes amavisd-new not to start but instead
> eat all memory on load_data in sophos_savi_init(). SAVI-Perl 0.20 is the
> first version that introduced this method and thus is the oldest required.
>
> Unfortunately 0.10 is still the newest on CPAN, and simple ``perl -MCPAN -e
> "install SAVI" '' doesn't do the right thing...

Thanks. The following is probably just as good but simpler:

-        if (defined(eval { require SAVI }) &&
+        if (defined(eval { require SAVI }) && SAVI->VERSION(0.20) &&

Mark


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to