[Mailman-Users] Editing the from address on mailman autoresponse

Mark Sapiro msapiro at value.net
Sat May 28 04:45:54 CEST 2005


Gretchen Stanton wrote:
>
>I've set up a mailing list (job2 at aurora.qrc.com) for our HR dept. that 
>needs to send out an auto-response for every post.  However, the 
>auto-response goes out as from jobs2-bounces at aurora.qrc.com.
>
>Ignoring the fact that since the message was delivered, this tagging makes 
>no sense, I need to, at least for this particular list, not have the 
>'-bounces' added.

I don't know why you think this autoresponse couldn't bounce or be in
turn autoresponded to, but ignoring that and the possible loop that
could result ...

>Is there a way to accomplish this?

Since you seem willing to modify code, yes. See below.

>I have found the hack at 
>http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq02.003.htp but it 
>seems to apply to Outloook client which I refuse to use.  (I tried it 
>anyway and it did not change the behavior.)

It relates to Outlook showing the message as from the envelope sender
instead of the From: address. It's not relevant to your issue.

The code to change is in Mailman/Handlers/Acknowledge.py

You could try changing

    usermsg = Message.UserNotification(sender, mlist.GetBouncesEmail(),
                                       subject, text, lang)

to

    usermsg = Message.UserNotification(sender, mlist.GetListEmail(),
                                       subject, text, lang)

All the usual disclaimers - no warranty, try at your own risk ...

--
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list