In message <9407170652.AA05906@dylan.zycad.com>,
Olly Stephens writes:
>
>How can I munge addresses from local users which come in in the form
>"user@machine" into "user@dom.ain"?
>
>I want to do this because I don't want to restrict local subscribers to
>our lists to have to only post from the machine they subscribed from (like
>many other places, I assume, we tend to machine-hop quite often around here)
>
>I looked at the "mungedomain" variable but it doesn't say it copes with
>this form (and a brief scan of the code failed to locate the munging
>procedure)
It doesn't. Mungedomain (and indeed most of majordomo) assumes fully
qualified domain addresses.
>If this can be done easiest by modifying sendmail (or something else outside
>of majordomo, please let me know)
Yup. change your sendmail.cf to always provide a FQDN for email addresses.
>Also, can I specify wildcards in my restrict_post files? It would be
>nice to be able to restrict postings to "*@dom.ain" - make it easy to
>set up internal lists or lists which were "read-only" to the outside world.
Nope. The restrict post files are handled by &addr_match (which is
where mungedomain is implemented), so it only handles real
addresses. There may be some changes in access list mechanisms in the
future, so I would expect that restrict_post will be folded into a
more general access mechanism.
-- John
John Rouillard
Senior Systems Consultant (SERL Project) University of Massachusetts at Boston
rouilj@cs.umb.edu (preferred) Boston, MA, (617) 287-6480
==============================================================================
My employers don't acknowledge my existence much less my opinions.
References:
|
|