procmail
[Top] [All Lists]

Re: formail address precedence?

2002-11-21 14:20:03
conover(_at_)rahul(_dot_)net writes:
Does anyone know the RFC that defines the precedence of the return
addresses generated by:

   formail -rzx
and:
   formail -rtzx

There is no rfc for formail's behavior.  It uses an order derived from
rules in rfc2822/822, plus some practical and historical considerations.
The actual orders are---as of 3.14---as follows, from most preferred to
least preferred:

formail -r:     (envelope sender)
        "From "
        Return-Path:
        Errors-To:
        Return-Receipt-To:
        Path:
        Resent-Sender:
        Resent-From:
        Resent-Reply-To:
        Sender:
        From:
        Reply-To:

formail -rt:    (header sender)
        Reply-To:
        From:
        Sender:
        Return-Path:
        "From "
        Errors-To:
        Return-Receipt-To:
        Path:
        Resent-Sender: Resent-From: Resent-Reply-To:    (same weight)

The latter is actually encoded in the source as a bar graph; take a look
at src/formail.c, line 60 or so.


Philip Guenther

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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