Skip to Content.
Sympa Menu

en - [sympa-users] Re: Intranet scenari

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: address@concealed
  • To: David Mayo <address@concealed>
  • Cc: address@concealed
  • Subject: [sympa-users] Re: Intranet scenari
  • Date: Mon, 18 Jun 2007 08:26:57 +0200

David Mayo wrote:
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'
Yes
-- 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?
Yes
-- 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.
No every thing you are doing is right, the intranet scenario is provided as an exemple but in most cases it needs to be customized. If you change the scenario file content, the related processus needs to be restarted in order to be loaded in the list configuration.

Regards
Serge Aumont



Archive powered by MHonArc 2.6.19+.

Top of Page