procmail
[Top] [All Lists]

Re: help with .procmailrc

1999-09-02 07:59:38
On 2 September 1999, Mail Forward <diacom-all(_at_)diacom-systemhaus(_dot_)de>
wrote:
can someone maybe help before i spend hours of understanding how to do
or if it's possible at all:

all incomming mails should be forwarded to what's in X-Envelope-To

    Depending on the expected content of this "X-Envelope-To:" (that is,
bare address vs. "User <user(_at_)somewhere>"), you might try

    :0
    * ^X-Envelope-To:[  ]+\/.*
    ! $MATCH

or the kludgy

    :0
    * ^X-Envelope-To:
    {
      :0 h
      {
        ADDR = `formail -I Resent-Reply-To: -R X-Envelope-To: Resent-Reply-To: 
-rzxTo:`
      }

      :0
      ! $ADDR
    }

  if this is not possible with a mail it must be forwarded to x(_at_)y(_dot_)z

    Sorry, I can't parse this.

    Regards,

    Liviu Daia

-- 
Dr. Liviu Daia               e-mail:   Liviu(_dot_)Daia(_at_)imar(_dot_)ro
Institute of Mathematics     web page: http://www.imar.ro/~daia
of the Romanian Academy      PGP key:  http://www.imar.ro/~daia/daia.asc

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