#3168: $sendmail option unconditionally and wrongly uses -- ------------------------------+--------------------------------------------- Reporter: [email protected] | Owner: mutt-dev Type: defect | Status: new Priority: minor | Milestone: Component: mutt | Version: 1.5.19 Keywords: | ------------------------------+--------------------------------------------- Forwarded from http://bugs.debian.org
--- 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? -- Ticket URL: <http://dev.mutt.org/trac/ticket/3168> Mutt <http://www.mutt.org/> The Mutt mail user agent
