From 301203331755425f856f94cedb8138a89394cbb3 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Fri, 5 Apr 2024 14:29:13 -0400 Subject: [PATCH] postfix: avoid logging full headers (#319) --- lib/Qpsmtpd/Postfix.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Qpsmtpd/Postfix.pm b/lib/Qpsmtpd/Postfix.pm index 2946bba..6a98816 100644 --- a/lib/Qpsmtpd/Postfix.pm +++ b/lib/Qpsmtpd/Postfix.pm @@ -206,7 +206,7 @@ sub inject_mail { my $hdr = $transaction->header->as_string; for (split(/\r?\n/, $hdr)) { - print STDERR "hdr: $_\n"; + # print STDERR "hdr: $_\n"; $strm->print_msg_line($_); } $transaction->body_resetpos;