[EXIM] * lookups when the regular lookups fail

Top Page
Delete this message
Reply to this message
Author: Jared Proudfoot
Date:  
To: exim-users
Subject: [EXIM] * lookups when the regular lookups fail

Greetings,

We've got a client that wants to direct any mail that doesn't match an account
in his domain to another mailbox. Usually, this is pretty simple... In fact,
using Q0401 from the FAQ, I've got it working on several systems.

The system I'm trying to implement this on now, however, is a little different
than most of the setups I've seen. They are using a single .db file for all
of their virtual domain aliases and using the following to rewrite the
address:

virtual_users:
driver = smartuser;
new_address =
${lookup{${local_part}@${domain}}dbm{/etc/exim/virtusertable.db}${value}}{${qu
ote:${local_part}}@${domain}}}

(The above has probably word wrapped.. In the config file, it's all one line).

My problem is, when I had an asterik (*) to the search type (in the above
example) and put a *@domain.name entry in the db file, exim won't deliver to
it. As far as I can tell, it only wants/will only deliver to * in the .db
file and not *@domain.name.

Using just an * is out of the question, however, because this site hosts more
than 1200 domains. :) We don't want ALL the bounces going to the client.

Here is two debug outputs from exim... The first one is when I tried using
*@domain.name, and the other is when I used *.

# echo test | exim -d9 thisaddressdoesntexist@???
Exim version 2.02 debug level 9 uid=0 gid=1
probably Berkeley DB version 1.8x (native mode)
search_open: lsearch "/etc/exim/local-domains"
search_find: file="/etc/exim/local-domains"
type=lsearch key="swiss.direct.ca" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="swiss.direct.ca"
file lookup required for swiss.direct.ca
in /etc/exim/local-domains
lookup failed
set_process_info: 13387 2.02 accepting a local non-SMTP message from
<root@???>
Sender: root@???
Recipients:
thisaddressdoesntexist@???
search_tidyup called
>>Original headers:


test
search_tidyup called
>>Final headers:

P Received: from root by swiss.direct.ca with local (Exim 2.02 #1)
        id 0zJ4kj-0003Tv-00
        for thisaddressdoesntexist@???; Tue, 15 Sep 1998
16:43:21 -0700
I Message-Id: <E0zJ4kj-0003Tv-00@???>
F From: Super-User <root@???>
T To: thisaddressdoesntexist@???
  Date: Tue, 15 Sep 1998 16:43:21 -0700


test
Data file written for message 0zJ4kj-0003Tv-00
Writing spool header file
Size of headers = 332
LOG: 0 MAIN
<= root@??? U=root P=local S=338
exec /opt/exim/bin/exim -d9 -Mc 0zJ4kj-0003Tv-00
Exim version 2.02 debug level 9 uid=53 gid=15
probably Berkeley DB version 1.8x (native mode)
search_open: lsearch "/etc/exim/local-domains"
search_find: file="/etc/exim/local-domains"
type=lsearch key="swiss.direct.ca" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="swiss.direct.ca"
file lookup required for swiss.direct.ca
in /etc/exim/local-domains
lookup failed
set_process_info: 13390 2.02 delivering specified messages
delivering message 0zJ4kj-0003Tv-00
set_process_info: 13390 2.02 delivering 0zJ4kj-0003Tv-00
Opened spool file 0zJ4kj-0003Tv-00-H
user=root uid=0 gid=1 sender=root@???
sender_local=1 resent=no ident=root
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=1 message_linecount=8
Delivery address list:
thisaddressdoesntexist@???
[192] root 4:43pm [swiss: /etc/exim ]
# locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
search_open: lsearch "/etc/exim/local-domains"
cached
search_find: file="/etc/exim/local-domains"
type=lsearch key="parkwoodtravel.com" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="parkwoodtravel.com"
file lookup required for parkwoodtravel.com
in /etc/exim/local-domains
lookup yielded:
unique = thisaddressdoesntexist@???
dbfn_read: key=D:thisaddressdoesntexist@???
thisaddressdoesntexist@???: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

directing thisaddressdoesntexist@???
calling virtual_users director
virtual_users director called for thisaddressdoesntexist@???
search_open: dbm "/etc/exim/virtusertable.db"
search_find: file="/etc/exim/virtusertable.db"
type=dbm key="thisaddressdoesntexist@???" partial=1023
internal_search_find: file="/etc/exim/virtusertable.db"
type=dbm key="thisaddressdoesntexist@???"
file lookup required for thisaddressdoesntexist@???
in /etc/exim/virtusertable.db
lookup failed
trying to match *
internal_search_find: file="/etc/exim/virtusertable.db"
type=dbm key="*"
file lookup required for *
in /etc/exim/virtusertable.db
lookup failed
generated new address: thisaddressdoesntexist@???
virtual_users director succeeded for thisaddressdoesntexist
transport: <none>
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
search_open: lsearch "/etc/exim/local-domains"
cached
search_find: file="/etc/exim/local-domains"
type=lsearch key="parkwoodtravel.com" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="parkwoodtravel.com"
cached data used for lookup of parkwoodtravel.com
in /etc/exim/local-domains
lookup yielded:
unique = \thisaddressdoesntexist@???
dbfn_read: key=D:thisaddressdoesntexist@???
thisaddressdoesntexist@???: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

directing thisaddressdoesntexist@???
virtual_users director skipped: previously directed
thisaddressdoesntexist@???
calling system_aliases director
system_aliases director: dbm key=thisaddressdoesntexist
  file="/etc/exim/aliases.db"
search_open: dbm "/etc/exim/aliases.db"
search_find: file="/etc/exim/aliases.db"
  type=dbm key="thisaddressdoesntexist" partial=-1
internal_search_find: file="/etc/exim/aliases.db"
  type=dbm key="thisaddressdoesntexist"
file lookup required for thisaddressdoesntexist
  in /etc/exim/aliases.db
lookup failed
system_aliases director failed for thisaddressdoesntexist:
calling list_aliases director
list_aliases director: dbm key=thisaddressdoesntexist
  file="/mail/majordom/majordomo.aliases.db"
search_open: dbm "/mail/majordom/majordomo.aliases.db"
search_find: file="/mail/majordom/majordomo.aliases.db"
  type=dbm key="thisaddressdoesntexist" partial=-1
internal_search_find: file="/mail/majordom/majordomo.aliases.db"
  type=dbm key="thisaddressdoesntexist"
file lookup required for thisaddressdoesntexist
  in /mail/majordom/majordomo.aliases.db
lookup failed
list_aliases director failed for thisaddressdoesntexist:
calling userforward director
userforward director failed for thisaddressdoesntexist (not a user)
calling localuser director
localuser director failed for thisaddressdoesntexist: no such user
post-process thisaddressdoesntexist@???
LOG: 0 MAIN
  ** thisaddressdoesntexist@???
<thisaddressdoesntexist@???> D=virtual_users: unknown
local-part "thisaddressdoesntexist" in domain "parkwoodtravel.com"
After directing:
  Local addresses:
  Remote addresses:
  Failed addresses:
    thisaddressdoesntexist@???
  Addresses to be routed:
  Deferred addresses:
search_tidyup called

>>>>>> Local deliveries >>>>>>

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

set_process_info: 13390 2.02 tidying up after delivering 0zJ4kj-0003Tv-00
Processing retry items
Succeeded addresses:
thisaddressdoesntexist@???: no retry items
Failed addresses:
thisaddressdoesntexist@???: no retry items
thisaddressdoesntexist@???: no retry items
Deferred addresses:
end of retry processing
Exim version 2.02 debug level 9 uid=53 gid=15
probably Berkeley DB version 1.8x (native mode)
search_open: lsearch "/etc/exim/local-domains"
search_find: file="/etc/exim/local-domains"
type=lsearch key="swiss.direct.ca" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="swiss.direct.ca"
file lookup required for swiss.direct.ca
in /etc/exim/local-domains
lookup failed
set_process_info: 13393 2.02 accepting a local non-SMTP message from <>
Sender:
search_tidyup called
sending error message to: root@???
>>Original headers:

X-Failed-Recipients: thisaddressdoesntexist@???
From: Mail Delivery System <Mailer-Daemon@???>
To: root@???
Subject: Mail delivery failed: returning message to sender

rewrite_one_header: type=F:
From: Mail Delivery System <Mailer-Daemon@???>
rewrite_one_header: type=T:
To: root@???
search_tidyup called
>>Final headers:

P Received: from exim by swiss.direct.ca with local (Exim 2.02 #1)
        id 0zJ4kk-0003U1-00
        for root@???; Tue, 15 Sep 1998 16:43:22 -0700
  X-Failed-Recipients: thisaddressdoesntexist@???
F From: Mail Delivery System <Mailer-Daemon@???>
T To: root@???
  Subject: Mail delivery failed: returning message to sender
I Message-Id: <E0zJ4kk-0003U1-00@???>
  Date: Tue, 15 Sep 1998 16:43:22 -0700


writing data block size=368 timeout=0
Data file written for message 0zJ4kk-0003U1-00
Writing spool header file
Size of headers = 419
LOG: 0 MAIN
<= <> R=0zJ4kj-0003Tv-00 U=exim P=local S=1161
exec /opt/exim/bin/exim -d9 -Mc 0zJ4kk-0003U1-00
Exim version 2.02 debug level 9 uid=53 gid=15
probably Berkeley DB version 1.8x (native mode)
search_open: lsearch "/etc/exim/local-domains"
search_find: file="/etc/exim/local-domains"
type=lsearch key="swiss.direct.ca" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="swiss.direct.ca"
file lookup required for swiss.direct.ca
in /etc/exim/local-domains
lookup failed
set_process_info: 13397 2.02 delivering specified messages
delivering message 0zJ4kk-0003U1-00
set_process_info: 13397 2.02 delivering 0zJ4kk-0003U1-00
Opened spool file 0zJ4kk-0003U1-00-H
user=exim uid=53 gid=15 sender=
sender_local=0 resent=no ident=exim
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=15 message_linecount=24
Delivery address list:
root@???
LOG: 5 MAIN
Error message sent to root@???
thisaddressdoesntexist@???: children all complete
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
search_open: lsearch "/etc/exim/local-domains"
cached
search_find: file="/etc/exim/local-domains"
type=lsearch key="direct.ca" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="direct.ca"
file lookup required for direct.ca
in /etc/exim/local-domains
lookup yielded:
unique = root@???
dbfn_read: key=D:root@???
root@???: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

directing root@???
calling virtual_users director
virtual_users director called for root@???
search_open: dbm "/etc/exim/virtusertable.db"
search_find: file="/etc/exim/virtusertable.db"
type=dbm key="root@???" partial=1023
internal_search_find: file="/etc/exim/virtusertable.db"
type=dbm key="root@???"
file lookup required for root@???
in /etc/exim/virtusertable.db
lookup failed
trying to match *
internal_search_find: file="/etc/exim/virtusertable.db"
type=dbm key="*"
file lookup required for *
in /etc/exim/virtusertable.db
lookup failed
generated new address: root@???
virtual_users director succeeded for root
transport: <none>
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
search_open: lsearch "/etc/exim/local-domains"
cached
search_find: file="/etc/exim/local-domains"
type=lsearch key="direct.ca" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="direct.ca"
cached data used for lookup of direct.ca
in /etc/exim/local-domains
lookup yielded:
unique = \root@???
dbfn_read: key=D:root@???
root@???: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

directing root@???
virtual_users director skipped: previously directed root@???
calling system_aliases director
system_aliases director: dbm key=root
file="/etc/exim/aliases.db"
search_open: dbm "/etc/exim/aliases.db"
search_find: file="/etc/exim/aliases.db"
type=dbm key="root" partial=-1
internal_search_find: file="/etc/exim/aliases.db"
type=dbm key="root"
file lookup required for root
in /etc/exim/aliases.db
lookup yielded: pyber, jasonak
parse_extract_addresses: pyber, jasonak
extract item: pyber
extract item: jasonak
system_aliases director generated jasonak@???
uid=unset gid=unset home=null
system_aliases director generated pyber@???
uid=unset gid=unset home=null
system_aliases director succeeded for root
transport: <none>
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
search_open: lsearch "/etc/exim/local-domains"
cached
search_find: file="/etc/exim/local-domains"
type=lsearch key="direct.ca" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="direct.ca"
cached data used for lookup of direct.ca
in /etc/exim/local-domains
lookup yielded:
unique = pyber@???
dbfn_read: key=D:pyber@???
pyber@???: queued for directing
search_open: lsearch "/etc/exim/local-domains"
cached
search_find: file="/etc/exim/local-domains"
type=lsearch key="direct.ca" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="direct.ca"
cached data used for lookup of direct.ca
in /etc/exim/local-domains
lookup yielded:
unique = jasonak@???
dbfn_read: key=D:jasonak@???
jasonak@???: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

directing jasonak@???
calling virtual_users director
virtual_users director called for jasonak@???
search_open: dbm "/etc/exim/virtusertable.db"
cached
search_find: file="/etc/exim/virtusertable.db"
type=dbm key="jasonak@???" partial=1023
internal_search_find: file="/etc/exim/virtusertable.db"
type=dbm key="jasonak@???"
file lookup required for jasonak@???
in /etc/exim/virtusertable.db
lookup failed
trying to match *
internal_search_find: file="/etc/exim/virtusertable.db"
type=dbm key="*"
file lookup required for *
in /etc/exim/virtusertable.db
lookup failed
generated new address: jasonak@???
virtual_users director succeeded for jasonak
transport: <none>
>>>>>>>>>>>>>>>>>>>>>>>>

directing pyber@???
calling virtual_users director
virtual_users director called for pyber@???
search_open: dbm "/etc/exim/virtusertable.db"
cached
search_find: file="/etc/exim/virtusertable.db"
type=dbm key="pyber@???" partial=1023
internal_search_find: file="/etc/exim/virtusertable.db"
type=dbm key="pyber@???"
file lookup required for pyber@???
in /etc/exim/virtusertable.db
lookup failed
trying to match *
internal_search_find: file="/etc/exim/virtusertable.db"
type=dbm key="*"
file lookup required for *
in /etc/exim/virtusertable.db
lookup failed
generated new address: pyber@???
virtual_users director succeeded for pyber
transport: <none>
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
search_open: lsearch "/etc/exim/local-domains"
cached
search_find: file="/etc/exim/local-domains"
type=lsearch key="direct.ca" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="direct.ca"
cached data used for lookup of direct.ca
in /etc/exim/local-domains
lookup yielded:
unique = \pyber@???
dbfn_read: key=D:pyber@???
pyber@???: queued for directing
search_open: lsearch "/etc/exim/local-domains"
cached
search_find: file="/etc/exim/local-domains"
type=lsearch key="direct.ca" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="direct.ca"
cached data used for lookup of direct.ca
in /etc/exim/local-domains
lookup yielded:
unique = \jasonak@???
dbfn_read: key=D:jasonak@???
jasonak@???: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

directing jasonak@???
virtual_users director skipped: previously directed jasonak@???
calling system_aliases director
system_aliases director: dbm key=jasonak
file="/etc/exim/aliases.db"
search_open: dbm "/etc/exim/aliases.db"
cached
search_find: file="/etc/exim/aliases.db"
type=dbm key="jasonak" partial=-1
internal_search_find: file="/etc/exim/aliases.db"
type=dbm key="jasonak"
file lookup required for jasonak
in /etc/exim/aliases.db
lookup failed
system_aliases director failed for jasonak:
calling list_aliases director
list_aliases director: dbm key=jasonak
file="/mail/majordom/majordomo.aliases.db"
search_open: dbm "/mail/majordom/majordomo.aliases.db"
Writing spool header file
search_find: file="/mail/majordom/majordomo.aliases.db"
type=dbm key="jasonak" partial=-1
internal_search_find: file="/mail/majordom/majordomo.aliases.db"
type=dbm key="jasonak"
file lookup required for jasonak
in /mail/majordom/majordomo.aliases.db
lookup failed
list_aliases director failed for jasonak:
calling userforward director
userforward director: file = .forward
userforward director euid=73 egid=10
successful stat of /staff/jasonak
31 bytes read from /staff/jasonak/.forward
file is not a filter file
parse_extract_addresses: "|/usr/local/bin/procmail -f-"

extract item: |/usr/local/bin/procmail -f-
userforward director restored euid=53 egid=15
userforward director generated |/usr/local/bin/procmail -f-
pipe, file, or autoreply
userforward director succeeded for jasonak
transport: <none>
>>>>>>>>>>>>>>>>>>>>>>>>

directing pyber@???
virtual_users director skipped: previously directed pyber@???
calling system_aliases director
system_aliases director: dbm key=pyber
  file="/etc/exim/aliases.db"
search_open: dbm "/etc/exim/aliases.db"
  cached
search_find: file="/etc/exim/aliases.db"
  type=dbm key="pyber" partial=-1
internal_search_find: file="/etc/exim/aliases.db"
  type=dbm key="pyber"
file lookup required for pyber
  in /etc/exim/aliases.db
lookup failed
system_aliases director failed for pyber:
calling list_aliases director
list_aliases director: dbm key=pyber
  file="/mail/majordom/majordomo.aliases.db"
search_open: dbm "/mail/majordom/majordomo.aliases.db"
  cached
search_find: file="/mail/majordom/majordomo.aliases.db"
  type=dbm key="pyber" partial=-1
internal_search_find: file="/mail/majordom/majordomo.aliases.db"
  type=dbm key="pyber"
file lookup required for pyber
  in /mail/majordom/majordomo.aliases.db
lookup failed
list_aliases director failed for pyber:
calling userforward director
userforward director: file = .forward
userforward director euid=70 egid=10
successful stat of /staff/pyber
30 bytes read from /staff/pyber/.forward
file is not a filter file
parse_extract_addresses: "|/usr/local/bin/procmail -f-"
extract item: |/usr/local/bin/procmail -f-
userforward director restored euid=53 egid=15
userforward director generated |/usr/local/bin/procmail -f-
  pipe, file, or autoreply
userforward director succeeded for pyber
  transport: <none>
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
unique = |/usr/local/bin/procmail -f-:pyber@???
unique = |/usr/local/bin/procmail -f-:jasonak@???
After directing:
  Local addresses:
    |/usr/local/bin/procmail -f-
    |/usr/local/bin/procmail -f-
  Remote addresses:
  Failed addresses:
  Addresses to be routed:
  Deferred addresses:
search_tidyup called

>>>>>> Local deliveries >>>>>>

locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
dbfn_read: key=T:|/usr/local/bin/procmail -f-@???
delivering |/usr/local/bin/procmail -f- as |/usr/local/bin/procmail -f- using
address_pipe:
uid=73 gid=10 home=/staff/jasonak current=/staff/jasonak
auxiliary group list: <none>
set_process_info: 13402 2.02 delivering 0zJ4kk-0003U1-00 to
|/usr/local/bin/procmail -f- using address_pipe
address_pipe transport entered
direct command:
argv[0] = /usr/local/bin/procmail
argv[1] = -f-
set_process_info: 13404 2.02 reading output from /usr/local/bin/procmail -f-
Writing message to pipe
writing data block size=1189 timeout=0
Size of headers = 332
address_pipe transport yielded 0
address_pipe transport returned OK
post-process |/usr/local/bin/procmail -f-
|/usr/local/bin/procmail -f- succeeded: adding to nonrecipients list
jasonak@???: children all complete
jasonak@???: children all complete
LOG: 0 MAIN
=> |/usr/local/bin/procmail -f- (jasonak@???) <root@???>
D=userforward T=address_pipe
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
dbfn_read: key=T:|/usr/local/bin/procmail -f-@???
LOG: 0 MAIN
Completed
delivering |/usr/local/bin/procmail -f- as |/usr/local/bin/procmail -f- using
address_pipe:
uid=70 gid=10 home=/staff/pyber current=/staff/pyber
auxiliary group list: <none>
set_process_info: 13410 2.02 delivering 0zJ4kk-0003U1-00 to
|/usr/local/bin/procmail -f- using address_pipe
address_pipe transport entered
direct command:
argv[0] = /usr/local/bin/procmail
argv[1] = -f-
end delivery of 0zJ4kj-0003Tv-00
set_process_info: 13412 2.02 reading output from /usr/local/bin/procmail -f-
Writing message to pipe
writing data block size=1189 timeout=0
address_pipe transport yielded 0
address_pipe transport returned OK
post-process |/usr/local/bin/procmail -f-
|/usr/local/bin/procmail -f- succeeded: adding to nonrecipients list
pyber@???: children all complete
pyber@???: children all complete
root@???: children all complete
root@???: children all complete
LOG: 0 MAIN
=> |/usr/local/bin/procmail -f- (pyber@???) <root@???>
D=userforward T=address_pipe
search_tidyup called
>>>>>> Remote deliveries >>>>>>

set_process_info: 13397 2.02 tidying up after delivering 0zJ4kk-0003U1-00
Processing retry items
Succeeded addresses:
|/usr/local/bin/procmail -f-: no retry items
pyber@???: no retry items
pyber@???: no retry items
root@???: no retry items
root@???: no retry items
|/usr/local/bin/procmail -f-: no retry items
jasonak@???: no retry items
jasonak@???: no retry items
root@???: no retry items
root@???: no retry items
pyber@???: no retry items
pyber@???: no retry items
root@???: no retry items
root@???: no retry items
jasonak@???: no retry items
jasonak@???: no retry items
root@???: no retry items
root@???: no retry items
pyber@???: no retry items
root@???: no retry items
root@???: no retry items
jasonak@???: no retry items
root@???: no retry items
root@???: no retry items
root@???: no retry items
root@???: no retry items
root@???: no retry items
Failed addresses:
Deferred addresses:
end of retry processing
LOG: 0 MAIN
Completed
end delivery of 0zJ4kk-0003U1-00




# echo test | exim -d9 thisaddressdoesntexist@???
Exim version 2.02 debug level 9 uid=0 gid=1
probably Berkeley DB version 1.8x (native mode)
search_open: lsearch "/etc/exim/local-domains"
search_find: file="/etc/exim/local-domains"
type=lsearch key="swiss.direct.ca" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="swiss.direct.ca"
file lookup required for swiss.direct.ca
in /etc/exim/local-domains
lookup failed
set_process_info: 15262 2.02 accepting a local non-SMTP message from
<root@???>
Sender: root@???
Recipients:
thisaddressdoesntexist@???
search_tidyup called
>>Original headers:


test
search_tidyup called
>>Final headers:

P Received: from root by swiss.direct.ca with local (Exim 2.02 #1)
        id 0zJ4nj-0003yA-00
        for thisaddressdoesntexist@???; Tue, 15 Sep 1998
16:46:27 -0700
I Message-Id: <E0zJ4nj-0003yA-00@???>
F From: Super-User <root@???>
T To: thisaddressdoesntexist@???
  Date: Tue, 15 Sep 1998 16:46:27 -0700


test
Data file written for message 0zJ4nj-0003yA-00
Writing spool header file
Size of headers = 332
LOG: 0 MAIN
<= root@??? U=root P=local S=338
exec /opt/exim/bin/exim -d9 -Mc 0zJ4nj-0003yA-00
Exim version 2.02 debug level 9 uid=53 gid=15
probably Berkeley DB version 1.8x (native mode)
search_open: lsearch "/etc/exim/local-domains"
search_find: file="/etc/exim/local-domains"
type=lsearch key="swiss.direct.ca" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="swiss.direct.ca"
file lookup required for swiss.direct.ca
in /etc/exim/local-domains
lookup failed
set_process_info: 15263 2.02 delivering specified messages
delivering message 0zJ4nj-0003yA-00
set_process_info: 15263 2.02 delivering 0zJ4nj-0003yA-00
Opened spool file 0zJ4nj-0003yA-00-H
user=root uid=0 gid=1 sender=root@???
sender_local=1 resent=no ident=root
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=1 message_linecount=8
Delivery address list:
thisaddressdoesntexist@???
[195] root 4:46pm [swiss: /etc/exim ]
# locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
search_open: lsearch "/etc/exim/local-domains"
cached
search_find: file="/etc/exim/local-domains"
type=lsearch key="parkwoodtravel.com" partial=-1
internal_search_find: file="/etc/exim/local-domains"
type=lsearch key="parkwoodtravel.com"
file lookup required for parkwoodtravel.com
in /etc/exim/local-domains
lookup yielded:
unique = thisaddressdoesntexist@???
dbfn_read: key=D:thisaddressdoesntexist@???
thisaddressdoesntexist@???: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

directing thisaddressdoesntexist@???
calling virtual_users director
virtual_users director called for thisaddressdoesntexist@???
search_open: dbm "/etc/exim/virtusertable.db"
search_find: file="/etc/exim/virtusertable.db"
  type=dbm key="thisaddressdoesntexist@???" partial=1023
internal_search_find: file="/etc/exim/virtusertable.db"
  type=dbm key="thisaddressdoesntexist@???"
file lookup required for thisaddressdoesntexist@???
  in /etc/exim/virtusertable.db
lookup failed
trying to match *
internal_search_find: file="/etc/exim/virtusertable.db"
  type=dbm key="*"
file lookup required for *
  in /etc/exim/virtusertable.db
lookup yielded: jproudfo@???
  generated new address: jproudfo@???
virtual_users director succeeded for thisaddressdoesntexist
  transport: <none>
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
search_open: lsearch "/etc/exim/local-domains"
  cached
search_find: file="/etc/exim/local-domains"
  type=lsearch key="footprints.net" partial=-1
internal_search_find: file="/etc/exim/local-domains"
  type=lsearch key="footprints.net"
file lookup required for footprints.net
  in /etc/exim/local-domains
lookup failed
unique = jproudfo@???
dbfn_read: key=R:footprints.net
jproudfo@???: queued for routing
After directing:
  Local addresses:
  Remote addresses:
  Failed addresses:
  Addresses to be routed:
    jproudfo@???
  Deferred addresses:

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

routing jproudfo@???, domain footprints.net
lookuphost router called for jproudfo@???
dns lookup: route_domain = footprints.net
DNS lookup of footprints.net (MX) succeeded
Actual local interface address is 127.0.0.1
Actual local interface address is 199.60.229.2
fully qualified name = footprints.net
host_find_bydns yield = HOST_FOUND (2); returned hosts:
mail.footprints.net 204.239.179.1 10 1046
queued for remote_smtp transport: local_part=jproudfo domain=footprints.net
routed by lookuphost router:
deliver to jproudfo@???
transport: remote_smtp
host mail.footprints.net [204.239.179.1] MX=10
search_tidyup called
>>>>>> Local deliveries >>>>>>

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

remote_smtp transport entered
jproudfo@???
checking status of mail.footprints.net
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
dbfn_read: key=T:mail.footprints.net:204.239.179.1
no retry record
mail.footprints.net [204.239.179.1] status = usable
delivering 0zJ4nj-0003yA-00 to mail.footprints.net [204.239.179.1]
(jproudfo@???)
set_process_info: 15263 2.02 delivering 0zJ4nj-0003yA-00 to
mail.footprints.net [204.239.179.1] (jproudfo@???)
Connecting to mail.footprints.net [204.239.179.1] ... connected
SMTP response timeout = 300
SMTP<< 220 ashi.FootPrints.net ESMTP Exim 2.02 #1 Tue, 15 Sep 1998
16:46:28 -0700
SMTP>> EHLO swiss.direct.ca

SMTP response timeout = 300
SMTP<< 250-ashi.FootPrints.net Hello swiss.direct.ca [199.60.229.2]
250-SIZE
250-EXPN
250-PIPELINING
250 HELP
use_size=1
SMTP>> MAIL FROM:<root@???> SIZE=1370

SMTP response timeout = 300
SMTP<< 250 <root@???> is syntactically correct
SMTP>> RCPT TO:<jproudfo@???>

SMTP response timeout = 300
SMTP<< 250 <jproudfo@???> is syntactically correct
SMTP>> DATA

SMTP response timeout = 300
SMTP<< 354 Enter message, ending with "." on a line by itself
SMTP>> writing message and terminating "."

writing data block size=350 timeout=300
SMTP response timeout = 600
SMTP<< 250 OK id=0zJ4nk-0007Kw-00
ok=1 send_quit=1 send_rset=0 continue_more=0 yield=0 first_address=0
transport_check_waiting entered
sequence=1 local_max=0 global_max=-1
locked /var/spool/exim/db/wait-remote_smtp.lockfile
opened DB file /var/spool/exim/db/wait-remote_smtp: flags=102
dbfn_read: key=mail.footprints.net
no messages waiting for mail.footprints.net
SMTP>> QUIT

set_process_info: 15263 2.02 delivering 0zJ4nj-0003yA-00: just tried
mail.footprints.net [204.239.179.1] for jproudfo@???: result OK
Leaving remote_smtp transport
set_process_info: 15263 2.02 delivering 0zJ4nj-0003yA-00 (just run remote_smtp
for jproudfo@???)
post-process jproudfo@???
jproudfo@??? succeeded: adding to nonrecipients list
thisaddressdoesntexist@???: children all complete
LOG: 0 MAIN
=> jproudfo@??? <thisaddressdoesntexist@???>
D=virtual_users R=lookuphost T=remote_smtp H=mail.footprints.net
[204.239.179.1]
set_process_info: 15263 2.02 tidying up after delivering 0zJ4nj-0003yA-00
Processing retry items
Succeeded addresses:
jproudfo@???: no retry items
thisaddressdoesntexist@???: no retry items
thisaddressdoesntexist@???: no retry items
Failed addresses:
Deferred addresses:
end of retry processing
LOG: 0 MAIN
Completed
end delivery of 0zJ4nj-0003yA-00


Anyone have any ideas how to fix this? Is there a patch or fix or something?
At the moment seperating out the domains is kinda out of the question. :) Any
help would be greatly appreicated.

Regards,

Jared Proudfoot



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