procmail
[Top] [All Lists]

linux users - can you duplicate ?

1998-06-06 15:50:42
I am having trouble with the following formail command

        formail -rtzxTo: <test-file

where the headers in test-file have a Tab (^I) character after the From:
string, and before the email address. I get Segmenation fault (core dumped).

When the same command is run in the middle of a procmail recipe, it does
not dump core or abend, but it does not return a result either.

I am running formail from 3.11pre7, as evidenced by running formail -h, and
seeing the 4th line explains the z argument.

I am running both Red Hat 4.2 with kernel 2.0.32, and Red Hat 5.0 with
kernel 2.0.33 with the same effects.

If I run the command without the z argument, it does not dump core, and it
returns the email address with a space in front. That is

        formail -rtxTo: <test-file

If I change the order of the arguements, it does not dump core, although it
does not return an answer either. That is

        formail -rtxzTo: <test-file


If I edit the test-file, and remove the tab character in the From: line,
formail returns the email address correctly.

Formail -rtzx should get the address from the Reply-to line first, which
does not have a tab in that line. Same with Sender line.

Removing those lines does not have any effect on core dumped.

Other users have reported that formail works fine on their machine, which I
presume is not Linux.


test-file (should contain tab characters in Date, From, To fields)

Date:   Thu, 4 Jun 1998 16:07:24 -0400 (EDT)
Sender: Jack Jones <jones(_at_)email(_dot_)unc(_dot_)edu>
From:   Jack Jones <jones(_at_)email(_dot_)unc(_dot_)edu>
Reply-To: Jack Jones <jones(_at_)email(_dot_)unc(_dot_)edu>
To:     list-off(_at_)mail-list(_dot_)com
Subject: off
Message-ID: 
<Pine(_dot_)A41(_dot_)3(_dot_)95L(_dot_)980604160514(_dot_)38034A-100000(_at_)isis(_dot_)unc(_dot_)edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII




Thanks for any feedback. You can send results to me via private email and I
will post a summary.

mark


<Prev in Thread] Current Thread [Next in Thread>