On Wed, 2008-08-27 at 18:34 -0700, John Hardin wrote:
> On Thu, 28 Aug 2008, Michael Hutchinson wrote:
>
> > I would be hoping to match the same sort of URL:
> > http://ns1.shinwa-com.co.jp/~denso/card.exe
> >
> > But only match it from the last trailing / character. In other words, if
> > the me
On Thu, 28 Aug 2008, Michael Hutchinson wrote:
Why do you care about the part before the period? You don't like
card.exe but you trust card1.exe?
Good point, but I wouldn't like to block all .exe's. Our local users
wont bother zipping stuff and will complain. I was going to be happy
with jus
Michael Hutchinson wrote:
>
> Nice, that's going to help me tidy up some of my other custom rules.
> Once again, Thank-you Matt for the clarity on this issue. -
> happy SA user.
>
No problem.
One final suggestion. Take some time to read:
http://wiki.apache.org/spamassassin/WritingRules
This
> -Original Message-
> From: Matt Kettler [mailto:[EMAIL PROTECTED]
> Sent: 28 August 2008 1:49 p.m.
> To: Michael Hutchinson
> Cc: users@spamassassin.apache.org
> Subject: Re: e greeting exe link
>
> Michael Hutchinson wrote:
> >
> > But only match i
> -Original Message-
> From: John Hardin [mailto:[EMAIL PROTECTED]
> Sent: 28 August 2008 1:35 p.m.
> To: Michael Hutchinson
> Cc: users@spamassassin.apache.org
> Subject: RE: e greeting exe link
>
> On Thu, 28 Aug 2008, Michael Hutchinson wrote:
>
> > I
Michael Hutchinson wrote:
>
> But only match it from the last trailing / character. In other words, if
> the message carries a link to "card.exe" at any address, it will be
> marked up.
>
> My thoughts were that all I would need is a rule like:
> uri MY_EXE_URI /card.exe/i
>
Caution: . is a wild
On Thu, 28 Aug 2008, Michael Hutchinson wrote:
I would be hoping to match the same sort of URL:
http://ns1.shinwa-com.co.jp/~denso/card.exe
But only match it from the last trailing / character. In other words, if
the message carries a link to "card.exe" at any address, it will be
marked up.
> -Original Message-
> From: Randal, Phil [mailto:[EMAIL PROTECTED]
> Sent: 23 August 2008 2:05 a.m.
> To: Jean-Paul Natola; users@spamassassin.apache.org
> Subject: RE: e greeting exe link
>
> uri MY_EXECUTABLE_URI
>
/^(?:https?|ftp):\/\/[^\s?]{1,80}\/[^\s
uri MY_EXECUTABLE_URI
/^(?:https?|ftp):\/\/[^\s?]{1,80}\/[^\s?]{1,80}\.(?:exe|scr|dll|pif|vbs|
wsh|cmd|bat)$/i
describe MY_EXECUTABLE_URILinks to an executable file
score MY_EXECUTABLE_URI3.00
Mind the linewrap.
Phil
--
Phil Randal
Networks Engineer
Herefordshire Council
Heref