Re: [Exim] Re: Delayed FreeBSD port for exim4

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Sheldon Hearn
Datum:  
To: Philip Hazel
CC: exim-users
Betreff: Re: [Exim] Re: Delayed FreeBSD port for exim4

On Wed, 19 Dec 2001 09:52:56 GMT, Philip Hazel wrote:

> The stock configure.default has this as line 42:
>
> domainlist local_domains = @
>
> Double check that you haven't lost that.


Dead sure. :-)

> Otherwise, maybe you have somehow provoked a bug. This *is* alpha code
> after all. A delivery with -d would be the next step.


Or maybe just a quirk of my particular platform (FreeBSD 5.0-CURRENT).

I've included a typescript of a debugging session and confirmation that
the local_domains domainlist is set correctly.

The debugging session doesn't show anything interesting. I was hoping
to see that Exim was having trouble resolving the local hostname, but
that doesn't seem to be a problem. :-(

Ciao,
Sheldon.

Script started on Wed Dec 19 14:42:27 2001
axl# cat foo
From: Sheldon Hearn <sheldonh@???>
To: sheldonh@???
Subject: Test message

This is a test message.

axl# exim -d -t < foo
Exim version 3.951 uid=0 gid=0 pid=54403 L=41a658 D=fff7577f
probably Berkeley DB version 1.8x (native mode)
changed uid/gid for forcing real = effective
uid=0 gid=0
auxiliary group list: 0
trusted user
admin user
changed uid/gid for removing setuid privilege (2)
uid=26 gid=6
auxiliary group list: 6
originator: uid=0 gid=0 login=root name=Charlie Root
sender address = root@???
set_process_info: 54403 accepting a local non-SMTP message from <root@???>
Sender: root@???
search_tidyup called
>>Headers received:

From: Sheldon Hearn <sheldonh@???>
To: sheldonh@???
Subject: Test message

rewrite_one_header: type=F:
From: Sheldon Hearn <sheldonh@???>
rewrite_one_header: type=T:
To: sheldonh@???
search_tidyup called
>>Headers after local additions:

P Received: from root by axl.seasidesoftware.co.za with local (Exim 3.951 #1)
    id 16Gg3Q-000E9T-00
    for sheldonh@???; Wed, 19 Dec 2001 14:42:36 +0200
F From: Sheldon Hearn <sheldonh@???>
T To: sheldonh@???
  Subject: Test message
I Message-Id: <E16Gg3Q-000E9T-00@???>
  Date: Wed, 19 Dec 2001 14:42:36 +0200


Data file written for message 16Gg3Q-000E9T-00
calling local_scan()
local_scan() returned 0 NULL
Writing spool header file
Size of headers = 348
LOG: 0 MAIN
<= root@??? U=root P=local S=374
search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=54403 terminating with rc=0 >>>>>>>>>>>>>>>>>>

axl# exec /usr/local/sbin/exim -d=0xfff7577f -Mc 16Gg3Q-000E9T-00
Exim version 3.951 uid=26 gid=6 pid=54404 L=41a658 D=fff7577f
probably Berkeley DB version 1.8x (native mode)
changed uid/gid for forcing real = effective
uid=0 gid=6
auxiliary group list: 6
trusted user
admin user
skipping ACL configuration - not needed
set_process_info: 54404 delivering specified messages
set_process_info: 54404 delivering 16Gg3Q-000E9T-00
reading spool file 16Gg3Q-000E9T-00-H
user=root uid=0 gid=0 sender=root@???
sender_local=1 ident=root
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=1 message_linecount=8
Delivery address list:
sheldonh@???
locked /var/spool/exim/db/retry.lockfile
opened hints database /var/spool/exim/db/retry: flags=0
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

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

routing sheldonh@???
--------> dnslookup router <--------
local_part=sheldonh domain=starjuice.net
checking domains
LOG: 0 MAIN PANIC DIE
unknown named list "+local_domains"
search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=54404 terminating with rc=1 >>>>>>>>>>>>>>>>>>


axl# grep local_domains /usr/local/etc/exim/configure
# +local_domains, +relay_to_domains, and +relay_from_hosts, respectively. They
domainlist local_domains = @
#   domainlist local_domains = my.first.domain : my.second.domain
  accept  domains       = +local_domains
  accept  domains       = +local_domains
  # If control reaches this point, the domain is neither in +local_domains
  domains = ! +local_domains
axl# exit


Script done on Wed Dec 19 14:43:21 2001