Package: mutt
Version: 1.5.18-4
Severity: normal
Tags: upstream

The $sendmail option is described as follows:

  # Name: sendmail
  # Type: path
  # Default: "/usr/sbin/sendmail -oem -oi"
  #
  #
  # Specifies the program and arguments used to deliver mail sent by Mutt.
  # Mutt expects that the specified program interprets additional
  # arguments as recipient addresses.

I need to add an "always-bcc" address, so I tried

  set sendmail="/usr/sbin/sendmail -oem -oi [email protected]"

and also

  set sendmail="/usr/sbin/sendmail -oem -oi -- [email protected]"

It turns out, however, that mutt appends not only additional
arguments (recipients), but also unconditionally a '--'. In the
above cases, this yields:

  /usr/sbin/sendmail -oem -oi [email protected] -- [email protected]
  /usr/sbin/sendmail -oem -oi -- [email protected] -- [email protected]

Both are wrong. mutt should probably not append -- if it's already
contained in $sendmail.

PS: is there a better way to make mutt always BCC another address,
other than actually using my_hdr, which is simply too brittle?

-- Package-specific info:
Mutt 1.5.18 (2008-05-17)
Copyright (C) 1996-2008 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.6.27-1-686 (i686)
ncurses: ncurses 5.7.20081115 (compiled with 5.6)
libidn: 1.10 (compiled with 1.9)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Aug 27 2008 09:23:18)
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK   
+USE_POP  +USE_IMAP  +USE_SMTP  +USE_GSS  -USE_SSL_OPENSSL  +USE_SSL_GNUTLS  
+USE_SASL  +HAVE_GETADDRINFO  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME  
-EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET 
 +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <[email protected]>.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.13.cd.ifdef.2
patch-1.5.13.cd.purge_message.3.4
patch-1.5.13.nt+ab.xtitles.4
patch-1.5.4.vk.pgp_verbose_mime
patch-1.5.6.dw.maildir-mtime.1
patch-1.5.8.hr.sensible_browser_position.3

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

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

Versions of packages mutt depends on:
ii  libc6                 2.7-16             GNU C Library: Shared libraries
ii  libcomerr2            1.41.3-1           common error description library
ii  libgdbm3              1.8.3-4            GNU dbm database routines (runtime
ii  libgnutls26           2.4.2-3            the GNU TLS library - runtime libr
ii  libidn11              1.10-3             GNU libidn library, implementation
ii  libkrb53              1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii  libncursesw5          5.7+2008115-1      shared libraries for terminal hand
ii  libsasl2-2            2.1.22.dfsg1-23    Cyrus SASL - authentication abstra

Versions of packages mutt recommends:
ii  locales                       2.7-16     GNU C Library: National Language (
ii  mime-support                  3.44-1     MIME files 'mime.types' & 'mailcap
ii  postfix [mail-transport-agent 2.5.5-1.1  High-performance mail transport ag

Versions of packages mutt suggests:
ii  aspell                      0.60.6-1     GNU Aspell spell-checker
ii  ca-certificates             20080809     Common CA certificates
ii  gnupg                       1.4.9-3      GNU privacy guard - a free PGP rep
ii  ispell                      3.1.20.0-4.4 International Ispell (an interacti
pn  mixmaster                   <none>       (no description available)
ii  openssl                     0.9.8g-14    Secure Socket Layer (SSL) binary a
ii  urlview                     0.9-18       Extracts URLs from text

Versions of packages mutt is related to:
ii  mutt                          1.5.18-4   text-based mailreader supporting M
pn  mutt-dbg                      <none>     (no description available)
pn  mutt-patched                  <none>     (no description available)

-- no debconf information


-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to