Tonio,

> i've a problem with amavisd 2.7.0-pre11  (but it does the same with
> previous "pre" 2.7.0 versions)
> I use spamassassin and dspam scanner with this setting into amavisd.conf:
> 
> @spam_scanners = (
>     ['SpamAssassin', 'Amavis::SpamControl::SpamAssassin'],
>     ['DSPAM',  'Amavis::SpamControl::ExtProg', $dspam,
>                [ qw(--client --stdout --process --deliver=innocent,spam
>                     --user), $daemon_user ],
>                 score_factor => 1,
>     ],
>   );
> 
> and when I start amavisd i've got this message:
> 
> # amavisd debug
> Problem in ExtProg code: Global symbol "$per_recip_data" requires explicit
> package name at (eval 129) line 63.
> 
> if I remove DSPAM settings, everything works fine.

Thanks! The following should fix it:

--- amavisd~    2010-12-18 20:47:19.000000000 +0100
+++ amavisd     2010-12-18 21:04:41.000000000 +0100
@@ -23199,2 +23199,3 @@
   my(@av_tests);
+  my($per_recip_data) = $msginfo->per_recip_data;
   for my $r (@$per_recip_data) {



Mark

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
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

Reply via email to