Put the message_filter_file_transport = address_pipe in the Main config
area under the message_filter
message_filter = /usr/local/exim/system.filter
message_body_visible = 5000
message_filter_file_transport = address_pipe
Added the following to the top of the system.filter file
if
$h_X-Spam-Status: contains "Yes"
then
logwrite " => junk : SPAM"
save /var/mail/SPAM
finish
Endif
When a SPAM came in, Exim complained about not knowing where the log
file was, so took out the logwrite command
Now when a SPAM comes in I get :-
Feb 18 16:00:05 drake exim[11288]: 2003-02-18 16:00:05 18lAA8-0002vz-00
failed to read delivery status for /var/mail/SPAM:message filter from
delivery subprocess
Feb 18 16:00:05 drake exim[11288]: 2003-02-18 16:00:05 18lAA8-0002vz-00
pipe transport process returned non-zero status 0x000b: terminated by
signal 11
Leigh
-----Original Message-----
From: exim-users-admin@??? [
mailto:exim-users-admin@exim.org] On
Behalf Of John Burnham
Sent: 18 February 2003 15:42
To: Leigh Dodd; exim-users@???
Subject: Re: [Exim] Exim 3 System Filter - Spamassassin
Leigh Dodd wrote:
> What about the message_filter_file_transport ??
Doh, forgot to answer this bit (been trying to untangle bits of our
phone system today and it's done my head in).
message_filter_file_transport = address_pipe
will probably do the trick for you.
John
--
## List details at
http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##