procmail
[Top] [All Lists]

double header

1997-04-17 10:05:00

Hello all

I would like to substitute message body with new one
and *re-send* it to somebody. I know it is quite basic but I have some
problems with this.

The recipe I have:

        :0 hw
        | (formail -I"From: $MYADDR" \
                   -I"Subject: My subject"\
                   -I"To: $SMBD";\
          echo "My new body";) | $SENDMAIL -oi $SMBD

All seems to be right. But in my pine I gets message with a two parts of
header. Pine does not see new Subject, From, To lines.
This is what I get in pine:




Date: Thu, 17 Apr 1997 19:04:18 +0300
From: SHILUV Irena Rogatsky 3124 <romania(_at_)cpm(_dot_)elex(_dot_)co(_dot_)il>

From irena  Thu Apr 17 19:04:12 1997
Received: from tlhuph42.elex.co.il by cpm.elex.co.il with ESMTP
        (1.37.109.16/16.2) id AA137743048; Thu, 17 Apr 1997 19:04:08 +0300
Return-Path: <irena(_at_)cpm(_dot_)elex(_dot_)co(_dot_)il>
Received: from localhost by tlhuph42.elex.co.il with SMTP
        (1.37.109.16/15.6) id AA299532995; Thu, 17 Apr 1997 19:03:15 +0300
Date: Thu, 17 Apr 1997 19:03:14 +0300 (IDT)
X-Sender: irena(_at_)tlhuph42(_dot_)elex(_dot_)co(_dot_)il
Message-Id: 
<Pine(_dot_)HPP(_dot_)3(_dot_)95(_dot_)970417190303(_dot_)29945A-101000(_at_)tlhuph42(_dot_)elex(_dot_)co(_dot_)il>
Mime-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY=-
Content-Id: 
<Pine(_dot_)HPP(_dot_)3(_dot_)95(_dot_)970417190303(_dot_)29945B(_at_)tlhuph42(_dot_)elex(_dot_)co(_dot_)il>
From: 
Subject: My subject
To: irena(_at_)cpm(_dot_)elex(_dot_)co(_dot_)il

My new body


Thank you in advance for any help.

Regards,
        Irena 

-----------------------------------------------------------------------
   Irena Rogatsky                       E-mail: 
irena(_at_)sysdep(_dot_)elex(_dot_)co(_dot_)il
   Database group                       Phone:  972-8-9774730
   Telrad Telecommunications 


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