From: Joerg Jaspert Date: Thu, 8 May 2008 07:10:24 +0000 (+0200) Subject: HAHA. Lets put the header in the right place X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=761836f71452a6df9a8833cad1fa3e0ca19afe3a;p=dak HAHA. Lets put the header in the right place --- diff --git a/tools/debianqueued-0.9/debianqueued b/tools/debianqueued-0.9/debianqueued index 72b718a9..e84d3852 100755 --- a/tools/debianqueued-0.9/debianqueued +++ b/tools/debianqueued-0.9/debianqueued @@ -2077,7 +2077,7 @@ sub init_mail(;$) { my $file = shift; $main::mail_addr = ""; - $main::mail_text = "X-Debian: DAK\n"; + $main::mail_text = ""; $main::mail_subject = $file ? "Processing of $file" : ""; } @@ -2121,8 +2121,8 @@ sub send_mail($$$) { my $text = shift; debug( "Sending mail to $addr" ); - debug( "executing $conf::mail -s '$subject' '$addr'" ); - if (!open( MAIL, "|$conf::mail -s '$subject' '$addr'" )) { + debug( "executing $conf::mail -s '$subject' -a 'X-Debian: DAK' '$addr'" ); + if (!open( MAIL, "|$conf::mail -s '$subject' -a 'X-Debian: DAK' '$addr'" )) { msg( "log", "Could not open pipe to $conf::mail: $!\n" ); return 0; }