Commit 13c776c6 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Exclude instance check in VRFY

	* Resolves #1
parent 93c3add0
......@@ -264,7 +264,7 @@ sub protocol_validate {
}
}
if (!defined($request->{'instance'}) || $request->{'instance'} eq "") {
if ($request->{'protocol_state'} ne "VRFY" && !defined($request->{'instance'}) || $request->{'instance'} eq "") {
my $instance = defined($request->{'instance'}) ? "'".$request->{'instance'}."'" : "undef";
$server->log(LOG_ERR,"[PROTOCOLS/Postfix] Error, parameter 'instance' cannot be $instance") if ($log);
return "required parameter 'instance' was not found or invalid format";
......
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