Package: ssmtp
Version: 2.62-2.1
Severity: normal

For a few days now, I have noticed garbage at the end of my Logwatch mails that
are sent using ssmtp.

The following short perl script made from Logwatch source code triggers the
bug:

--
#!/usr/bin/perl -w
use strict;

my $out_mime = '';

open(OUTFILE,"|/usr/sbin/sendmail -t") or die "Can't execute mailer: $!\n";
print OUTFILE "To: root\n";
print OUTFILE "From: root\n";
print OUTFILE "Subject: Logwatch for testing ssmtp garbage at the end\n";

$out_mime = "MIME-Version: 1.0\n";
$out_mime .= "Content-Transfer-Encoding: 7bit\n";
$out_mime .= "Content-Type: text/plain; charset=\"iso-8859-1\"\n\n";
print OUTFILE $out_mime;

print OUTFILE "test ##################";

close(OUTFILE);
--

Feel free to ask for more info.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-openvz-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ssmtp depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  libc6                         2.7-16     GNU C Library: Shared libraries
ii  libgnutls26                   2.4.2-1    the GNU TLS library - runtime libr

ssmtp recommends no packages.

ssmtp suggests no packages.

-- debconf information:
  ssmtp/overwriteconfig: true
  ssmtp/mailname:
* ssmtp/mailhub: mail
* ssmtp/fromoverride: false
* ssmtp/hostname: sousmonlit.dyndns.org
* ssmtp/root: postmaster
* ssmtp/rewritedomain: sousmonlit.dyndns.org
* ssmtp/port: 25



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to