Hi Jef!
You wrote
---------
Make that
advertise << END
/foo\.foobar\.com/i
END
> And I have no entries in the noadvertise stanza. Nonetheless, anyone outside
> of our domain can still do 'lists' and 'who lists'.
Put something in the noadvertise. something like
/./
will do the job.
So then it is noadvertise to all, but advertise to foo.foobar.com
----------
Hmmm. maybe it's because I'm using MD 1.94 (good, old...) but it doesn't
work for me (but perl is 5.004) . I've tried a lot of
advertise/noadvertise combination and I've found this one which works
for me...
advertise << END
/.*mars\.unina\.it/i (i.e. each char before mars and then the pattern)
END
noadvertise << END
/.*/ (i.e. every character!)
<<
Reading perl regexp man pages, I found that .* mean "match any char 0 or
more times" and reading from majordomo *.config template I found that
(about advertise)
# If the requestor email address matches one of these regexps, then
# the list will be listed in the output of a lists command. Failure
# to match any regexp excludes the list from the output. The
# regexps under noadvertise overide these regexps.
Well, maybe is a problem of my english undertanding,but "overide" should
mean:
" cover (hide) something with another thing "
then /.*/ (alias: every address!!) should "cover" (make it "invisible",
hide...) any other expression (like /.*mars...../i)
If it so, why it works for me?
If it is not, is it possible to change this comment in the
distribution?? ;-)
Oh well, Good Easter!!!
--
************************ MARS Center ************************
(Microgravity Advanced Research and Support)
Gennaro Esposito
Systems & Network Manager
ph.: +39-81-234 4493 mailto:esposito@mars.unina.it
www : http://www.mars.unina.it ftp : ftp://ftp.mars.unina.it
Via Comunale Tavernola c/o C.A. ALENIA "R. Bonifacio"
I-80144 - Napoli - ITALY - fax...: +39-81-234 7100
**************************************************************
Follow-Ups:
References:
|
|