Re: [Exim] problem in system_aliases_router in 4.03

Etusivu
Poista viesti
Vastaa
Lähettäjä: Don Hayward
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] problem in system_aliases_router in 4.03
On Thu, 18 Apr 2002, Philip Hazel wrote:
>
> What are uid=102 and gid=12 on your system?
>
> Please can you run a failing delivery with debugging turned on, and send
> me the stderr output. Actually, since this is a routing problem, we
> don't need a delivery, just a routing test:
>
> exim -d -bt xxxx@yyyy 2>/some/file
>
> A copy of your system_aliases router would be helpful too.
>

The routing only trial ran cleanly. So I set up a delivery. The output is
below with the other requested information. I noticed from the output the
daemon was running gid = 6 ('mail' on this system) rather than 12 (daemon)
which is the group of user exim. I also noticed in my system_aliases
router group is set to daemon. I commented that out and the include
worked. So things seem ok now. But still puzzling.


Here's the stuff:

system_aliases:
  driver = redirect
  allow_defer
  allow_fail
  data = ${lookup{$local_part}lsearch{/etc/aliases}}
  file_transport = address_file
  group = daemon              (after commenting this out things worked)
  pipe_transport = address_pipe
  retry_use_local_part
  user = exim


uid 102 = exim
gid 12 = daemon

(--- debug output -- startup ---)

Exim version 4.03 uid=0 gid=1 pid=246 L=834cd8 D=fff7577f
probably ndbm
changed uid/gid: forcing real = effective
uid=0 gid=1
auxiliary group list: <none>
Starting Perl interpreter
trusted user
admin user
originator: uid=0 gid=1 login=root name=Super-User
listening on all interfaces (IPv4) port 25
pid written to /usr/local/exim/lock/exim.pid
changed uid/gid: running the daemon
uid=102 gid=6
auxiliary group list: <none>
LOG: MAIN
exim 4.03 daemon started: pid=246, no queue runs, listening for SMTP on port 25 (IPv4)
set_process_info: 246 daemon: no queue runs, listening for SMTP
daemon running with uid=102 gid=6 euid=102 egid=6
Listening...

(-- routing the include alias --)

routing testlist@???
--------> lookuphost router <--------
local_part=testlist domain=mote.org
checking domains
mote.org in "@ : mote.org : seatrek.org : marinelab.sarasota.fl.us : motemarine.org : sea-trek.org : shark-research.org : shark-center.org : living-seas.org : dolphinwhalehospital.org"? yes (matched "mote.org")
mote.org in "! +local_domains"? no (matched "! +local_domains")
cached lookup data = NULL
lookuphost router skipped: domains mismatch
--------> system_aliases router <--------
local_part=testlist domain=mote.org
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
key="testlist" partial=-1
LRU list:
8/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="testlist"
file lookup required for testlist
in /etc/aliases
lookup yielded: :include:/usr/local/exim/lists/testlist
expanded: :include:/usr/local/exim/lists/testlist
LOG: MAIN PANIC DIE
unable to set gid=12 or uid=102 (euid=102): system_aliases router
SMTP>> 421 Unexpected failure, please try later

tls_do_write(16bf20, 42)
SSL_write(SSL, 16bf20, 42)
outbytes=42 error=0
Calling SSL_read(17efc8, 2fde40, 4096)
SMTP<< RSET
SMTP>> 250 Reset OK

tls_do_write(16bf20, 14)
SSL_write(SSL, 16bf20, 14)
outbytes=14 error=0
Calling SSL_read(17efc8, 2fde40, 4096)
SMTP<< QUIT
search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=255 terminating with rc=1 >>>>>>>>>>>>>>>>>>

LOG: MAIN PANIC
internal problem in system_aliases router: failure to transfer data from subprocess
system_aliases router: defer for testlist@???
message: internal problem in system_aliases router: failure to transfer data from subprocess
----------- end verify ------------
deny: condition test deferred
SMTP>> 451 Temporary local problem - please try later

tls_do_write(16bf20, 48)
SSL_write(SSL, 16bf20, 48)
outbytes=48 error=0
LOG: MAIN REJECT
H=loligo.mote.org [216.142.140.234] (don) F=<don@???> temporarily rejected RCPT <testlist@???>: internal problem in system_aliases router: failure to transfer data from subprocess
Calling SSL_read(17efc8, 2fde40, 4096)
SSL info: SSL negotiation finished successfully
Got SSL error 1
SMTP>> 421 orcinus.mote.org lost input connection

tls_do_write(16bf20, 44)
SSL_write(SSL, 16bf20, 44)
outbytes=-1 error=1
LOG: MAIN
TLS error (SSL_write): error:1408F071:SSL routines:SSL3_GET_RECORD:bad mac decode
LOG: lost_incoming_connection MAIN
unexpected disconnection while reading SMTP command from loligo.mote.org [216.142.140.234]
search_tidyup called
child 254 ended: status=0x100
0 SMTP accept processes now running
Listening...


Don Hayward            don@???
Mote Marine Laboratory        Voice: 941.388.4441  Cell: 941.302.4982
1600 Ken Thompson Parkway    Fax: 941.388.4312
Sarasota, FL 34236        See: http://www.mote.org
Independent, non-profit, marine and estuarine research and education facility.
For PGP public key do: http://www.mote.org/~don/donpgp.asc
use "DISCLAIMER"; # We run Linux,Apache/mod_perl/mod_ssl/eperl,Mysql,DBI/DBD
Taxes feed the starving and clothe the naked.