On 2019-08-01 20:58:39 +0200, Peter J. Holzer wrote: > I will send a patch shortly.
Attached. hp -- _ | Peter J. Holzer | we build much bigger, better disasters now |_|_) | | because we have much more sophisticated | | | h...@hjp.at | management tools. __/ | http://www.hjp.at/ | -- Ross Anderson <https://www.edge.org/>
Description: Fix handling of received_line hook The received line(s) returned by the hook must be prepended to the header, not returned to the caller. Author: Peter J. Holzer <h...@hjp.at> Bug-Debian: http://bugs.debian.org/933679 Index: qpsmtpd-0.94/lib/Qpsmtpd/SMTP.pm =================================================================== --- qpsmtpd-0.94.orig/lib/Qpsmtpd/SMTP.pm +++ qpsmtpd-0.94/lib/Qpsmtpd/SMTP.pm @@ -870,7 +870,7 @@ sub received_line { die "YIELD not supported for received_line hook"; } elsif ($rc == OK) { - return join("\n", @received); + $header_str = join("\n", @received); } else { # assume $rc == DECLINED $header_str =
signature.asc
Description: PGP signature