RE: [Exim] Exim system filter problem - Ver4

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Schalk Erasmus
Datum:  
To: exim-users
Alte Treads: [Exim] Exim system filter problem
Betreff: RE: [Exim] Exim system filter problem - Ver4
Hi,

I've recently migrated to Exim Ver 4, but got a problem loading the System
Filter.

Keeps prompting: "option message_filter unknown". Does ver 4 actually
support Message_Filters?

Test Configuration:

# exim -C /usr/local/etc/exim/configure -bV

Exim version 4.12 #1 built 28-Apr-2003 19:07:24
Copyright (c) University of Cambridge 2002
Probably Berkeley DB version 1.8x (native mode)
Support for: IPv6 PAM Perl OpenSSL
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
2003-06-04 16:12:26 Exim configuration error in line 44:
main option "message_filter" unknown


Please assist.

Regards
Schalk Erasmus
Incredible Networks
Windhoek, Namibia


-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
Behalf Of Mohammad Meskarian
Sent: 04 June 2003 10:25 AM
To: exim-users@???
Subject: [Exim] Exim system filter problem


This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Dear All

I have problem with exim system filter

I have following inside system_filter.exe file

#Exim filter
if $header_content-type: matches "(?:file)?name=(\\\\S+\\\\.(?:ad[ep]|b
a[st]|chm|cmd|com|cpl|crt|eml|exe|hlp|hta|in[fs]|isp|jse?|lnk|md[be]|ms[
cipt]|pcd|pif|reg|scr|sct|shs|url|vb[se]|ws[fhc]))"
then
fail text "This message has been rejected because it has\n\
potentially executable content $1\n\
This form of attachment has been used by\n\
recent viruses or other malware.\n\
If you meant to send this file then please\n\
package it up as a zip file and resend it."
seen finish
endif

and I have
message_filter = /etc/exim/system_filter.exim
message_body_visible = 5000

inside the exim.conf

it seems the system filter doesn't have any affect on mail delivery

however as soon as I make mistake inside system filter file exim
generate the error it seems it read the filter file
but it doesn't have any affect.

This filter working fine inside the .forward file inside the home
directory.


Please help me.


--


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##