Community Discussions and Support
Content control - Beginning of line test

I am using Mercury Content Control and Filtering and have been very pleased to reduce my Spam-count from 200+ to 0/1/2 a day, with no false positives.  However, although it isn't critical, it would be nice to be able to get rid of the last few.  One common feature of most of the remaining spam is that a http URL appears by itself on a separate line in the message body.  Is there any way that Mercury can recognize this?  Even being able to test that a line begins with "http" would help.

 Thank you

GordonM

[Edit} It seems that I have now solved my own problem. 

 if BODY MATCHES "/bhttp://*.com/B" weight 51 tag "http"

seems to work for decting http URLs on isloated lines (at least for .com addresses). 

<P>I am using Mercury Content Control and Filtering and have been very pleased to reduce my Spam-count from 200+ to 0/1/2 a day, with no false positives.  However, although it isn't critical, it would be nice to be able to get rid of the last few.  One common feature of most of the remaining spam is that a http URL appears by itself on a separate line in the message body.  Is there any way that Mercury can recognize this?  Even being able to test that a line begins with "http" would help.</P> <P> Thank you</P> <P>GordonM</P> <P>[Edit} It seems that I have now solved my own problem.  </P> <P> <FONT size=1>if BODY MATCHES </FONT><FONT face="Courier New" size=1>"/</FONT><FONT size=1>bhttp</FONT><FONT face="Courier New" size=1>://*.</FONT><FONT size=1>com</FONT><FONT face="Courier New" size=1>/</FONT><FONT size=1>B</FONT><FONT face="Courier New" size=1>"</FONT><FONT size=1> weight </FONT><FONT face="Courier New" size=1>51 </FONT><FONT size=1>tag </FONT><FONT face="Courier New" size=1>"</FONT><FONT size=1>http</FONT><FONT face="Courier New" size=1>"</P></FONT> <P>seems to work for decting http URLs on isloated lines (at least for .com addresses).  </P>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft