procmail
[Top] [All Lists]

Re: formail -rt bug in 3.11pre7 ???

1997-10-15 12:20:12
| Wed 97-10-15 "Edward J. Sabol" 
<sabol(_at_)alderaan(_dot_)gsfc(_dot_)nasa(_dot_)gov> list.procmail
| > Could somebody explain, why the -rt sets wrong destination
| > for To: address. I thought formail obeyed From, but
| > not it's picking Resent-From !! These are part of the
| > message headers from real post.
|
| That's not the wrong destination. Resent-From: has higher priority than
| From:. Not only is this intentional, but it is 100% correct.

I now remove the Resent,  But I'm still puzzled why is that.
The message I sent was

        FROM MY UNIVERSITY ACCOUNT      ssjaaa(_at_)uta(_dot_)fi
        TO MY VIRTUAL WORK              
jari(_dot_)aalto(_at_)ntc(_dot_)nokia(_dot_)com
                                        (also as 
JAALTO(_at_)ntcclu(_dot_)ntc(_dot_)nokia(_dot_)com)
        to local domain                 
jaalto(_at_)tre(_dot_)tele(_dot_)nokia(_dot_)fi

And when the -rt was used for message that originated from 
ssjaaa(_at_)uta(_dot_)fi;
what I got, was a loopback to myself to the work address. The -rt
was supposed to return the message back to 
ssjaaa(_at_)uta(_dot_)fi(_dot_)(_dot_)(_dot_)

So why is Resent-From considered higher priority? In this case
the resent-From lies in the middle. Below you see full headers of
the message.

jari

From: Jari Aalto <ssjaaa(_at_)uta(_dot_)fi>
Subject: test
To: jari(_dot_)aalto(_at_)ntc(_dot_)nokia(_dot_)com
Resent-From: JAALTO(_at_)ntcclu(_dot_)ntc(_dot_)nokia(_dot_)com
X-From-Line: ssjaaa(_at_)uta(_dot_)fi  Wed Oct 15 22:03:23 1997
Received: from TNE02.TELE.NOKIA.FI (tne02.ntc.nokia.com [131.228.49.102]) by 
zeus.tele.nokia.fi (8.6.4/8.6.4) with SMTP id WAA28670 for 
<jaalto(_at_)tre(_dot_)tele(_dot_)nokia(_dot_)fi>; Wed, 15 Oct 1997 22:03:22 
+0300
Resent-Message-Id: 
<199710151903(_dot_)WAA28670(_at_)zeus(_dot_)tele(_dot_)nokia(_dot_)fi>
Resent-Date: Wed, 15 Oct 1997 22:04:41 GMT
Resent-To: jaalto(_at_)tre(_dot_)tele(_dot_)nokia(_dot_)fi
Received: from axl01it by TNE01.TELE.NOKIA.FI with SMTP;
          Wed, 15 Oct 1997 22:04:43 +0300
Received: from uta.fi (uta.fi [153.1.1.12]) by axl01it (8.8.5/8.6.9) with ESMTP 
id WAA25198 for <jari(_dot_)aalto(_at_)ntc(_dot_)nokia(_dot_)com>; Wed, 15 Oct 
1997 22:04:24 +0300 (EET DST)
Received: from olkikukka.uta.fi (ssjaaa(_at_)olkikukka [153.1.16.17]) by uta.fi 
(8.8.7/8.8.2) with ESMTP id WAA13241 for 
<jari(_dot_)aalto(_at_)ntc(_dot_)nokia(_dot_)com>; Wed, 15 Oct 1997 22:04:39 
+0300 (EET DST)
Received: (from ssjaaa(_at_)localhost) by olkikukka.uta.fi (8.8.5/8.8.2) id 
WAA05050; Wed, 15 Oct 1997 22:04:33 +0300 (EET DST)
Message-Id: <199710151904(_dot_)WAA05050(_at_)olkikukka(_dot_)uta(_dot_)fi>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Lines: 0
Xref: pegasus.tele.nokia.fi junk.test:7
X-Sent: 3 minutes, 6 seconds ago


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