Great Circle Associates Majordomo-Users
(July 1995)
 

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

From: Harlan Harris <harris @ aix . wingra . com>
Date: Tue, 18 Jul 1995 14:25:42 -0500
To: majordomo-users @ greatcircle . com
In-reply-to: Your message of "Tue, 18 Jul 1995 13:22:01 CDT." <Pine.LNX.3.91.950718132029.3195A-100000@neptune.cin.net>

Greg Gallagher writes:
>I seem to be having trouble .. but perhaps I missed something in the 
>FAQ.  I want to restrict a list to *just* people from my domain.  How can 
>I do this?  (or maybe I can't w/o rewriting a lot of code) ...

Well, you can easily restrict information _about_ the list, via a config line 
like:

advertise         <<  END
/cin\.net/
END

But that's probably not good enough. If you have a list of everyone in your 
domain (say called "all", located in ~majordomo/lists), then you can use the 
following config line:

restrict-post = all

but if your mail system is inconsistent with how it writes From lines, this 
might not work. (I speak from experience.)

It would be nice to be able to say:

restrict-post       << END
/cin\.net/
END

but you can't do that at the moment. 

I did something like what you want to do for Listproc - it was about 30 lines 
of Perl, and got stuck before the equivelent of the "resend" script. I'll dig 
it up if you're interested...

The other hack would be to add an "aliases" file, like in Listproc. It would 
rewrite the From lines of messages, and could be used to canonicalize them. 
But that would be more than 30 lines of code...

 -Harlan

--
Harlan Harris                 Wingra Technologies, Inc.
harris@wingra.com             (608) 238-4454



References:
  • [no subject]
    From: Greg Gallagher <horatio@neptune.cin.net>
Indexed By Date Previous: [no subject]
From: majordomo <majordom>
Next: Unknown mailer error 1 and Out of Memory under Linux (fwd)
From: Keith Reel <kreel@olivet.edu>
Indexed By Thread Previous: [no subject]
From: Greg Gallagher <horatio@neptune.cin.net>
Next: [no subject]
From: majordomo <majordom>

Google
 
Search Internet Search www.greatcircle.com