Package: swaks Version: 20100211.0-21 Severity: normal Hi,
using the --header to add a header that does not exist yet will cause
that data to be discarded silently. The documentation states --header
"behaves identically to --add-header" then.
How to repeat:
swaks --dump \
--from [email protected] --to [email protected] \
--header 'X-Foo: Bar'
Expected behaviour:
Same as if using --add-header instead of --header:
(...)
data = <<.
Date: Sat, 09 Apr 2011 11:53:55 +0200
To: [email protected]
From: [email protected]
Subject: test Sat, 09 Apr 2011 11:53:55 +0200
X-Mailer: swaks v20100211.0 jetmore.org/john/code/swaks/
X-Foo: Bar
This is a test mailing
.
Observed behaviour:
The "X-Foo:" header is missing
(...)
data = <<.
Date: Sat, 09 Apr 2011 11:53:55 +0200
To: [email protected]
From: [email protected]
Subject: test Sat, 09 Apr 2011 11:53:55 +0200
X-Mailer: swaks v20100211.0 jetmore.org/john/code/swaks/
This is a test mailing
.
-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32.32 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages swaks depends on:
ii perl 5.10.1-17 Larry Wall's Practical Extraction
Versions of packages swaks recommends:
pn libnet-dns-perl <none> (no description available)
pn libnet-ssleay-perl <none> (no description available)
Versions of packages swaks suggests:
ii perl-doc 5.10.1-17 Perl documentation
-- no debconf information
signature.asc
Description: Digital signature

