[Exim] Vilter file regexp

Top Page
Delete this message
Reply to this message
Author: Jaco van der Schyff
Date:  
To: exim-users
Subject: [Exim] Vilter file regexp
Hi,

Exim gives me the following error in the log file:

Error in message_filter file: unexpected "(" in line 3 of filter file

And line 3 in my filter file reads as follows:

if $message_body matches name\\=\\".*\\.\([eE][xX][eE]|[vV][bB][sS]\)\\"
and not error_message


I want to use it to filter out .vbs and .exe attachments

Any help would be greatly appreciated


- Jaco van der Schyff