Re: [exim] Using smartrelay getting unrouteable address erro…

Top Page
Delete this message
Reply to this message
Author: Andy Smith
Date:  
To: Ted Cooper
CC: exim-users
Subject: Re: [exim] Using smartrelay getting unrouteable address error
Hi Ted,

ok, am a bit more confused now...

Ok if we take my original post as the example:

2008-01-31 17:56:00 1JKddo-0003mt-D7 <= root@??? U=root P=local S=335
2008-01-31 17:56:00 1JKddo-0003mt-D7 ** a.smith@???: Unrouteable
address
2008-01-31 17:56:00 1JKddo-0003mv-EH <= <> R=1JKddo-0003mt-D7 U=Debian-exim
P=local S=1130
2008-01-31 17:56:00 1JKddo-0003mv-EH ** root@???: Unrouteable address
2008-01-31 17:56:00 1JKddo-0003mv-EH Frozen (delivery error message)
2008-01-31 17:56:00 1JKddo-0003mt-D7 Completed

The is from the root user on the system, mail is sent simply from piping
into mail as per norm in shell with recepient address
set as a.smith@???....
My understanding from the above is that the mail from the root user to
a.smith is ID 1JKddo-0003mt-D7, but the last thing in
the mainlog is that this message is "completed", it never leaves the system
(I just rechecked with tcpdump and there is no
outgoing SMTP traffic to the smart host). But neither is it left on the
system, the other message ID is left as frozen.
I can run the debug command you specified against the other message ID
1JKddo-0003mv-EH, but this is just the auto error
message from exim isnt it? Currently root@??? isnt a valid email
address so I try this again send from myself:


2008-02-01 15:43:09 1JKy2n-0005vt-Nq <= a.smith@??? U=a.smith P=local
S=351
2008-02-01 15:43:09 1JKy2n-0005vt-Nq ** a.smith@???: Unrouteable
address
2008-02-01 15:43:09 1JKy2n-0005vv-Oz <= <> R=1JKy2n-0005vt-Nq U=Debian-exim
P=local S=1155
2008-02-01 15:43:09 1JKy2n-0005vv-Oz ** a.smith@???: Unrouteable
address
2008-02-01 15:43:09 1JKy2n-0005vv-Oz Frozen (delivery error message)
2008-02-01 15:43:09 1JKy2n-0005vt-Nq Completed

And now I run the command u asked against the frozen message:

exim -d+all -M  1JKy2n-0005vv-Oz
15:45:19 22813 Exim version 4.68 uid=0 gid=0 pid=22813 D=fffdffff
Berkeley DB: Berkeley DB 4.6.21: (September 27, 2007)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb 
dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
15:45:19 22813 changed uid/gid: forcing real = effective
15:45:19 22813   uid=0 gid=0 pid=22813
15:45:19 22813   auxiliary group list: <none>
15:45:19 22813 seeking password data for user "uucp": cache not available
15:45:19 22813 getpwnam() succeeded uid=10 gid=10
15:45:19 22813 configuration file is /etc/exim4/exim4.conf
15:45:19 22813 log selectors = 00000ffc 00612001
15:45:19 22813 cwd=/etc/exim4 4 args: exim -d+all -M 1JKy2n-0005vv-Oz
15:45:19 22813 trusted user
15:45:19 22813 admin user
15:45:19 22813 skipping ACL configuration - not needed
15:45:19 22813 seeking password data for user "mail": cache not available
15:45:19 22813 getpwnam() succeeded uid=8 gid=8
15:45:19 22813 set_process_info: 22813 delivering specified messages
15:45:19 22813 set_process_info: 22813 delivering 1JKy2n-0005vv-Oz
15:45:19 22813 reading spool file 1JKy2n-0005vv-Oz-H
15:45:19 22813 user=Debian-exim uid=100 gid=102 sender=
15:45:19 22813 sender_local=0 ident=Debian-exim
15:45:19 22813 Non-recipients:
15:45:19 22813 Empty Tree
15:45:19 22813 ---- End of tree ----
15:45:19 22813 recipients_count=1
15:45:19 22813 body_linecount=22 message_linecount=10
15:45:19 22813 LOG: MAIN
15:45:19 22813   Unfrozen by forced delivery
15:45:19 22813 Delivery address list:
15:45:19 22813   a.smith@???
15:45:19 22813 locking /var/spool/exim4/db/retry.lockfile
15:45:19 22813 locked /var/spool/exim4/db/retry.lockfile
15:45:19 22813 EXIM_DBOPEN(/var/spool/exim4/db/retry)
15:45:19 22813 returned from EXIM_DBOPEN
15:45:19 22813 no retry data available
15:45:19 22813 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
15:45:19 22813 Considering: a.smith@???
15:45:19 22813 unique = a.smith@???
15:45:19 22813 no domain retry record
15:45:19 22813 no address retry record
15:45:19 22813 a.smith@???: queued for routing
15:45:19 22813 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
15:45:19 22813 routing a.smith@???
15:45:19 22813 --------> hubbed_hosts router <--------
15:45:19 22813 local_part=a.smith domain=domain.net
15:45:19 22813 checking domains
15:45:19 22813 expanding: /etc/exim4/hubbed_hosts
15:45:19 22813    result: /etc/exim4/hubbed_hosts
15:45:19 22813 condition: exists{/etc/exim4/hubbed_hosts}
15:45:19 22813    result: false
15:45:19 22813 expanding: partial-lsearch;/etc/exim4/hubbed_hosts
15:45:19 22813    result: partial-lsearch;/etc/exim4/hubbed_hosts
15:45:19 22813 skipping: result is not used
15:45:19 22813 failed to expand: ${if 
exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exim4/hubbed_hosts}fail}
15:45:19 22813    error message: "if" failed and "fail" requested
15:45:19 22813 failure was forced
15:45:19 22813 expansion of "${if 
exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exim4/hubbed_hosts}fail}" 
forced failure: assume not in this list
15:45:19 22813 hubbed_hosts router skipped: domains mismatch
15:45:19 22813 --------> real_local router <--------
15:45:19 22813 local_part=a.smith domain=domain.net
15:45:19 22813 real_local router skipped: prefix mismatch
15:45:19 22813 --------> system_aliases router <--------
15:45:19 22813 local_part=a.smith domain=domain.net
15:45:19 22813 checking domains
15:45:19 22813 domain.net in "MAIN_LOCAL_DOMAINS"? no (end of list)
15:45:19 22813 domain.net in "+local_domains"? no (end of list)
15:45:19 22813 system_aliases router skipped: domains mismatch
15:45:19 22813 --------> userforward router <--------
15:45:19 22813 local_part=a.smith domain=domain.net
15:45:19 22813 checking domains
15:45:19 22813 cached no match for +local_domains
15:45:19 22813 cached lookup data = NULL
15:45:19 22813 domain.net in "+local_domains"? no (end of list)
15:45:19 22813 userforward router skipped: domains mismatch
15:45:19 22813 --------> procmail router <--------
15:45:19 22813 local_part=a.smith domain=domain.net
15:45:19 22813 checking domains
15:45:19 22813 cached no match for +local_domains
15:45:19 22813 cached lookup data = NULL
15:45:19 22813 domain.net in "+local_domains"? no (end of list)
15:45:19 22813 procmail router skipped: domains mismatch
15:45:19 22813 --------> maildrop router <--------
15:45:19 22813 local_part=a.smith domain=domain.net
15:45:19 22813 checking domains
15:45:19 22813 cached no match for +local_domains
15:45:19 22813 cached lookup data = NULL
15:45:19 22813 domain.net in "+local_domains"? no (end of list)
15:45:19 22813 maildrop router skipped: domains mismatch
15:45:19 22813 --------> lowuid_aliases router <--------
15:45:19 22813 local_part=a.smith domain=domain.net
15:45:19 22813 checking domains
15:45:19 22813 cached no match for +local_domains
15:45:19 22813 cached lookup data = NULL
15:45:19 22813 domain.net in "+local_domains"? no (end of list)
15:45:19 22813 lowuid_aliases router skipped: domains mismatch
15:45:19 22813 --------> local_user router <--------
15:45:19 22813 local_part=a.smith domain=domain.net
15:45:19 22813 checking domains
15:45:19 22813 cached no match for +local_domains
15:45:19 22813 cached lookup data = NULL
15:45:19 22813 domain.net in "+local_domains"? no (end of list)
15:45:19 22813 local_user router skipped: domains mismatch
15:45:19 22813 --------> mail4root router <--------
15:45:19 22813 local_part=a.smith domain=domain.net
15:45:19 22813 checking domains
15:45:19 22813 cached no match for +local_domains
15:45:19 22813 cached lookup data = NULL
15:45:19 22813 domain.net in "+local_domains"? no (end of list)
15:45:19 22813 mail4root router skipped: domains mismatch
15:45:19 22813 no more routers
15:45:19 22813 post-process a.smith@??? (2)
15:45:19 22813 LOG: MAIN
15:45:19 22813   ** a.smith@???: Unrouteable address
15:45:19 22813 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
15:45:19 22813 After routing:
15:45:19 22813   Local deliveries:
15:45:19 22813   Remote deliveries:
15:45:19 22813   Failed addresses:
15:45:19 22813   Deferred addresses:
15:45:19 22813     a.smith@???
15:45:19 22813 search_tidyup called
15:45:19 22813 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
15:45:19 22813 changed uid/gid: post-delivery tidying
15:45:19 22813   uid=100 gid=102 pid=22813
15:45:19 22813   auxiliary group list: <none>
15:45:19 22813 set_process_info: 22813 tidying up after delivering 
1JKy2n-0005vv-Oz
15:45:19 22813 Processing retry items
15:45:19 22813 Succeeded addresses:
15:45:19 22813 Failed addresses:
15:45:19 22813 Deferred addresses:
15:45:19 22813 a.smith@???: no retry items
15:45:19 22813 end of retry processing
15:45:19 22813 LOG: MAIN
15:45:19 22813   Frozen (delivery error message)
15:45:19 22813 delivery deferred: update_spool=1 header_rewritten=0
15:45:19 22813 Writing spool header file
15:45:19 22813 Size of headers = 440
15:45:19 22813 end delivery of 1JKy2n-0005vv-Oz
15:45:19 22813 search_tidyup called
15:45:19 22813 search_tidyup called
15:45:19 22813 >>>>>>>>>>>>>>>> Exim pid=22813 terminating with rc=0 

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




Thanks, Andy.