procmail
[Top] [All Lists]

RE: Listserv recipe for bounced messages?

2003-04-10 02:54:13
From: Dallman Ross [mailto:dman(_at_)nomotek(_dot_)com] 

   :0 fw  # we'll add an X-Loop and bounce these
   * some conditions
   | formail -rtzk \
             -I"X-Loop: admin(_at_)someaddress(_dot_)com" \
             -i"Subject: List Submission Failure" | \
           $SENDMAIL $SENDMAILFLAGS -t

The first line, with the "f" and "w" flags, does not
belong there at all.  I merged two experiments together
in my late-night post.

This is correct:

   :0  # we'll add an X-Loop and bounce these
   #* some conditions
   | formail -rtzk \
             -I"X-Loop: admin(_at_)someaddress(_dot_)com" \
             -i"Subject: List Submission Failure" | \
      $SENDMAIL $SENDMAILFLAGS -t



Here's the result on your saved headers and the list tag
that I left at the end for a simulated body:

  To: benj(_at_)connexus(_dot_)net(_dot_)au
  References: <3E94190C(_dot_)8040800(_at_)connexus(_dot_)net(_dot_)au>
  In-Reply-To: <3E94190C(_dot_)8040800(_at_)connexus(_dot_)net(_dot_)au>
  Subject: List Submission Failure
  X-Loop: admin(_at_)someaddress(_dot_)com

And the new "Old-Subject:" field is also there.  Once I
removed the errant `f' option to my recipe, it appeared
as expected.

-- 
        "Weltbedenkend, ortlich lenkend!"
                -- Original von Dallman Ross


_______________________________________________
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>