Package: postgrey
Version: 1.27-3
Followup-For: Bug #380257

is_new_instance is missing a parameter. See the attached patch.
Hardly unnoticieable, it's spewing warnings all around.
--- /usr/sbin/postgrey  2006-09-23 12:56:24.000000000 +0200
+++ postgrey    2006-09-29 16:41:31.000000000 +0200
@@ -362,7 +362,7 @@
     }
 
     # X-Greylist header:
-    if(!$last_was_successful and $self->is_new_instance($attr->{instance})) {
+    if(!$last_was_successful and $self->is_new_instance($self, 
$attr->{instance})) {
         # syslog
         my $client = $attr->{client_name} eq 'unknown' ? 
$attr->{client_address} : $attr->{client_name};
         $self->mylog(2, "delayed ".($now-$first)." seconds: client=$client, 
from=$sender, to=$attr->{recipient}");

Reply via email to