Fix extra newlines between headers and body. This caused problems with DKIM verification in SpamAssassin

This commit is contained in:
Priyadi Iman Nurcahyo 2014-06-03 07:24:29 +00:00
parent d60882c857
commit 2775e992a1

View File

@ -291,7 +291,7 @@ sub assemble_message {
my $message =
"X-Envelope-From: "
. $transaction->sender->format . "\n"
. $transaction->header->as_string . "\n\n";
. $transaction->header->as_string;
while (my $line = $transaction->body_getline) { $message .= $line; }