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 == [EMAIL PROTECTED]
<[EMAIL PROTECTED]> R=userforward
defer (-17): error in filter file: filtering not enabled
2005-07-27 11:27:50 1Dxghd-0009wJ-Hq == [EMAIL PROTECTED]
<[EMAIL PROTECTED]> R=userforward
defer (-17): error in filter file: filtering not enabled
2005-07-27 11:27:50 1DxEly-0008mF-Bh == [EMAIL PROTECTED]
<[EMAIL PROTECTED]> R=userforward
defer (-17): error in filter file: filtering not enabled
2005-07-27 11:27:50 1DxElx-0008lF-V5 == [EMAIL PROTECTED]
<[EMAIL PROTECTED]> R=userforward
defer (-17): error in filter file: filtering not enabled
2005-07-27 11:27:50 1DxbFl-0009jY-RZ == [EMAIL PROTECTED]
<[EMAIL PROTECTED]> R=userforward
defer (-17): error in filter file: filtering not enabled
2005-07-27 11:27:50 1DxbFm-0009kZ-4g == [EMAIL PROTECTED]
<[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
# mailx [EMAIL PROTECTED] < /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 == [EMAIL PROTECTED]
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

exim -bt -d -C /data/exim/etc/exim/exim.conf [EMAIL PROTECTED]

seems to back this up;

....
local_part=root domain=savagelandz.cjb.net
checking domains
savagelandz.cjb.net in
"@:savagelandz.cjb.net:*.savagelandz.cjb.net:localhost:ns"? yes (matched
"savagelandz.cjb.net")
savagelandz.cjb.net in "! +local_domains"? no (matched "!
+local_domains")
dnslookup router skipped: domains mismatch
....

so why do I get the dnslookup in the log file since here it is skipping
it.

Anyway does anyone have any ideas why this is happening, I'm sure it is
something simple but I can't for the life of me work out what is wrong.

exim verions is exim-ldap2-4.51 installed form the port on FreeBSD and
the userforward driver has filtering enabled.

userforward:
  driver = redirect
  check_local_user file = $home/.forward
  no_verify
  no_expn
  check_ancestor
  allow_filter
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
  directory_transport = address_directory

/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 "[EMAIL PROTECTED]" and
save it to .SPAM
#elif $h_from: is "[EMAIL PROTECTED]" 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


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to