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
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]