Great Circle Associates Majordomo-Users
(July 1996)
 

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

Subject: Re: BOUNCE .......non-member submission from.....
From: Joe Brennan <brennan @ watsun . cc . columbia . edu>
Date: Mon, 29 Jul 96 11:37:21 EDT
To: Hugh Messenger <hugh @ garply . com>
Cc: David Strauss <dstrauss @ worldramp . net>, majordomo-users @ GreatCircle . COM
In-reply-to: Your message of Sat, 27 Jul 1996 20:59:17 -0500 (CDT)



Patch to make resend use munge_domain.  In use here for a few months,
but we have only a few moderated lists.  

Note that munge_domain will allow many nonsubscriber addresses to
post, especially non-US addresses, where its matching of last two
elements is really generous (like "ac.uk" !).  It still may be useful.

Joseph Brennan     Academic Information Systems
                   Columbia University in the City of New York
                   brennan@columbia.edu

I used opt_g for this because it wasn't used yet.  But look out.

resend

# updated to
# Revision: 1.19
# Date: 1993/11/11 02:23:37
#


***************
*** 102,107 ****
--- 102,109 ----
                        if &cf_ck_bool($opt_l,"administrivia");
  $opt_d = &cf_ck_bool($opt_l,"debug")
                        if &cf_ck_bool($opt_l,"debug");
+ $opt_g = &cf_ck_bool($opt_l,"mungedomain")
+                         if &cf_ck_bool($opt_l,"mungedomain");

  if (defined($opt_f)) {
      $sendmail_sender = $opt_f;

***************
*** 327,333 ****
            $file = "$listdir/$file";
        }
          if ( open (LISTFD, "<${file}") != 0 ) {
!           @output = grep (&addr_match($from, $_), <LISTFD>);
              close (LISTFD);

              if ( $#output != -1 ) {
--- 329,339 ----
            $file = "$listdir/$file";
        }
          if ( open (LISTFD, "<${file}") != 0 ) {
!              if (defined($opt_g)) {
!                  @output = grep (&addr_match($from, $_, 2), <LISTFD>);
!              } else {
!                  @output = grep (&addr_match($from, $_), <LISTFD>);
!              }
              close (LISTFD);

              if ( $#output != -1 ) {


Indexed By Date Previous: Re: BOUNCE .......non-member submission from.....
From: Hugh Messenger <hugh@garply.com>
Next: Put as opposed to Get
From: "Joe R. Jah" <jjah@cloud.ccsf.cc.ca.us>
Indexed By Thread Previous: Re: BOUNCE .......non-member submission from.....
From: Brock Rozen <brozen@netvoyage.net>
Next: Re: BOUNCE .......non-member submission from.....
From: David Strauss <dstrauss@worldramp.net>

Google
 
Search Internet Search www.greatcircle.com