[Exim] Vilter file regexp

Top Pagina
Delete this message
Reply to this message
Auteur: Jaco van der Schyff
Datum:  
Aan: exim-users
Onderwerp: [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