Nicklas, Martin,

> It wil be the same bug reported here in regard to Courier:
> http://marc.theaimsgroup.com/?l=amavis-user&m=111584415904600&w=2

This should fix it:

--- amavisd~        Mon May  9 20:22:42 2005
+++ amavisd     Mon May 23 17:35:34 2005
@@ -8639,3 +8639,7 @@
 { my(%needed_protocols);
-  $needed_protocols{$policy_bank{$_}{'protocol'}} = 1  for (keys %policy_bank);
+  for my $bank_name (keys %policy_bank) {
+    my($var) = $policy_bank{$bank_name}{'protocol'};
+    $var = $$var  if ref($var) eq 'SCALAR';  # allow one level of indirection
+    $needed_protocols{$var} = 1  if defined $var;
+  }

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