[Exim] Error in system filter?

Top Page
Delete this message
Reply to this message
Author: Jaco van der Schyff
Date:  
To: exim-users
Subject: [Exim] Error in system filter?
Hi,

I get the following error in my mainlog file when I try to use the exim system
filter file:
(system_filter.exim)

2001-05-17 16:41:19 150Oq9-0006cP-00 Error in message_filter file: string is
too long in line 73 of filter file (max = 256 chars)

Here is the section in the filter file that generates the error
( sorry, but my mailer wrapped the long lines)

it is the line just after the if $message_body matches ....
the line that just contains "then"

# Attempt to catch embedded VBS attachments
# in emails.   These were used as the basis for 
# the ILOVEYOU virus and its variants
# [vb_regexp]
if $message_body matches
"(?:Content-(?:Type:(?>\\\\s*)[\\\\w-]+/[\\\\w-]+|Disposition:(?>\\\\s*)attachment);(?>\\\\s*)(?:file)?name=|begin(?>\\\\s+)[0-7]{3,4}(?>\\\\s+))(\"[^\"]+\\\\.(?:vb[se]|ws[fh]|jse?|exe|com|cmd|shs|hta|bat|scr|pif)\"|[\\\\w.-]+\\\\.(?:vb[se]|ws[fh]|jse?|exe|com|cmd|shs|hta|bat|scr|pif))[\\\\s;]"
then
  fail text "This message has been rejected because it has\n\
             \ta potentially executable attachment $1\n\
             \tThis form of attachment has been used by\n\
             \trecent viruses or other malware.\n\
             \tIf you meant to send this file then please\n\
             \tpackage it up as a zip file and resend it."
  seen finish
endif



My exim version is 3.16

Any idea how I can split this regexp over multiple lines?

Regards.

Jaco van der Schyff

jvds@???
+27 12 803 7591
+27 83 680 4922