Package: minimalist
Version: 2.5.3-2
Severity: normal
Tags: patch

minimalist fails to remove the 'From ' line on incoming messages, then 
adds headers on top of that line.  The result is that some MTAs, upon 
seeing the 'From ' line, decide that this is where the message body 
starts, and thereby ignore the rest of the headers entirely.  Thus has 
serious implications, since the clients will therefor not see the From:, 
To: and Cc: headers, and will display incorrect information, reply to 
incorrect senders and so on.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=sv_SE.utf8, LC_CTYPE=sv_SE.utf8 (charmap=UTF-8)

Versions of packages minimalist depends on:
ii  perl [perl5]                  5.8.8-7    Larry Wall's Practical Extraction 

minimalist recommends no packages.

-- no debconf information
# 
# old_revision [f6ff0c7deb14d672c9b93d788369969e42742d06]
# 
# patch "debian/changelog"
#  from [5cdab6b3d68c94fa579704d0e92cefb5ba9db533]
#    to [9bc723cbc7acbb937bc76ab5daac13d8498c53f3]
# 
# patch "minimalist.pl"
#  from [19a87284c5879e886b971359a43b1b5c199ee708]
#    to [f165a7b7c5c05690e4eb0c70454f28ef51d7b281]
# 
============================================================
--- debian/changelog    5cdab6b3d68c94fa579704d0e92cefb5ba9db533
+++ debian/changelog    9bc723cbc7acbb937bc76ab5daac13d8498c53f3
@@ -1,3 +1,9 @@
+minimalist (2.5.3-2+RL20070213) unstable; urgency=low
+
+  * Change minimalist.pl to remove 'From ' lines unconditionally.
+
+ -- Richard Levitte <[EMAIL PROTECTED]>  Tue, 13 Feb 2007 12:59:59 +0100
+
 minimalist (2.5.3-2) unstable; urgency=low
 
   * Use nobody:nogroup for /var/spool/minimalist again.
============================================================
--- minimalist.pl       19a87284c5879e886b971359a43b1b5c199ee708
+++ minimalist.pl       f165a7b7c5c05690e4eb0c70454f28ef51d7b281
@@ -598,6 +598,9 @@ _EOF_
    chomp ($header);
    $header .= "\nPrecedence: list\n";          # For vacation and similar 
programs
 
+   # Remove original From_ line unconditionally
+   $header =~ s/^From .*\n//i;
+
    # Remove original Reply-To unconditionally, set configured one if it is
    $header =~ s/(^|\n)reply-to:\s+.*\n([ \t]+.*\n)*/$1/ig;
    if ($reply_to_list eq 'yes') { $header .= "Reply-To: $to_gecos <[EMAIL 
PROTECTED]>\n"; }

Reply via email to