Author: Iain Cadd Date: To: exim-users Subject: [exim] error in filter file: filtering not enabled
Hi,
I have setup exim to do my domain's mail. Everything is working ok
except that mails sent to the root user which should be forwarded to my
user (iain) are not being delivered and are producing the following
errors in the exim mainlog.
2005-07-27 11:27:50 1DxhzC-000A1R-FO == iain@???
<root@???> R=userforward
defer (-17): error in filter file: filtering not enabled
2005-07-27 11:27:50 1Dxghd-0009wJ-Hq == iain@???
<root@???> R=userforward
defer (-17): error in filter file: filtering not enabled
2005-07-27 11:27:50 1DxEly-0008mF-Bh == iain@???
<root@???> R=userforward
defer (-17): error in filter file: filtering not enabled
2005-07-27 11:27:50 1DxElx-0008lF-V5 == iain@???
<root@???> R=userforward
defer (-17): error in filter file: filtering not enabled
2005-07-27 11:27:50 1DxbFl-0009jY-RZ == iain@???
<root@???> R=userforward
defer (-17): error in filter file: filtering not enabled
2005-07-27 11:27:50 1DxbFm-0009kZ-4g == iain@???
<root@???> R=userforward
defer (-17): error in filter file: filtering not enabled
Now this only happens for local mail, mail arriving from out on the
internet is fine. It goes through the filters in /home/iain/.forward and
is filed correctly. These local messages then become frozen. I can clear
these out by moving /home/iain/.forward out of the way but thats not
really suitable.
Also if I try to send send a mail to myself (iain) I get the above
# mailx iain < /root/ports-supfile
however if I try to mailx iain@???
# mailx iain@??? < /root/ports-supfile
I get;
2005-07-27 13:26:59 1DxjXl-000AG9-6f lowest numbered MX record points to
local host: savagelandz.cjb.net
2005-07-27 13:26:59 1DxjXl-000AG9-6f == iain@???
R=dnslookup defer (-1): lowest numbered MX record points to local host
Now on searching for this problem it says something about not including
the domain in local_domains however I have it in there. An
/home/iain/.forward file included the filter line at the top
head /home/iain/.forward
# Exim filter
# Match any email who's To: header contains "exim"
# and save it to .dir1
#if $h_to: contains "exim" then save Maildir/.dir1/
#Match email with a From: header that's # exactly "not@???" and
save it to .SPAM
#elif $h_from: is "not@???" then save Maildir/.SPAM/
If there is anymore info that you need please mail me and I'll dig it
out.
Regards
iain
P.S Please CC me on replies as I'm not subscribed to the list.
--
Iain Cadd
GIS Operations