Mit freundlichen Grüßen

Thomas Eckardt


mob:+49 1742002399
fax:+49 37203 7007
tel:+49 37203 7007
url:http://www.thockar.com
org:thockar IT-Consulting
adr:Hauptstrasse 278, Gersdorf, 09355, Deutschland/Germany
email:[email protected]
email:[email protected]

>can there be only one
>of these lines in a given file?

No - as many you need,. or use 

assp-do-not-optimize-regex

or

a-d-n-o-r

as first line in a file to prevent optimization for the complete file

Thomas


Von:    K Post <[email protected]>
An:     ASSP development mailing list <[email protected]>
Datum:  26.12.2010 16:21
Betreff:        Re: [Assp-test] Antwort: Re: Antwort: Antwort: Regex Help 
-       variables




This is TERRIFIC.  It's an unpublished domain and is only used internally.
If it gets to be a problem, I'll be sure to turn it off.

In terms of the <<< / >>> instruction not to optimize, can there be only 
one
of these lines in a given file?

Thanks again for the time and the explanation!

On Fri, Dec 24, 2010 at 1:30 AM, Thomas Eckardt
<[email protected]>wrote:

> <<<^(?=.*?\nfrom:.*?\@(.*))(?=.+?\nto:.*?...@help\.domain\.org)>>>
>
> this will not work
>
> >So it's the \1\ that is the variable subsitution?
>
> Yes.
>
> >What I'd really like to do is if this regex is true, don't whitelist,
> just
> >give it a negative score to help counter the situation where the 
message
> >might be erroneously scored.
>
> You can put in to 'bombHeaderRe' with a negative weigth.
>
> >there might be dozens that change frequently
>
> So let's change the regex in a way that makes this possible (now using 
the
> right assp syntax - sorry).
>
> <<<^(?=.+?\nto:.*?([^()<>@,;:\\"\[\]\000-\040\x7F-\xFF]+
> )\...@help\.domain\.org)(?=.*?\nfrom:....@\1)>>>=>-60:>NWL-I
>
> Now to: is checked before from: and a match will score the message with
> -60 .
> The full userpart of the to: address must match the subdomain in the 
from:
> address. If it is every time only a subdomain you can expand the end of
> the regex to   from:....@\1\.\w[\w.]+)  to be more exact.
> The ':>NWL-I' will make sure, that this regex will be used for every 
mail
> except for local(outgoing) mails (regardles any other setting).
>
> This regex will make it very easy for you as assp admin, you don't have 
to
> care about who is using this address/domain construct. But, because the
> domain names are no more listed, this regex will make it possible for
> spammers to abuse this construct (if they have found the trick).
>
> Thomas
>
>
>
> Von:    K Post <[email protected]>
> An:     ASSP development mailing list <[email protected]>
> Datum:  23.12.2010 21:06
> Betreff:        Re: [Assp-test] Antwort: Antwort: Regex Help - variables
>
>
>
>
> Thanks.
>
> I'm not priviledged enough to know what orgs this needs to work with and
> there might be dozens that change frequently.  They want if the to user
> part
> matches the from domain, just let it through - so it would go in the
> whiteRE.
>
> Would this work?  I replaced your org listing with .*     I'd think we'd
> need to make this not, greedy, but I don't konw how to do that either 
from
> within ASSP.
>
> <<<^(?=.*?\nfrom:.*?\@(.*))(?=.+?\nto:.*?...@help\.domain\.org)>>>
>
> That way, I don't need to know the orgs, nor would I need to maintain 
the
> list
>
> What I'd really like to do is if this regex is true, don't whitelist, 
just
> give it a negative score to help counter the situation where the message
> might be erroneously scored.  I'm thinking something like a passing SPF
> does
> to the score.  Does any funcionality exist like that?
>
> So it's the \1\ that is the variable subsitution?
>
> On the regex optimization, if I have other things that shouldn't be
> optimized (I think we do), we'd need to make that and your new regex 
into
> one statement surrounded by <<< >>> ?
>
> 
------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows 
customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Assp-test mailing list
> [email protected]
> 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!
> *******************************************************
>
>
>
>
> 
------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows 
customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Assp-test mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-test
>
>
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, 
and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Assp-test mailing list
[email protected]
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!
*******************************************************


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to