Great Circle Associates Majordomo-Users
(April 1998)
 

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

Subject: Re: advertise/noadvertise
From: Esposito Gennaro <esposito @ mars . unina . it>
Organization: MARS Center s.c. a r.l.
Date: Fri, 10 Apr 1998 19:09:11 +0200
To: Jeffrey Goldberg <J . Goldberg @ cranfield . ac . uk>
Cc: Bob Ess <bess @ tddtx . fujitsu . com>, Majordomo-Users @ GreatCircle . COM
References: <Pine.OSF.3.96.980408144631.14191W-100000@nassau.pegasus.cranfield.ac.uk>
Reply-to: esposito @ mars . unina . it

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:
Indexed By Date Previous: MAJORDOMO ABORT (mj_majordomo)
From: majordomo@ainsoph.flash.net
Next: (mj_majordomo)
From: jeremyk@flash.net
Indexed By Thread Previous: Re: advertise/noadvertise
From: Jeffrey Goldberg <J.Goldberg@Cranfield.ac.uk>
Next: Re: advertise/noadvertise
From: Tass Chapman <tass@easynet.on.ca>

Google
 
Search Internet Search www.greatcircle.com