Merge pull request #50 from priyadi/received_line_fix

Add our headers (Received & Authentication-Results) earlier, just after DATA
This commit is contained in:
Matt Simerson 2014-06-03 21:42:48 -07:00
commit c02c9c2358

View File

@ -783,6 +783,8 @@ sub data_respond {
return 1; return 1;
} }
$self->authentication_results();
$self->received_line();
$self->run_hooks("data_post"); $self->run_hooks("data_post");
} }
@ -919,8 +921,6 @@ sub data_post_respond {
return 1; return 1;
} }
else { else {
$self->authentication_results();
$self->received_line();
$self->queue($self->transaction); $self->queue($self->transaction);
} }
} }