Fix received_line hook behaviour (#312)

This commit is contained in:
Andreas Erhard 2023-09-05 17:35:04 +02:00 committed by GitHub
parent 265672ce2b
commit bf64ac9699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -861,7 +861,7 @@ sub received_line {
my ($rc, @received) =
$self->run_hooks("received_line", $smtp, $authheader, $sslheader);
if ($rc == OK) {
return join("\n", @received);
$header_str = join("\n", @received);
}
else { # assume $rc == DECLINED
$header_str =