[Exim] .forward filter : strange defer (-17)

Pàgina inicial
Delete this message
Reply to this message
Autor: Michael V. Sokolov
Data:  
A: exim-users
Assumpte: [Exim] .forward filter : strange defer (-17)
Sirs, i've got such messages in exim logs:

2003-08-19 18:55:50 foo@bar R=filter defer (-17): error in filter file:
attempt to obey "logwrite" command without a previous "logfile"

i'm using exim 4.20 from apt, i've created following router in addition:

filter:
     check_local_user
     driver = redirect
     file = $home/.forward
     allow_filter
     no_verify


.forward contains:

if
    $h_X-Spam-Status: contains "Yes"
then
    logwrite "    => junk : SPAM"
    deliver spam@???
    finish
endif


When i try to test rules i've got next messages from exim:

exim4 -bf /home/foo/.forward < /home/foo/test
Sender taken from "From" line
Sender    = mvs@???
Recipient = root@antispam
Testing Exim filter file /home/foo/.forward


Filtering did not set up a significant delivery.
Normal delivery will occur.

All i want is to set up simple filter to move msgs with X-SPAM-STATUS: YES
before lmtp delivery to cyrus. Plz help me understand, what i misconfigured
in this time..

--

Michael V. Sokolov, SA/Helpdesk