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
advertise << 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
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 Harris Wingra Technologies, Inc.
firstname.lastname@example.org (608) 238-4454