severity 436644 minor
tags 436644 +upstream +patch
forwarded 436644 http://lists.ee.ethz.ch/postgrey/msg01880.html
On Wednesday 08 August 2007 12.36:26 martin f krafft wrote:
> Aug 8 10:02:35 seamus postgrey[18562]: whitelisted: unknown
>
> I doubt this is by design and should probably not happen.
It's really just a bug in the log function: the IP should be printed, too.
Whitelisting is per IP, not per hostname, so nothing bad actually happens.
--- postgrey.orig 2007-08-08 13:18:31.781110432 +0200
+++ postgrey 2007-08-08 13:19:27.763456326 +0200
@@ -393,7 +393,8 @@
# ok, increase count
$cawl_count++;
$cawl_db->{$cawl_key}=$cawl_count.','.$now;
- $self->mylog(1, "whitelisted: $attr->{client_name}")
+ $self->mylog(1, "whitelisted: $attr->{client_name}"
+ ."[$attr->{client_address}]")
if $cawl_count==$self->{postgrey}{awl_clients};
}
}
cheers
-- vbi
--
OpenPGP encrypted mail welcome - my key: http://fortytwo.ch/gpg/92082481
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]