Your message dated Wed, 26 Oct 2011 23:26:54 +0200
with message-id <[email protected]>
and subject line Re: Bug#644142: Uhm, the problem is situated in front of the 
computer ...
has caused the Debian Bug report #644142,
regarding bsd-mailx: mail doesn't pay attention to multiple -a parameters
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
644142: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644142
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bsd-mailx
Version: 8.1.2-0.20100314cvs-1
Severity: normal


According to it's man-page, it is possible to add the -a option several 
times ("This argument [-a] may be specified more than once, the headers 
will then be concatenated.")

But if I send a mail with 
echo "mailbody" | mail -a "Content-Type: text/plain; charset=UTF-8" \
 -a "X-Header1" -a "X-Header2" -s "Test" [email protected]

I get something like
To: [email protected]
Subject: Test
Content-Type: text/plain; charset=UTF-8
Message-Id: <some unique number>
Date: Mon,  3 Oct 2011 10:46:39 +0200 (CEST)
From: [email protected] (root)

X-Header1
X-Header2

mailbody

Only the first option is added as header while the others are added
to the mail body.  

Could you please make mail behave like it's man-page says?

Thanks,
Frank


-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bsd-mailx depends on:
ii  base-files              6.0squeeze2      Debian base system miscellaneous f
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  liblockfile1            1.08-4           NFS-safe locking library, includes
ii  postfix [mail-transport 2.7.1-1+squeeze1 High-performance mail transport ag

bsd-mailx recommends no packages.

bsd-mailx suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Frank Ellebrecht writes:
> Sorry for causing inconvenience. I just found out that it works if the
> custom headers each end with a colon (so "X-Header1:" works); should
> have tried this before reporting ...
> 

Thanks for finding this out. Since it's not a bug, I'm closing the bug
report.

Regards,
robert



--- End Message ---

Reply via email to