|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Wietse Venema (wietse_at_porcupine.org)
Date: Sun Nov 03 2002 - 13:24:04 CST
Postfix body checks match one line at a time. This is sufficient
to solve simple problems.
For multi-line content matching, use a virus scanner.
Wietse
Noor Dawod:
> Hi all,
>
> After numerous attempts to work out the problem I'm facing, I wasn't
> able to find a solution.
> I am bringing it here and I'm sure someone (if not many) will be able to
> help.
>
> I would like to write a PCRE expression that would "catch" the following
> snipet:
>
>
>
> <HTML><BODY>
> <img src=cid:gshg834H8GF78YAB8gfd4t height=1 width=1 />
> <SPAN>Welcome to my website</SPAN>
> </BODY></HTML>
>
>
>
> Note that those are four lines with CRLF at the end of each.
> I was unable to use the "/s" command in order to force (.) to accept
> newlines. In addition, I was unable to use (\r) and (\n) properly.
>
> Maybe body_checks doesn't accept CR or LF checks?
>
> Send me your expressions if you know...
>
> TIA,
> Noor
>
>
> -
> To unsubscribe, send mail to majordomo
postfix.org with content
> (not subject): unsubscribe postfix-users
>
>
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]