Michael Faklis <essmjf@netcom.com> wrote:
>my mail. My mailllist is for a national public radio show, and I need
>to auto-reply to incoming mail (to the maillist) with a release form
>to allow us to broadcast the email. Yes, it's true, some people are
>My problem is that mail sent to the mail list has additional headers
>added to the begining of the message, so the reply-to address is now
>majordomo, and not the originator of the message. An example is
>appended to this message. So, the note (as it appears in my inbox,
>and as seen by PROCMAIL) has two From: headers.
I'm of course no expert in majordomo mailinglist setup, but from the look
of it, I'd say that majordomo is needlessly generating an extra header.
A configuration problem perhaps?
>How can I get PROCMAIL to recognise the orignator's address, in stead
>of where majordomo bounced the message from?
Presumably, inside of procmail, you're feeding the mail to "formail -r"
somewhere to "reverse" the header and generate an auto-reply header.
The simplest solution would probably be to simply delete the leading
header first.
I.e. feed it through:
sed -e '1,/^$/ d' | formail -r
A slightly more involved solution will be needed if you insist
on getting the Subject: Re: line from the first header.
>A [shortened] example follows;
>From west_coast_live-owner Wed May 11 09:48:22 1994
>Return-Path: <west_coast_live-owner>
>To: west_coast_live-owner@netcom.com
>From: west_coast_live-owner@netcom.com
>Subject: BOUNCE west_coast_live@netcom.com: Approval required
>
>From essmjf Wed May 11 09:37:23 1994
>Return-Path: <Michael=Faklis%3482%ETSBAO@pclan.rosedale.org>
>From: "michael faklis" <Michael=Faklis%3482%ETSBAO@pclan.rosedale.org>
>To: west_coast_live@netcom.com
>Subject: Non-audience adventure
--
References:
|
|