Ned Slider wrote:
Henrik K wrote:
To be more specific:
Hostname may end optionally to a dot, with :port, /slash or nothing
following
m{^https?://[^.:/]+\.[^.:/]+\.?(?:$|[:/])}
Could anyone please provide a reference or explanation of the use of
m{blah} in spamassassin uri rules?
Than
Henrik K wrote:
To be more specific:
Hostname may end optionally to a dot, with :port, /slash or nothing following
m{^https?://[^.:/]+\.[^.:/]+\.?(?:$|[:/])}
Could anyone please provide a reference or explanation of the use of
m{blah} in spamassassin uri rules?
Thanks
On Mon, 8 Dec 2008, Dennis Hardy wrote:
How about:
/:\/\/[^.\/]+\.[^\.\/]+\//
Hi John, sweet, this seems to work! Could you help me with how to add a
list of "com|net|info|biz|etc" before the closing "/", so it will match
against a list of known TLDs?
/:\/\/[^.\/]+\.(?:com|net|info|
ew this message in context:
http://www.nabble.com/need-help-with-spamassassin-URI-rule-tp20897907p20899285.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
On Mon, Dec 08, 2008 at 08:52:46AM -0800, John Hardin wrote:
> On Mon, 8 Dec 2008, Dennis Hardy wrote:
>
>> What I would like to match on is URLs that do _not_ start with a third level
>> domain entry, and end with ".com", ".biz", ".info", etc. For example,
>> "http://hello.com/"; (followed by mor
On Mon, 8 Dec 2008, Dennis Hardy wrote:
What I would like to match on is URLs that do _not_ start with a third level
domain entry, and end with ".com", ".biz", ".info", etc. For example,
"http://hello.com/"; (followed by more stuff) would match, and
"http://www.hello.com/{...}"; would _not_ mat
.net/"; would. Is this possible with perl regexps?
I've spent hours trying variations of different URI rules, but none of them
work (they always match the "www." as well). Here are some of my feeble
attempts:
[^w]{3}.*\.com\/
^(?:http?:\/\/)?[^\/]+(?http://www.n