Loading ...
Sorry, an error occurred while loading the content.

Re: Postcard trash

Expand Messages
  • Jorey Bump
    ... You might want to support alternate ports, as well: /^http: / / d{1,3} . d{1,3} . d{1,3} . d{1,3}(: d{1,5})? / ?[a-z0-9]+/ This expression may be even more
    Message 1 of 2 , Jul 30, 2007
    • 0 Attachment
      Tony Earnshaw wrote:

      > I've made a body_checks pcre regex and execute that on all cleanup-mail:
      >
      > /^http:\/\/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\?[a-z0-9]+/ HOLD
      >
      > which gets stuff like:
      >
      > http://98.196.149.179/?e1a7a85955ab65e8517a32e
      > and
      > http://71.74.239.241/?7a32e6b9ea6878b15d770

      You might want to support alternate ports, as well:

      /^http:\/\/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\/\?[a-z0-9]+/

      This expression may be even more effective, and easier to read:

      /http:\/\/[0-9\.:]*\/{1}/

      I just ran it on my mail spool, and it only turned up phishing spam.
    Your message has been successfully submitted and would be delivered to recipients shortly.