I'm having trouble trying to match a common string in my most recent
bout of Opt-Out spam.

The seem to have an uTnsTubscribe string like the following.

<tt>
<a href=3D"http://baddomain.com/uTnsTub/?id=3D
</tt>

My current PCRE is a subset of the above string:

<tt>
/http:\/\/baddomain.com\/uTnsub\//
</tt>

extra T's added throughout to bypass a list filter.

Feb  3 23:59:41 www postfix/cleanup[2375]: warning: pcre
map /etc/postfix/body_checks, line 8: unknown regexp option "/":
skipping this rule

I've tried several variations to escape the forward slashes, but the
pcre man page is severely lacking in examples.  I've found URL matching
code which does use the backslash to escape forward slash so I'd
appreciate some help.

I'm using RedHat Enterprise Linux 4
postfix-2.2.10-1.2.1.el4_7
pcre-4.5-4.el4_6.6

Thanks


Reply via email to