antispamsniper.com Forum Index antispamsniper.com
The reliable anti-spam protection
 
 FAQFAQ   SearchSearch     ProfileProfile   Log inLog in   RegisterRegister 

How to create a black rule

 
Post new topic   Reply to topic    antispamsniper.com Forum Index -> AntispamSniper for TheBat!
View previous topic :: View next topic  
Author Message
Sacles



Joined: 09 Nov 2007
Posts: 51
Location: Belgium (near Li?ge)

PostPosted: Sat Apr 05, 2008 10:34 am    Post subject: How to create a black rule Reply with quote

Hello,

How can I create a black rule which would find a link to an executable file in the body of a message?

Thanks for your reply.
Back to top
View user's profile Send private message
vetaltm
Author


Joined: 05 Feb 2006
Posts: 751

PostPosted: Sat Apr 05, 2008 12:09 pm    Post subject: Reply with quote

This condition will search for the links to *.exe, *.dll or *.scr files in message body:
Code:
Body =~ (?:https?|ftp):\/\/\S{1,200}\.(?:exe|dll|scr)


The rule with described condition will recognize both HTML and plain text messages, containing the links with specified protocol, e.g.:
http://antispamsniper.com/module.exe
ftp://antispamsniper.com/module.dll

The plug-in will not block the messages from whitelisted senders and recognized by other white methods.
Back to top
View user's profile Send private message Send e-mail
Sacles



Joined: 09 Nov 2007
Posts: 51
Location: Belgium (near Li?ge)

PostPosted: Sat Apr 05, 2008 12:36 pm    Post subject: Reply with quote

Thanks, that works fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    antispamsniper.com Forum Index -> AntispamSniper for TheBat! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group