Re: ***Possible SPAM*** Re: regex needed for http link

2012-05-17 Thread Joseph Acquisto
>>> On 5/17/2012 at 6:16 PM, John Hardin wrote: > On Thu, 17 May 2012, Joseph Acquisto wrote: > >> I attempted to adapt something from a similar regex provided by a vendor >> of a commercial product. It was to detect country codes we do not want >> to accept mail from. No doubt my ignorance of

Re: ***Possible SPAM*** Re: regex needed for http link

2012-05-17 Thread John Hardin
On Thu, 17 May 2012, Joseph Acquisto wrote: I attempted to adapt something from a similar regex provided by a vendor of a commercial product. It was to detect country codes we do not want to accept mail from. No doubt my ignorance of SA and regex in general will be on display for the amusemen

***Possible SPAM*** Re: regex needed for http link

2012-05-17 Thread Joseph Acquisto
>>> On 5/17/2012 at 9:55 AM, John Hardin wrote: > On Wed, 16 May 2012, Joseph Acquisto wrote: > > On 5/16/2012 at 8:53 PM, "Joseph Acquisto" wrote: >> On 5/16/2012 at 5:18 PM, Brent Gardner >> wrote: How about: /\.ru\b/i >>> >>> I will give that a try. >> >> Tha

Re: regex needed for http link

2012-05-17 Thread John Hardin
On Wed, 16 May 2012, Joseph Acquisto wrote: On 5/16/2012 at 8:53 PM, "Joseph Acquisto" wrote: On 5/16/2012 at 5:18 PM, Brent Gardner wrote: How about: /\.ru\b/i I will give that a try. That worked. But I imagine it may trigger on innocuous instances of .ru as well, so it should also

Re: regex needed for http link

2012-05-16 Thread Joseph Acquisto
>>> On 5/16/2012 at 8:53 PM, "Joseph Acquisto" wrote: On 5/16/2012 at 5:18 PM, Brent Gardner wrote: >> On 05/16/2012 02:15 PM, Joseph Acquisto wrote: >> On 5/16/2012 at 5:05 PM, "Joseph Acquisto" wrote: I have been unsuccessful creating a rule to detect and weight http links

Re: regex needed for http link

2012-05-16 Thread Joseph Acquisto
>>> On 5/16/2012 at 8:28 PM, John Hardin wrote: > On Wed, 16 May 2012, Joseph Acquisto wrote: > >> I have been unsuccessful creating a rule to detect and weight http links in > message body, such as this one below: >> >> http://boguslink.ru >> >> The ones I have created get "hits" when tested o

Re: regex needed for http link

2012-05-16 Thread Joseph Acquisto
>>> On 5/16/2012 at 5:18 PM, Brent Gardner >>> wrote: > On 05/16/2012 02:15 PM, Joseph Acquisto wrote: > On 5/16/2012 at 5:05 PM, "Joseph Acquisto" wrote: >>> I have been unsuccessful creating a rule to detect and weight http links in >>> message body, such as this one below: >>> >>> http://

Re: regex needed for http link

2012-05-16 Thread John Hardin
On Wed, 16 May 2012, Joseph Acquisto wrote: I have been unsuccessful creating a rule to detect and weight http links in message body, such as this one below: http://boguslink.ru The ones I have created get "hits" when tested on the command line, but don't seem to work in local.cf. Maybe tha

Re: regex needed for http link

2012-05-16 Thread Brent Gardner
On 05/16/2012 02:15 PM, Joseph Acquisto wrote: On 5/16/2012 at 5:05 PM, "Joseph Acquisto" wrote: I have been unsuccessful creating a rule to detect and weight http links in message body, such as this one below: http://boguslink.ru The ones I have created get "hits" when tested on the command

Re: regex needed for http link

2012-05-16 Thread Joseph Acquisto
>>> On 5/16/2012 at 5:05 PM, "Joseph Acquisto" wrote: > I have been unsuccessful creating a rule to detect and weight http links in > message body, such as this one below: > > http://boguslink.ru > > The ones I have created get "hits" when tested on the command line, but > don't seem to work