>Because in the first example, only *@local.domain2 would be used to 

Yes, Michael.

Maybe this will be possible in future - the problem is, that the still 
finished, parsed and compiled regex from the first line could not be 
changed if the second entry is processed.
I would use a group - like

[iptolocaldomains1]
*@local.domain1
*@local.domain2
....
*@local.domain9

and

145.146.0.0/16=>[iptolocaldomains1]

The advantage is, that - and this will be happen if it works - if the such 
way useable IP-lists will be expanded, you can use the group again.

eg:
noprocessingIPs

201.14.0.0/16=>[iptolocaldomains1]

Now, if you add an new domain to the group [iptolocaldomains1] - the 
whitelistedIPs and the noprocessingIPs will be changed

The code changes for this feature are very generic - IHMO a single code 
line is required for each IP-list to enable the privacy - like

    'whiteListedIPs'  => 'PRWLIPRE'



Thomas



Von:    Michael Thomas <m...@mathbox.com>
An:     assp-test@lists.sourceforge.net, 
Datum:  25.03.2013 19:29
Betreff:        Re: [Assp-test] someone wants to try the new IP -> user 
matching feature ?



Thomas,

If I correctly understand, the following:
145.146.0.0/16=>*@local.domain1
145.146.0.0/16=>*@local.domain2

Should be coded as:
145.146.0.0/16=>*@local.domain1|*@local.domain2

Because in the first example, only *@local.domain2 would be used to 
process the message.

Michael Thomas
Mathbox
978-687-3300
Toll Free: 1-877-MATHBOX (1-877-628-4269)

On 3/25/2013 1:12 PM, Thomas Eckardt wrote:
>    NOTICE: the following combination of two entries, will lead in to a
> user/domain based matching - the global entry will be ignored!
>    145.146.0.0/16 # comment
>    145.146.0.0/16=>*@local.domain|user@mydomain|user2@*.mydomain  # 
comment
>    If multiple user/domain based entries are defined for the same IP, 
only
> the last one will be used!


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to