Great Circle Associates Majordomo-Users
(May 1994)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Auto-Relying to Mail bounced from Majordomo ?
From: berg @ pool . Informatik . RWTH-Aachen . DE (Stephen R. van den Berg)
Date: Fri, 13 May 1994 13:05:34 +0200
To: essmjf @ netcom . com (Michael Faklis), majordomo-users @ greatcircle . com, procmail @ informatik . rwth-aachen . de
In-reply-to: Michael Faklis's message as of 1994 May 11 Wed 17:23. <199405120023.RAA26062@netcom.netcom.com>

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:
Indexed By Date Previous: Re: bounce testing
From: "John P. Rouillard" <rouilj@terminus.cs.umb.edu>
Next: unknown user error
From: eyoung@mercury.SDL.usu.EDU (Ed Young)
Indexed By Thread Previous: Re: Auto-Relying to Mail bounced from Majordomo ?
From: John Birchfield <nightowl!jb>
Next: Splitting list messages into files
From: plate@cdsmn.mn.org (Doug Plate)

Google
 
Search Internet Search www.greatcircle.com