Subject: The mailing list for listmasters using Sympa
List archive
- From: "Ward, Michael" <address@concealed>
- To: "Peter Farmer" <address@concealed>
- Cc: <address@concealed>
- Subject: RE: [sympa-users] Configuring 'intranet' scenari
- Date: Mon, 28 Aug 2006 15:04:52 +1200
Thank you - being a relative newbie to perl programming, I'm not big on
regular expressions :-). Have updated it as suggested, works now.
Part of my problem too was that I didn't realise I had to click the
'update list configuration' button on the 'Edit List Configuration' page
every time I updated a scenari file (is this normal? seems odd). This
resulted in a frustrating few hours trying to figure out why something
that had worked previously no longer appeared to work!
Regards,
Michael Ward
-----Original Message-----
From: Peter Farmer [mailto:address@concealed]
Sent: Monday, 28 August 2006 1:37 p.m.
To: address@concealed
Cc: Ward, Michael
Subject: Re: [sympa-users] Configuring 'intranet' scenari
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
-
[sympa-users] Configuring 'intranet' scenari,
Ward, Michael, 08/27/2006
- Re: [sympa-users] Configuring 'intranet' scenari, Peter Farmer, 08/28/2006
- <Possible follow-up(s)>
-
RE: [sympa-users] Configuring 'intranet' scenari,
Ward, Michael, 08/28/2006
- Re: [sympa-users] Configuring 'intranet' scenari, Peter Farmer, 08/28/2006
Archive powered by MHonArc 2.6.19+.