Great Circle Associates Majordomo-Users
(July 1994)
 

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

Subject: domain munging in "resend"
From: Olly Stephens <olly @ dylan . zycad . com>
Date: Mon, 18 Jul 1994 22:10:13 -0700
To: majordomo-users @ greatcircle . com


I am using the file containing the list of subscribers as the same file
for restrict_post.  I also have mungedomain set to yes.

I had to edit "resend" to enable the domain munging when it did the
restriction checking, because it wasn't doing it before.

Simple change: replace (this is version 1.92)

            @output = grep (&addr_match($from, $_), <LISTFD>);

on line 307 of "resend" with

            @output = grep (&addr_match($from, $_,
                   (&cf_ck_bool($opt_l,"mungedomain") ? 2 : undef)), <LISTFD>);

My question is:

  was the munging deliberately left out of resend for some reason that I
  may not be aware of?

  or was it just [potential] oversight?

PS> the configuration comments for "restrict_post" state that the filenames
    can be space or colon separated.  Trial and error followed by a scan of
    the code indicates that this is not true - they must be separated by
    colon, TAB or NEWLINEs.  Space-separated filenames cause errors of the
    form 'cannot open "file1 file2"'

Olly


Follow-Ups:
Indexed By Date Previous: Re: My list of Majordomos
From: "Roger B.A. Klorese" <rogerk@unpc.queernet.org>
Next: Re: My list of Majordomos
From: brtmac@ksu.ksu.edu
Indexed By Thread Previous: Re: Update on duplication bug
From: Jerry Peek <jerry@ora.com>
Next: Re: domain munging in "resend"
From: "John P. Rouillard" <rouilj@cs.umb.edu>

Google
 
Search Internet Search www.greatcircle.com