procmail
[Top] [All Lists]

Re: Listserv recipe for bounced messages?

2003-04-09 08:44:42
Dallman Ross wrote:


Let us see a sample of actual headers.


Okay, in the case below, it bounced because it contained the words "may be forged", something we filter out through majordomo. I'd like to automatically respond to "From: Ben Courtice <benj(_at_)connexus(_dot_)net(_dot_)au>", the sender but not to myself as "From lnp3(_at_)panix(_dot_)com". I guess that a perl script can pick out the right addressee but I am not sure how to integrate that into a procmail recipe. I do know perl extremely well, but I am a novice with procmail and have only used it up to this point to weed out spam, update my archives and all the usual routine tasks.

--------------

From lnp3(_at_)panix(_dot_)com  Wed Apr  9 08:57:33 2003
Received: from power.connexus.net.au (power.connexus.net.au [203.12.22.20])
        by dont.panix.com (8.8.8/8.8.8/PanixLC1.7) with ESMTP id IAA26978
        for <marxism(_at_)lists(_dot_)panix(_dot_)com>; Wed, 9 Apr 2003 
08:57:29 -0400 (EDT)
Received: from connexus.net.au (89-81.dial.connexus.net.au [203.222.89.81] (may be forged))
        by power.connexus.net.au (8.12.4/8.11.6) with ESMTP id h39CtaQW098029;
        Wed, 9 Apr 2003 22:55:37 +1000 (EST)
        (envelope-from benj(_at_)connexus(_dot_)net(_dot_)au)
XAntiVirus: This e-mail has been scanned for viruses via the Connexus Internet Service
Message-ID: <3E94190C(_dot_)8040800(_at_)connexus(_dot_)net(_dot_)au>
Date: Wed, 09 Apr 2003 22:58:52 +1000
From: Ben Courtice <benj(_at_)connexus(_dot_)net(_dot_)au>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901
X-Accept-Language: en-us
MIME-Version: 1.0
To: GL discussion <GreenLeft_discussion(_at_)yahoogroups(_dot_)com>,
        marxism <marxism(_at_)lists(_dot_)panix(_dot_)com>
Subject: Quislings...
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit


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