[Exim] System filter help

Top Page
Delete this message
Reply to this message
Author: Admin
Date:  
To: exim-users
Subject: [Exim] System filter help
Hello,


I need to be able to do an lsearch in my system filer for an exim 4.20
install.

Here is the filter:

if first_delivery and
$h_X-Temp-Misspell: contains "YES" and $h_X-Spam-Status: contains "No"
and $h_From: does not contain ${lsearch:/etc/somefile}
then
logfile /var/log/exim/misspell_log
logwrite "$tod_log From: $h_from: Subject: $h_Subject: \n X-Spam-Status:
$h_X-Spam-Status: Sender: $sender_address SentTo: $h_To \n message-id:
$h_message-ID sender addr: $sender_address: reply addr: $reply_address:\n
Misspell: $h_X-Temp-Misspell:"
seen finish
endif

This is a production box, and I dont wat to play with the filter thats in
place.
Thanks in advance.