Package: fdm
Version: 1.3c-1
Severity: important

When matching regexps to mail with From_ lines, the substitution tags
%0 - %9 contain bogus strings.  More precisely: if the From_ line
including the trailing newline is 47 characters long, they contain the
strings which come 47 characters positions earlier in the mail then
the string they should contain.

There is a test case attached; 'sample' contains a sample Mail to
reproduce the problem and 'sample-rules' has the corresponding rules.
Run "fdm -f sample-rules fetch <sample" to reproduce it.

Thanks for your work,
Jö.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-k7 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fdm depends on:
ii  adduser                 3.104            add and remove users and groups
ii  libc6                   2.6.1-1+b1       GNU C Library: Shared libraries
ii  libpcre3                6.7-1            Perl 5 Compatible Regular Expressi
ii  libssl0.9.8             0.9.8e-6         SSL shared libraries
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

fdm recommends no packages.

-- no debconf information

-- 
<ex-bart> seen die_MACHT
<Volk> I don't know who die_MACHT is.
From [EMAIL PROTECTED] Thu Aug 30 15:58:46 2007
X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/4317

Mail Text
account "stdin" stdin

match "^X-Mailing-List: <(somelist)@some\.where\.else>" in headers action {
        exec "echo >&2 '%%0=>%0<'"
        exec "echo >&2 '%%1=>%1<'"
}       

Attachment: signature.asc
Description: Digital signature

Reply via email to