Package: msmtp
Version: 1.4.13-1+b1
Severity: minor

I tested the following commands.  In all cases, the mail arrives, but
the header reads "From: [EMAIL PROTECTED]".  Nowhere does the
comment "Comment" appear.

  echo message body | msmtp --auto-from=off [EMAIL PROTECTED] -f [EMAIL 
PROTECTED]
  echo message body | msmtp --auto-from=off [EMAIL PROTECTED] -f 'Comment 
<[EMAIL PROTECTED]>'
  echo message body | msmtp --auto-from=off [EMAIL PROTECTED] -f '[EMAIL 
PROTECTED] (Comment)'

They generate the following logfile entries.

  Jun 21 03:00:12 host=mail.internode.on.net tls=off auth=off [EMAIL PROTECTED] 
[EMAIL PROTECTED] mailsize=13 exitcode=EX_OK
  Jun 21 03:00:14 host=mail.internode.on.net tls=off auth=off from=Comment 
<[EMAIL PROTECTED]> [EMAIL PROTECTED] mailsize=13 exitcode=EX_OK
  Jun 21 03:00:15 host=mail.internode.on.net tls=off auth=off [EMAIL PROTECTED] 
(Comment) [EMAIL PROTECTED] mailsize=13 exitcode=EX_OK

Also find attached an mbox containing the three emails as they appear
at the receiving end.  AFAICT, msmtp is stripping the comments, and
IMO it shouldn't.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages msmtp depends on:
ii  debconf [debconf-2.0]  1.5.22            Debian configuration management sy
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libcomerr2             1.40.8-2          common error description library
ii  libgcrypt11            1.4.1-1           LGPL Crypto library - runtime libr
ii  libgnutls26            2.2.5-1           the GNU TLS library - runtime libr
ii  libgpg-error0          1.4-2             library for common error values an
ii  libgsasl7              0.2.21-2+b1       GNU SASL library
ii  libidn11               1.8+20080606-1    GNU libidn library, implementation
ii  libkrb53               1.6.dfsg.3-2      MIT Kerberos runtime libraries
ii  libntlm0               0.3.13-1          NTLM authentication library
ii  libtasn1-3             1.4-1             Manage ASN.1 structures (runtime)
ii  ucf                    3.007             Update Configuration File: preserv
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages msmtp recommends:
ii  ca-certificates               20080514   Common CA certificates

-- debconf information:
  msmtp/sysconfig: false
  msmtp/host:
  msmtp/tls: false
  msmtp/auto_from: true
  msmtp/port: 25
  msmtp/maildomain:
>From [EMAIL PROTECTED] Sat Jun 21 03:00:14 2008
Delivered-To: [EMAIL PROTECTED]
Received: by 10.141.105.11 with SMTP id h11cs125404rvm;
        Fri, 20 Jun 2008 10:00:15 -0700 (PDT)
Received: by 10.110.84.3 with SMTP id h3mr2881051tib.48.1213981214578;
        Fri, 20 Jun 2008 10:00:14 -0700 (PDT)
Return-Path: <[EMAIL PROTECTED]>
Received: from ash25e.internode.on.net (ash25e.internode.on.net 
[203.16.214.182])
        by mx.google.com with ESMTP id i9si3500680tid.15.2008.06.20.10.00.13;
        Fri, 20 Jun 2008 10:00:14 -0700 (PDT)
Received-SPF: neutral (google.com: 203.16.214.182 is neither permitted nor 
denied by domain of [EMAIL PROTECTED]) client-ip=203.16.214.182;
Authentication-Results: mx.google.com; spf=neutral (google.com: 203.16.214.182 
is neither permitted nor denied by domain of [EMAIL PROTECTED]) [EMAIL 
PROTECTED]
Received: from localhost (ppp59-167-90-87.lns2.mel6.internode.on.net 
[59.167.90.87])
        by ash25e.internode.on.net (8.14.2/8.13.5) with ESMTP id m5KH0BRl029757
        for <[EMAIL PROTECTED]>; Sat, 21 Jun 2008 02:30:12 +0930 (CST)
        (envelope-from [EMAIL PROTECTED])
Date: Sat, 21 Jun 2008 02:30:11 +0930 (CST)
From: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
To: undisclosed-recipients:;
Status: RO
Content-Length: 13
Lines: 1

message body

>From [EMAIL PROTECTED] Sat Jun 21 03:00:15 2008
Delivered-To: [EMAIL PROTECTED]
Received: by 10.141.105.11 with SMTP id h11cs125405rvm;
        Fri, 20 Jun 2008 10:00:16 -0700 (PDT)
Received: by 10.110.46.3 with SMTP id t3mr2895332tit.30.1213981215602;
        Fri, 20 Jun 2008 10:00:15 -0700 (PDT)
Return-Path: <[EMAIL PROTECTED]>
Received: from ash25e.internode.on.net (ash25e.internode.on.net 
[203.16.214.182])
        by mx.google.com with ESMTP id d1si3389839tid.11.2008.06.20.10.00.14;
        Fri, 20 Jun 2008 10:00:15 -0700 (PDT)
Received-SPF: neutral (google.com: 203.16.214.182 is neither permitted nor 
denied by domain of [EMAIL PROTECTED]) client-ip=203.16.214.182;
Authentication-Results: mx.google.com; spf=neutral (google.com: 203.16.214.182 
is neither permitted nor denied by domain of [EMAIL PROTECTED]) [EMAIL 
PROTECTED]
Received: from localhost (ppp59-167-90-87.lns2.mel6.internode.on.net 
[59.167.90.87])
        by ash25e.internode.on.net (8.14.2/8.13.5) with ESMTP id m5KH0DfD029765
        for <[EMAIL PROTECTED]>; Sat, 21 Jun 2008 02:30:13 +0930 (CST)
        (envelope-from [EMAIL PROTECTED])
Date: Sat, 21 Jun 2008 02:30:13 +0930 (CST)
From: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
To: undisclosed-recipients:;
Status: RO
Content-Length: 13
Lines: 1

message body

>From [EMAIL PROTECTED] Sat Jun 21 03:00:16 2008
Delivered-To: [EMAIL PROTECTED]
Received: by 10.141.105.11 with SMTP id h11cs125406rvm;
        Fri, 20 Jun 2008 10:00:17 -0700 (PDT)
Received: by 10.110.105.10 with SMTP id d10mr2879590tic.52.1213981216585;
        Fri, 20 Jun 2008 10:00:16 -0700 (PDT)
Return-Path: <[EMAIL PROTECTED]>
Received: from ash25e.internode.on.net (ash25e.internode.on.net 
[203.16.214.182])
        by mx.google.com with ESMTP id a14si3468377tia.0.2008.06.20.10.00.15;
        Fri, 20 Jun 2008 10:00:16 -0700 (PDT)
Received-SPF: neutral (google.com: 203.16.214.182 is neither permitted nor 
denied by domain of [EMAIL PROTECTED]) client-ip=203.16.214.182;
Authentication-Results: mx.google.com; spf=neutral (google.com: 203.16.214.182 
is neither permitted nor denied by domain of [EMAIL PROTECTED]) [EMAIL 
PROTECTED]
Received: from localhost (ppp59-167-90-87.lns2.mel6.internode.on.net 
[59.167.90.87])
        by ash25e.internode.on.net (8.14.2/8.13.5) with ESMTP id m5KH0E3t029768
        for <[EMAIL PROTECTED]>; Sat, 21 Jun 2008 02:30:14 +0930 (CST)
        (envelope-from [EMAIL PROTECTED])
Date: Sat, 21 Jun 2008 02:30:14 +0930 (CST)
From: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
To: undisclosed-recipients:;
Status: RO
Content-Length: 13
Lines: 1

message body

Reply via email to