See
http://wiki.apache.org/spamassassin/WritingRules?highlight=%28write%29|%28rules%29

"Advanced rule types (meta, uri, rawbody and friends)"
"URI rules"

that should get you started...


On 07/23/2014 11:14 AM, Rajesh M. wrote:

but i need such a rule. if you can guide me please let me know.

*----- Original Message -----*
*From:* Axb [mailto:axb.li...@gmail.com]
*To:* users@spamassassin.apache.org
*Sent:* Wed, 23 Jul 2014 09:32:38 +0200
*Subject:* Re: block newletter type spam with long url


Seems you are repeating yourself....

On 07/23/2014 09:09 AM, Rajesh M. wrote:
  > hi
  >
  > we are getting spam with long url links to external websites. some times the
  > links are hundreds of characters long.
  >
  > few examples given below
  >
  > basically i need to block any url which contains several alphanumeric 
characters
  > at the end.

Not a very good idea. Lots of legitimate mail has such URL patterns


Reply via email to