On Mon, 30 Sep 1996 DCook@mail.biosis.org wrote:
> I just installed majordomo on our Ultrix machine. I have
> configured it to automatically put the listname as the Reply-To:
> field. The problem is that some of our recipients will be using
> Prodigy as their internet provider. Prodigy does not recognize the
> Reply-To: field. So the actual author becomes the reply to address.
Lovely. That'll have caused numerous mail hassles.
> Is there any way to get majordomo to put the listname on the From
> line? Is there any reason why I shouldn't do this?
Here's a patch I whipped up to do just that.. I know you requested it in
private email, but I'll post it to the group just in case anyone wants it.
How it works: It adds a tag for '-F' in the getopts line in resend. If
$opt_F exists, it adds a regex to remove the "From:" line out the message
headers, allowing sendmail to recreate it during resend.
Coincidentally, this could protentially be used to 'anonymize' a list,
if used in conjunction with -R in resend, assuming that no other headers
give away the origin of the message. I'll leave it up to you to
determine if this is a good or bad thing. ;)
- Rick Franchuk - Internet Portal - <mailto:firstname.lastname@example.org> -
RCS file: /home/portal/CVSRoot/majordomo/resend,v
retrieving revision 184.108.40.206
retrieving revision 1.5
diff -r220.127.116.11 -r1.5
< # $Revision: 18.104.22.168 $
< # $Date: 1996/09/26 21:55:59 $
> # $Revision: 1.5 $
> # $Date: 1996/09/30 18:49:31 $
< # &Getopts("Aa:df:h:I:l:M:p:Rr:s") || die("resend: Getopts() failed: $!");
> # &Getopts("CcAa:dFf:h:I:l:M:p:Rr:s") || die("resend: Getopts() failed: $!");
> # -F force "From:" field to equal $sender
< &Getopts("CcAa:df:h:I:l:M:p:Rr:s") || die("resend: Getopts() failed: $!");
> &Getopts("CcAa:dFf:h:I:l:M:p:Rr:s") || die("resend: Getopts() failed: $!");
> $skip_headers .= '|| /^from:/i' if defined($opt_F);
< return if ( $#output != -1 );
> return () if ( $#output != -1 );