Package: enemies-of-carlotta
Version: 1.2.1-1
Severity: minor

After some testing of EoC I found that it mangles mail that conforms to rfc
822/2822 in that it has CRLF instead of just LF line terminators.

To reproduce, create a real file like this:
$ cat > /tmp/mail << EOF
Subject: some meaningless subject
To: <[EMAIL PROTECTED]>

some text
EOF

Then convert it to MS-DOS style line endings (the format specified by RFC
822/2822), you can use unix2dos or flip -m for this.

Now have EoC deliver it to some test mailing list unset:

$ cat /tmp/mail | [EMAIL PROTECTED] [EMAIL PROTECTED] \
        enemies-of-carlotta --incoming

Now look into the archive of the list and observe that the message got
mangled:

List-Id: <foo.localhost>[LF]
List-Help: <mailto:[EMAIL PROTECTED]>[LF]
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>[LF]
List-Subscribe: <mailto:[EMAIL PROTECTED]>[LF]
List-Post: <mailto:[EMAIL PROTECTED]>[LF]
List-Owner: <mailto:[EMAIL PROTECTED]>[LF]
Precedence: bulk[LF]
Subject: some meaningless subject[LF]
To: <[EMAIL PROTECTED]>[CRCRLF]
some text[CRCRLF]
[LF]
--[LF]
To unsubscribe, send mail to [EMAIL PROTECTED]

pretty strange.

Now, on exim this doesn't actually happen because it translates CRLF to LF
when going into the pipe transport. I suppose other MTAs do similar munging.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages enemies-of-carlotta depends on:
ii  procmail                      3.22-15    Versatile e-mail processor
ii  python                        2.3.5-5    An interactive high-level object-o

enemies-of-carlotta recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to