Skip to Content.
Sympa Menu

en - [sympa-users] Re: Domain and subdomain

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: address@concealed
  • To: address@concealed
  • Cc: address@concealed
  • Subject: [sympa-users] Re: Domain and subdomain
  • Date: Fri, 02 Mar 2007 14:21:45 +0100

address@concealed wrote:
Hello, I can have 2 lists??, to the first one they can send the subscribers
that belong to the domain XX.COM, and at second  they can send the subscribers
that belong to the subdomain YY.XX.COM??  
I can configure it?
  
You have to create an authorization scenario "send" for each list using the condition match that can be used with perl condition.
  1. match ([sender], /\@xx\.com/)
  2. match ([sender], /xx\.com/)
  3. match ([sender], /\.xx\.com/)
  4. match ([sender], /\@yy.xx.com/)
Rule 1 match users where domain is exactly xx.com and rule too will match also anyone.xx.com and elsexx.com. Rule 3 match any.xx.com but not elsexx.com and xx.com

This is perl regexp you can do what you want.

Serge AUmont


 nor 



Archive powered by MHonArc 2.6.19+.

Top of Page