[Exim] Configuration error for message_fillter

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip_Khuu
Date:  
À: exim-users
Sujet: [Exim] Configuration error for message_fillter

Successfully tested my filter file with
sendmail -bf myfilter. It worked fine.

The my filter file as follow:

# exim filter
if $header_to: contain "abc.com" then
save /export/home/philipk/archive_folder
unseen deliver philip_khuu@???

endif

finish

After successfully test on command line, I implemented this filter into
/etc/exim.conf
at Directors Configuration section as message_filter = /usr/exim/myfilter. I then
kill -HUP
exim or restart exim. The paniclog file indicated message_filter as unknown.

Here's error:

2001-01-09 12:46:28 Exim configuration error
option "message_filter" unknown in line 310

Can someone tells me what have I done wrong?

Thank.

Here's the configuration file.

######################################################################
#                      DIRECTORS CONFIGURATION                       #
#             Specifies how local addresses are handled              #
######################################################################


userforward:
driver = forwardfile
file = .forward
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
filter
message_filter = /usr/exim/myfilter






# exim filter

2001-01-09 12:46:28 Exim configuration error
option "message_filter" unknown in line 310















_______________________________________________________________________________________________


Disclaimer:

Any views or opinions are solely those of the
author and do not necessarily represent those
of PR Newswire. The contents are intended
only for the addressee and may contain confidential
and/or privileged material. If you are not the
intended recipient, please do not read, copy,
use or disclose this communication and notify
the sender.