[EXIM] exim receives mail but fails to route to proper local…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Mark Shacklette
Dátum:  
Címzett: exim-users
CC: Mark L. Weindling
Tárgy: [EXIM] exim receives mail but fails to route to proper local mailbox
Hi.

I'm new to exim and have just installed it and am (I think) quite close to
getting it working. I am running fetchmail to get my email from my ISP (email
address is mshack@???) and it successfully delivers that mail to
exim running on my local net server lsmtsrvr1.lakeshore.com (192.168.1.1), a
local network completely unknown to the internet (as you'll see).

I am testing sending email from an account I have as mshack@???,
and trying to get it through my ISP account mshack@??? all the way
to my LOCAL mailbox (on lsmtsrvr1.lakeshore.com) whose email address is
jmshack@??? (in /var/spool/mail/jmshack). By the way,
sendmail works fine, but I want the added antispam capabilities of exim....

When mail is delivered, "exim -d10 -bd -q1h" displays the following error
messsage:

routing jmshack@lakeshore, domain lakeshore
lookuphost router called for jmshack@lakeshore: dns lookup: route_domain =
lakeshore
DNS lookup of lakeshore (MX) gave HOST_NOT_FOUND
SMTP<< QUIT
221 interaccess.com closing connection
child 1205 ended
0 SMTP accept processes now running
listening on port 25...
DNS lookup of lakeshore (A) gave HOST_NOT_FOUND
lookuphost router failed
literal router called for jmshack@lakeshore: route_domain = lakeshore
literal router failed
post-process jmshack@lakeshore
LOG: 0 MAIN
** jmshack@lakeshore <jmshack@???>: unknown mail domain
search_tidyup called
>>>>>> Local deliveries >>>>>>

search_tidyup called
>>>>>> Remote deliveries >>>>>>

set_process_info: 1207 1.82 tidying up after delivering 0yGWJX-0000JR-00
Processing retry items
Succeeded addresses:
jmshack@???: no retry items
Failed addresses:
jmshack@lakeshore: no retry items
jmshack@???: no retry items
Deferred addresses:
end of retry processing
...
From: Mail Delivery System <Mailer-Daemon@???>
To: mshack@???
Subject: Mail delivery failed: returning message to sender


It appears that it's trying to do a DNS lookup on lakeshore.com, which will
certainly fail as lakeshore.com (at least mine) is not registered. If that
sounds like the error (an error is eventually returned to the sender, see below
for full details), any suggestions would be helpful. Whatever, the mail never
makes it into jmshack's mailbox on lsmtsrvr1.lakeshore.com.

Thanks for any help. And sorry for the length, but I wanted to make sure I
gave what I knew of the relevant facts.

Mark


PS: My configure script looks like this (w/o comments, etc):

qualify_domain = interaccess.com
qualify_recipient = lakeshore
local_domains=*.lakeshore.com:lakeshore.com:interaccess.com

local_delivery:
driver = appendfile;
file = /var/spool/mail/${local_part};
envelope_to_add = false;
**address_pipe:
driver = pipe;
ignore_status,
return_output;
envelope_to_add = false;
address_file:
driver = appendfile;
envelope_to_add = false;
smtp:
driver = smtp;
dns_qualify_single = false
system_aliases:
driver = aliasfile;
file = /etc/aliases,
search_type = lsearch
userforward:
no_verify,
driver = forwardfile;
file = .forward,
filter
localuser:
driver = localuser,
transport = local_delivery;
real_interaccess:
domains = interaccess.com,
driver = smartuser,
transport = smtp;
lookuphost:
driver = lookuphost,
transport = smtp;
qualify_single = false
literal:
driver = ipliteral,
transport = smtp;

************************************************************
LENGTHIER VERSION of debug output from exim:

Exim version 1.82 debug level set to 10
probably Berkeley DB version 1.8x (compatibility mode)
...
Process 1205 is handling incoming connection from [192.168.1.1] (jmshack)
set_process_info: 1205 1.82 handling incoming connection from [192.168.1.1]
(jmshack)
ready for new message
smtp_setup_msg entered
220 interaccess.com ESMTP Exim 1.82 #9 Sat, 21 Mar 1998 16:00:26 -0600
SMTP<< EHLO lsmtsrvr1.lakeshore.com
host_find_by_addr yields lsmtsrvr1.lakeshore.com
sender_fullhost = lsmtsrvr1.lakeshore.com [192.168.1.1]
250-interaccess.com: Hello jmshack at lsmtsrvr1.lakeshore.com [192.168.1.1]
...
SMTP<< MAIL FROM:<mshack@???>
250 <mshack@???> is syntactically correct
SMTP<< RCPT TO:<jmshack@???>
250 <jmshack@???> is syntactically correct
SMTP<< DATA
354 Enter message, ending with "." on a line by itself
...
>>Original headers:

Received: from mcfeely.interaccess.com
        by lsmtsrvr1.lakeshore.com (fetchmail-4.4.0 POP3)
        for <jmshack@???> (single-drop); Sat, 21 Mar 1998
16:00:27 CST
Received: from acs.oakton.edu (acs.oakton.edu [192.234.14.1]) by
mcfeely.interaccess.com (8.8.5/8.7.5) with SMTP id PAA26360 for
<mshack@???>; Sat, 21 Mar 1998 15:57:20 -0600 (CST)
Received: from vulcan.oakton.edu by acs.oakton.edu ; 21 MAR 98 18:03:27 CDT
Subject: test12 to exim
To: mshack@???
Date: Sat, 21 Mar 1998 15:59:03 -0600 (CST)
From: "Mark Shacklette - instr." <mshack@???>
...
rewrite_one_header: type=T:
  To: mshack@???
rewrite_one_header: type=F:
  From: "Mark Shacklette - instr." <mshack@???>
search_tidyup called

>>Final headers:

P Received: from lsmtsrvr1.lakeshore.com [192.168.1.1] (jmshack)
        by interaccess.com with esmtp (Exim 1.82 #9)
        id 0yGWJX-0000JR-00; Sat, 21 Mar 1998 16:00:27 -0600
P Received: from mcfeely.interaccess.com
        by lsmtsrvr1.lakeshore.com (fetchmail-4.4.0 POP3)
        for <jmshack@???> (single-drop); Sat, 21 Mar 1998
16:00:27 CST
P Received: from acs.oakton.edu (acs.oakton.edu [192.234.14.1]) by
mcfeely.interaccess.com (8.8.5/8.7.5) with SMTP id PAA26360 for
<mshack@???>; Sat, 21 Mar 1998 15:57:20 -0600 (CST)
...
Sender: mshack@???
Recipients:
  jmshack@???
forked delivery process 1207
set_process_info:  1205 1.82 handling incoming connection from [192.168.1.1]
(jmshack)
ready for new message
smtp_setup_msg entered
delivering message 0yGWJX-0000JR-00
set_process_info:  1207 1.82 delivering 0yGWJX-0000JR-00
Opened spool file 0yGWJX-0000JR-00-H
user=root uid=0 gid=0 sender=mshack@???
sender_fullhost = lsmtsrvr1.lakeshore.com [192.168.1.1]
sender_local=0 resent=no ident=jmshack
Non-recipients:
recipients_count=1
Delivery address list:
  jmshack@???
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
unique = jmshack@???
dbfn_read: key=D:jmshack@???
jmshack@???: queued for directing

>>>>>>>>>>>>>>>>>>>>>>>>

directing jmshack@???
calling system_aliases director
system_aliases director: file = /etc/aliases search type = 48
file=/etc/aliases query=jmshack
search_open (0) /etc/aliases
search_find: file="/etc/aliases" type=0 key="jmshack" partial=-1
internal_search_find: file="/etc/aliases" type=0 key="jmshack"
file lookup required for jmshack in /etc/aliases
parse_extract_addresses: jmshack
extracted: jmshack
system_aliases director generated jmshack@lakeshore
  uid=unset gid=unset home=null
system_aliases director succeeded for jmshack
  transport: <none>
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
unique = jmshack@lakeshore
dbfn_read: key=R:lakeshore
jmshack@lakeshore: queued for routing
After directing:
  Local addresses:
  Remote addresses:
  Failed addresses:
  Addresses to be routed:
    jmshack@lakeshore
  Deferred addresses:

>>>>>>>>>>>>>>>>>>>>>>>>

routing jmshack@lakeshore, domain lakeshore
lookuphost router called for jmshack@lakeshore: dns lookup: route_domain =
lakeshore
DNS lookup of lakeshore (MX) gave HOST_NOT_FOUND
SMTP<< QUIT
221 interaccess.com closing connection
child 1205 ended
0 SMTP accept processes now running
listening on port 25...
DNS lookup of lakeshore (A) gave HOST_NOT_FOUND
lookuphost router failed
literal router called for jmshack@lakeshore: route_domain = lakeshore
literal router failed
post-process jmshack@lakeshore
LOG: 0 MAIN
** jmshack@lakeshore <jmshack@???>: unknown mail domain
search_tidyup called
>>>>>> Local deliveries >>>>>>

search_tidyup called
>>>>>> Remote deliveries >>>>>>

set_process_info: 1207 1.82 tidying up after delivering 0yGWJX-0000JR-00
Processing retry items
Succeeded addresses:
jmshack@???: no retry items
Failed addresses:
jmshack@lakeshore: no retry items
jmshack@???: no retry items
Deferred addresses:
end of retry processing
...
>>Original headers:

From: Mail Delivery System <Mailer-Daemon@???>
To: mshack@???
Subject: Mail delivery failed: returning message to sender



--
*** Exim information can be found at http://www.exim.org/ ***