Skip to Content.
Sympa Menu

en - [sympa-users] Intranet scenari

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Mayo <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Intranet scenari
  • Date: Fri, 15 Jun 2007 12:50:16 +0100

Hi guys,

I am looking at defining a sceneri so that all our users on campus can
review lists but no-one off-campus can review them.

I'm interested in the following lines in this scenari:

match ([remote_host],/[conf->host]$/) smtp,md5,smime -> do_it
match([sender],/[conf->host]$/) smtp,md5,smime -> do_it

Can you please confirm:
- What is the value of conf->host ?
-- Is it the value of http_host in my robot.conf, in my case
'lists.bath.ac.uk'
-- Some other value?

If I have assumed correctly, then none of our hosts end in
.lists.bath.ac.uk so this would never match.

- How is [remote_host] generated?
-- Is it supposed to be the DNS name of the HTTP client in a web page
context?
-- Is it set to the last mail relay that the email passes through in an
email context? (I assume not)

I have managed to get a working scenari by using the following instead:

match([remote_addr],/^138.38./) smtp,md5,smime -> do_it
match([sender],/.bath.ac.uk$/) smtp,md5,smime -> do_it

Which isn't a problem, but if the default intranet scenari doesn't work in
our situation I wondered if I was doing something wrong.

Regards,


Dave.

David Mayo
Networks/Systems Administrator
University of Bath Computing Services

Tel: 01225 38 6046
Email: address@concealed




Archive powered by MHonArc 2.6.19+.

Top of Page