On Tue, Mar 14, 2006 at 01:13:58PM +0100, Mark Martinec wrote:

> A second public pre-release of amavisd-new is available at:
> 
>   http://www.ijs.si/software/amavisd/amavisd-new-2.4.0-pre6.tar.gz

I had to:

--- amavisd     Tue Mar 14 10:06:57 2006
+++ amavisd     Tue Mar 14 10:09:02 2006
@@ -13968,7 +13968,7 @@
     }
     if (!$found && defined($ldap_policy)) {
       my($wblist);
-      my($keys_ref,$rhs_ref) = make_query_keys($sender,0,0);
+      my($keys_ref,$rhs_ref) = 
Amavis::rfc2821_2822_Tools::make_query_keys($sender,0,0);
       my(@keys) = @$keys_ref;
       unshift(@keys, '<>')  if $sender eq '';  # a hack for a null return path
       $_ = untaint($_) for @keys; # untaint keys

otherwise I got this:

Mar 14 00:04:10 ukiah postfix/smtp[19614]: 48CD3123D: to=<[EMAIL PROTECTED]>, 
relay=127.0.0.1[127.0.0.1]:10024, delay=0.72, delays=0.41/0.02/0.01/0.29, dsn=4.
5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in process
ing, id=19135-02, spam-wb-list FAILED: Undefined subroutine &Amavis::SpamControl
::make_query_keys called at (eval 58) line 111. (in reply to end of DATA command
))

This appears to be an issue only when using LDAP, not sure why it didn't
give an error in previous versions. Otherwise it appears to be working
fine.

Alternatively, the below should fix it also, I don't know which you prefer.

--- amavisd     Tue Mar 14 10:06:57 2006
+++ amavisd     Tue Mar 14 12:54:29 2006
@@ -13875,6 +13875,7 @@
   import Amavis::Conf qw(:platform c cr ca);
   import Amavis::Util qw(ll do_log untaint);
   import Amavis::Lookup qw(lookup);
+  import Amavis::rfc2821_2822_Tools qw(make_query_keys);
 }
 
 use vars qw($scanner_obj);

--

Mike Hall,
System Admin - Rock Island Communications           <[EMAIL PROTECTED]>
System Admin - riverside.org, ssdd.org              <[EMAIL PROTECTED]>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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