diff --git a/Changes b/Changes index 99bab6b..74b9deb 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ 0.33 + Fix a spurious newline at the start of messages queued via exim (Devin + Carraway) + Make the clamdscan plugin temporarily deny mail if if can't talk to clamd (Filippo Carletti) diff --git a/plugins/queue/exim-bsmtp b/plugins/queue/exim-bsmtp index 1258c40..8d02eff 100644 --- a/plugins/queue/exim-bsmtp +++ b/plugins/queue/exim-bsmtp @@ -90,8 +90,7 @@ sub hook_queue { "MAIL FROM:<", ($txn->sender->address || ''), ">\n"; print $tmp "RCPT TO:<", ($_->address || ''), ">\n" for $txn->recipients; - print $tmp "DATA\n", - $txn->header->as_string, "\n"; + print $tmp "DATA\n", $txn->header->as_string; $txn->body_resetpos; while (my $line = $txn->body_getline) { $line =~ s/^\./../;