Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Regex and attachments.. again :)
  FAQ FAQ  Forum Search   Register Register  Login Login

Regex and attachments.. again :)

 Post Reply Post Reply
Author
Lee View Drop Down
Groupie
Groupie


Joined: 04 February 2005
Location: United States
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lee Quote  Post ReplyReply Direct Link To This Post Topic: Regex and attachments.. again :)
    Posted: 24 March 2004 at 1:28pm

I am sorry to ask this question because I can't but think it has been asked many times before. But I searched the forum and did not find an answer.

I admit I am new to Regex and have been trying to teach myself the syntax so I can built my own search strings. But could someone give me a jump start on the proper syntax to block attachments ?

I would like to create individual matches for different types of extensions. In other words I want to explicitly define matches for *.zip, *.exe, *.scr, *.exe...

Can someone give me a few working examples of working syntax for this type of regex traps ?

By the way I did find a pretty good tutorial site called http://www.regular-expressions.info.

Thanks and again apologize if  this has been answer before.

Lee

Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2004 at 11:24pm

Actually, for simple extension matches, RegEx's are not required. A simple list will work as below /// or am I misunderstanding the question?

 

*.pif

*.scr

etc

Dan S.

Back to Top
Lee View Drop Down
Groupie
Groupie


Joined: 04 February 2005
Location: United States
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lee Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2004 at 11:39pm

Dan,

Actually it is my fault for not specifying enough information.

Unfortunetly I am using 1.2.0.212 which does not have the extenstion blocking capability. :(  So I was under the impression that I could use regex in the Keyword field to block specific file extentions.

Lee

Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 24 March 2004 at 11:43pm

Lee,

If that is possible, I do not know how to do it.  I believe there were significant code changes to allow for the attachment blocking.  IF, however, you got lucky, you may be able to dig it out of the "Content" lines but I have not had real reliable luck there.

Dan S.

Back to Top
Lee View Drop Down
Groupie
Groupie


Joined: 04 February 2005
Location: United States
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lee Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2004 at 11:07am

Ok Dan then I misunderstood the other threads about regex and attachments. I assumed they were trying to do this using the keywords because the versions that were being used did not have the Attachment blocking.

Oh well. Bummer. :(

Thanks for taking the time to "splain it too me" (said in my best Ricky Ricardo voice) hehe

Lee

Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2004 at 3:37pm

As in "Lucy .... you have some splaining to do!"

Dan S.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.223 seconds.