Commit cf2a622f authored by Nigel Kukard's avatar Nigel Kukard
Browse files

* Fixed OK support for trunk

parent f9a1a6e6
......@@ -159,6 +159,14 @@ sub check {
$sessionData->{'Recipient'});
return $server->protocol_response(PROTO_REDIRECT,$row->{'data'});
} elsif ($row->{'verdict'} =~ /^ok$/i) {
$server->maillog("module=AccessControl, action=ok, host=%s, helo=%s, from=%s, to=%s, reason=verdict",
$sessionData->{'ClientAddress'},
$sessionData->{'Helo'},
$sessionData->{'Sender'},
$sessionData->{'Recipient'});
return $server->protocol_response(PROTO_OK,$row->{'data'});
} elsif ($row->{'verdict'} =~ /^pass$/i) {
$server->maillog("module=AccessControl, action=pass, host=%s, helo=%s, from=%s, to=%s, reason=verdict",
$sessionData->{'ClientAddress'},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment