Re: [Exim] v6

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Randy Bush
Ημερομηνία:  
Προς: Kevin Sindhu
Υ/ο: exim users, Jun-ichiro itojun Hagino
Αντικείμενο: Re: [Exim] v6
>> wish i could, but i am no longer v6 connected.
> I want(ed) to see what exim would return as the lookup for these
> hosts. -d11 -bt should, IIRC, still work without the need of having
> IPv6 connectivity.


looks like ph10's guess was correct, the A is being returned before the
AAAA. i suspect my v6 friends would ask that AAAA be preferred even if
it is not first.

randy

----

roam.psg.com:/usr/src# exim -d 11 -bt itojun@???
Exim version 4.00 uid=0 gid=0 pid=5926 L=834cd8 D=fff7577f
probably Berkeley DB version 1.8x (native mode)
changed uid/gid: forcing real = effective
uid=0 gid=0
auxiliary group list: 0
trusted user
admin user
changed uid/gid: privilege not needed
uid=1002 gid=106
auxiliary group list: 106
originator: uid=0 gid=0 login=root name=Randy Bush
sender address = root@???
set_process_info: 5926 accepting a local non-SMTP message from <root@???>
Sender: root@???
Recipients:
11
-bt
itojun@???
search_tidyup called
To: itojun@???
From: randy@???

>>Headers received:

To: itojun@???
From: randy@???

rewritten sender = root@???
rewrite_one_header: type=T:
To: itojun@???
address match: subject=itojun@??? pattern=*@*.psg.com
iijlab.net in "*.psg.com"? no (end of list)
itojun@??? in "*@*.psg.com"? no (end of list)
rewrite_one_header: type=F:
From: randy@???
search_tidyup called
>>Headers after local additions:

P Received: from root by roam.psg.com with local (Exim 4.00)
        id 16y0ES-0001Xa-00; Thu, 18 Apr 2002 10:19:57 +0900
T To: itojun@???
F From: randy@???
I Message-Id: <E16y0ES-0001Xa-00@???>
  Date: Thu, 18 Apr 2002 10:19:57 +0900


test
.
Data file written for message 16y0ES-0001Xa-00
calling local_scan()
local_scan() returned 0 NULL
Writing spool header file
Size of headers = 238
LOG: MAIN
<= root@??? U=root P=local S=244
search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=5926 terminating with rc=0 >>>>>>>>>>>>>>>>>>

exec /usr/local/sbin/exim -d=0xfff7577f -Mc 16y0ES-0001Xa-00
Exim version 4.00 uid=1002 gid=106 pid=6111 L=834cd8 D=fff7577f
probably Berkeley DB version 1.8x (native mode)
changed uid/gid: forcing real = effective
uid=0 gid=106
auxiliary group list: 106
trusted user
admin user
skipping ACL configuration - not needed
set_process_info: 6111 delivering specified messages
set_process_info: 6111 delivering 16y0ES-0001Xa-00
reading spool file 16y0ES-0001Xa-00-H
user=root uid=0 gid=0 sender=root@???
sender_local=1 ident=root
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=3
body_linecount=1 message_linecount=6
Delivery address list:
11@???
-bt@???
itojun@???
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
opened hints database /var/spool/exim/db/retry: flags=0
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering: 11@???
active address 11@???
local_part=11 domain=roam.psg.com
unique = 11@???
dbfn_read: key=R:roam.psg.com
dbfn_read: key=R:11@???
no domain retry record
no address retry record
11@???: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering: -bt@???
active address -bt@???
local_part=-bt domain=roam.psg.com
unique = -bt@???
dbfn_read: key=R:roam.psg.com
dbfn_read: key=R:-bt@???
no domain retry record
no address retry record
-bt@???: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering: itojun@???
active address itojun@???
local_part=itojun domain=iijlab.net
unique = itojun@???
dbfn_read: key=R:iijlab.net
dbfn_read: key=R:itojun@???
no domain retry record
no address retry record
itojun@???: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing itojun@???
--------> lookuphost router <--------
local_part=itojun domain=iijlab.net
checking domains
iijlab.net in "roam.psg.com"? no (end of list)
iijlab.net in "! +local_domains"? yes (end of list)
cached lookup data = NULL
calling lookuphost router
lookuphost router called for itojun@???
domain = iijlab.net
roam.psg.com:/usr/src# DNS lookup of iijlab.net (MX) succeeded
DNS lookup of sh1.iijlab.net (AAAA) succeeded
2001:240:0:200:260:97ff:fe07:69ea in "127.0.0.1"? no (end of list)
3ffe:507:0:1:260:97ff:fe07:69ea in "127.0.0.1"? no (end of list)
DNS lookup of sh1.iijlab.net (A) succeeded
202.232.15.98 in "127.0.0.1"? no (end of list)
fully qualified name = iijlab.net
host_find_bydns yield = HOST_FOUND (2); returned hosts:
sh1.iijlab.net 202.232.15.98 10
sh1.iijlab.net 2001:240:0:200:260:97ff:fe07:69ea 10
sh1.iijlab.net 3ffe:507:0:1:260:97ff:fe07:69ea 10
set transport remote_smtp
queued for remote_smtp transport: local_part = itojun
domain = iijlab.net
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by lookuphost router
envelope to: itojun@???
transport: remote_smtp
host sh1.iijlab.net [202.232.15.98] MX=10
host sh1.iijlab.net [2001:240:0:200:260:97ff:fe07:69ea] MX=10
host sh1.iijlab.net [3ffe:507:0:1:260:97ff:fe07:69ea] MX=10
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing -bt@???
--------> lookuphost router <--------
local_part=-bt domain=roam.psg.com
checking domains
roam.psg.com in "roam.psg.com"? yes (matched "roam.psg.com")
roam.psg.com in "! +local_domains"? no (matched "! +local_domains")
cached lookup data = NULL
lookuphost router skipped: domains mismatch
--------> literal router <--------
local_part=-bt domain=roam.psg.com
checking domains
cached yes match for +local_domains
roam.psg.com in "! +local_domains"? no (matched "! +local_domains" - cached)
cached lookup data = NULL
literal router skipped: domains mismatch
--------> system_aliases router <--------
local_part=-bt domain=roam.psg.com
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
key="-bt" partial=-1
LRU list:
8/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="-bt"
file lookup required for -bt
in /etc/aliases
lookup failed
expanded:
file is not a filter file
parse_forward_list:
system_aliases router declined for -bt@???
--------> real_localuser router <--------
local_part=-bt domain=roam.psg.com
real_localuser router skipped: prefix mismatch
--------> slash_localuser router <--------
local_part=-bt domain=roam.psg.com
slash_localuser router skipped: prefix mismatch
--------> userforward router <--------
local_part=-bt domain=roam.psg.com
checking for local user
userforward router skipped: -bt is not a local user
--------> procmail router <--------
local_part=-bt domain=roam.psg.com
checking for local user
procmail router skipped: -bt is not a local user
no more routers
post-process -bt@??? (7)
LOG: MAIN
** -bt@???: Unrouteable address
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing 11@???
--------> lookuphost router <--------
local_part=11 domain=roam.psg.com
checking domains
roam.psg.com in "roam.psg.com"? yes (matched "roam.psg.com")
roam.psg.com in "! +local_domains"? no (matched "! +local_domains")
cached lookup data = NULL
lookuphost router skipped: domains mismatch
--------> literal router <--------
local_part=11 domain=roam.psg.com
checking domains
cached yes match for +local_domains
roam.psg.com in "! +local_domains"? no (matched "! +local_domains" - cached)
cached lookup data = NULL
literal router skipped: domains mismatch
--------> system_aliases router <--------
local_part=11 domain=roam.psg.com
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
cached open
search_find: file="/etc/aliases"
key="11" partial=-1
LRU list:
8/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="11"
file lookup required for 11
in /etc/aliases
lookup failed
expanded:
file is not a filter file
parse_forward_list:
system_aliases router declined for 11@???
--------> real_localuser router <--------
local_part=11 domain=roam.psg.com
real_localuser router skipped: prefix mismatch
--------> slash_localuser router <--------
local_part=11 domain=roam.psg.com
slash_localuser router skipped: prefix mismatch
--------> userforward router <--------
local_part=11 domain=roam.psg.com
checking for local user
userforward router skipped: 11 is not a local user
--------> procmail router <--------
local_part=11 domain=roam.psg.com
checking for local user
procmail router skipped: 11 is not a local user
no more routers
post-process 11@??? (7)
LOG: MAIN
** 11@???: Unrouteable address
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

After routing:
  Local deliveries:
  Remote deliveries:
    itojun@???
  Failed addresses:
    11@???
    -bt@???
  Deferred addresses:
search_tidyup called

>>>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>>>>

--------> itojun@??? <--------
set_process_info: 6111 delivering 16y0ES-0001Xa-00: waiting for a remote delivery subprocess to finish
selecting on subprocess pipes
changed uid/gid: remote delivery to itojun@??? with transport=remote_smtp
uid=1002 gid=106
auxiliary group list: 106
set_process_info: 6112 delivering 16y0ES-0001Xa-00 using remote_smtp
remote_smtp transport entered
itojun@???
iijlab.net in queue_smtp_domains? no (option unset)
checking status of sh1.iijlab.net
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
opened hints database /var/spool/exim/db/retry: flags=0
dbfn_read: key=T:sh1.iijlab.net:202.232.15.98
dbfn_read: key=T:sh1.iijlab.net:202.232.15.98:16y0ES-0001Xa-00
no host retry record
no message retry record
sh1.iijlab.net [202.232.15.98] status = usable
202.232.15.98 in serialize_hosts? no (option unset)
delivering 16y0ES-0001Xa-00 to sh1.iijlab.net [202.232.15.98] (itojun@???)
set_process_info: 6112 delivering 16y0ES-0001Xa-00 to sh1.iijlab.net [202.232.15.98] (itojun@???)
Connecting to sh1.iijlab.net [202.232.15.98]:25 ... connected
read response data: size=34
SMTP<< 220 sh1.iijlab.net ESMTP Postfix
SMTP>> EHLO roam.psg.com

read response data: size=79
  SMTP<< 250-sh1.iijlab.net
         250-PIPELINING
         250-SIZE 10240000
         250-ETRN
         250 8BITMIME
202.232.15.98 in hosts_require_auth? no (option unset)

SMTP>> MAIL FROM:<root@???> SIZE=1275
SMTP>> RCPT TO:<itojun@???>
SMTP>> DATA