Path: utzoo!attcan!telly!problem!compus!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!ENG.UMD.EDU!ziegast From: ziegast@ENG.UMD.EDU (Eric Ziegast) Newsgroups: comp.mail.mh Subject: Re: changing Reply-To: with MH? Message-ID: <9102262239.AA01674@coke.eng.umd.edu> Date: 26 Feb 91 22:39:22 GMT References: <16909@venera.isi.edu> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 56 Jeff Sullivan writes: >Is there any way to change the value of a Reply-To: field in MH when >the incoming messages are automatically forwarded to other users via >slocal? Not that I know of. But I'll congratulate you on your use of Perl though. I love Perl. In fact, with Perl and MH (slocal & send), I'm completely automating a Play By e-Mail game. Suggestions: 1. Have a sys-admin create a sendmail alias for your mailing list. For example, my list is "zdiplomacy@eng.umd.edu". In the /etc/aliases file is: zdiplomacy:"|/usr/lib/sendmail -fzdiplomacy-request zdiplomacy-outgoing" zdiplomacy-outgoing::include:/homes/elves/ziegast/Lists/zdiplomacy.people owner-zdiplomacy-outgoing:owner-zdiplomacy zdiplomacy-request:owner-zdiplomacy owner-zdiplomacy:ziegast The file zdiplomacy.people contains a list of mail addresses seperated by returns. A sample header might be: Return-Path: zdiplomacy-request@eng.umd.edu Received: (a bunch addresses and message info) From: Bill S. Preston esq. Date: Tue, 26 Feb 91 15:40:28 -0500 Message-Id: <9102262040.AA00903@vs06cville.umd.edu> To: zdiplomacy@eng.umd.edu Subject: Verification When someone replies, the header should be: To: Bill S. Preston esq. cc: zdiplomacy@eng.umd.edu which is just fine considering that Bill is in the list. This is the way that many mailing lists have been set up. 2. If you execute a Perl program from slocal, maybe you can clean things up by using "perl -p 'filter commands' | send" Using this method, you'd have to strip out Received:, Date: and Return-Path: headers, and then add a Reply-to: somewhere near the from. Just my $0.02 worth. Eric Ziegast ziegast@eng.umd.edu BTW: Don't send anything to zdiplomacy. Refer to comp.games.pbm for more info on Play By e-Mail Diplomacy.