Skip to Content.
Sympa Menu

en - Re: [sympa-users] Configuring 'intranet' scenari

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Peter Farmer <address@concealed>
  • To: address@concealed
  • Cc: "Ward, Michael" <address@concealed>
  • Subject: Re: [sympa-users] Configuring 'intranet' scenari
  • Date: Mon, 28 Aug 2006 09:37:08 +0800

On Monday 28 August 2006 4:47 am, Ward, Michael wrote:
> Hi,
>
> I'm trying to setup the intranet scenari for our Uni environment so that
> our staff members are considered intranet but students are not (I'll
> probably create separate Staff and Student scenari at a later date).
> However I'm having problems excluding the students.
>
> All of our students have email addresses ending with @uni.massey.ac.nz,
> staff with @massey.ac.nz. So to configure some lists as viewable to
> staff members but not students, I edited visibility.intranet as follows:
>
> match([sender],/([conf->host])|^(massey\.ac\.nz)$/)
> smtp,md5,smime -> do_it

with that RE your only matching an address that _doesnt_ have a user name
part (The '^' matches the beginning of the string your evaluating)- you
need to match the whole address like so :
^(.*@massey\.ac\.nz)$


Regards
Peter



Archive powered by MHonArc 2.6.19+.

Top of Page