Re: [Exim] TCP service "smtp" not found

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Gerrit P. Haase
Dátum:  
Címzett: Jerry Jorgenson
CC: Exim-users
Tárgy: Re: [Exim] TCP service "smtp" not found
Hallo Jerry,

Am 2001-11-24 um 14:30 schriebst du:

> Hi Gerrit,


> /etc/services is another one of those files that hates spaces. Be sure you have:
> smtp<tab>25/tcp<tab>mail<tab># comment
> and not
> smtp<spaces>25/tcp<spaces>mail<spaces># comment


> Spaces after the # are ok.


Hmm, make no difference (unfortunately).
If I start Exim as daemon (I don't use inetd, want only send not recieve mail),
I'm getting this error (which is from another line in the source code):

$ exim -bd -d2
Exim version 3.33 debug level 2 uid=1040 gid=1041
Berkeley DB: Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000)
Caller is an admin user
Caller is a trusted user
LOG: 0 PANIC DIE
cannot find smtp/tcp service

If I start it with -oX 25 then it doesn't look up the port for smtp at first,
but later, when there is a message to send (it looks again (after fork)):
Why is the port for smtp looked up twice?
Maybe it changes itself on the fly?

$ exim -bd -d2 -oX 25
Exim version 3.33 debug level 2 uid=1040 gid=1041
Berkeley DB: Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000)
Caller is an admin user
Caller is a trusted user
pid written to /var/run/exim.25.pid-bd
LOG: 0 MAIN
exim 3.33 daemon started: pid=441, no queue runs, listening for SMTP on port 25
set_process_info: 441 daemon: no queue runs, port 25
daemon running with uid=1040 gid=1041 euid=1040 egid=1041
listening on port 25...
Connection request from 192.168.1.1/48903
1 SMTP accept process running
listening on port 25...
host in rfc1413_hosts? yes (*)
Process 472 is handling incoming connection from [192.168.1.1]
host in host_lookup? yes (*)
looking up host name for 192.168.1.1
IP address lookup yielded haase.dynu.com
[192.168.1.1]fo: 472 handling incoming connection from haase.dynu.com
host in host_reject? no (option unset)
host in host_reject_recipients? no (option unset)
host in tls_hosts? no (option unset)
host in sender_unqualified_hosts? no (option unset)
host in receiver_unqualified_hosts? no (option unset)
host in helo_verify? no (option unset)
host in helo_accept_junk_hosts? no (option unset)
[192.168.1.1]fo: 472 handling incoming connection from haase.dynu.com
ready for new message
smtp_setup_msg entered
(LORELEY) [192.168.1.1]handling incoming connection from haase.dynu.com
host in tls_advertise_hosts? no (option unset)
gp@??? in sender_reject? no (option unset)
gp@??? in sender_reject_recipients? no (option unset)
host in host_accept_relay? yes (192.168.1.0/24)
host in ignore_fromline_hosts? no (option unset)
Size of headers = 602
LOG: 0 MAIN
(LORELEY) [192.168.1.1] P=esmtp S=703 id=72109477079.20011124170647@???
Sender: gp@???
Recipients:
gerrit@???
forked delivery process 410
(LORELEY) [192.168.1.1]handling incoming connection from haase.dynu.com
ready for new message
smtp_setup_msg entered
child 472 ended: status=0x0
0 SMTP accept processes now running
listening on port 25...
Exim version 3.33 debug level 2 uid=1040 gid=1041
Berkeley DB: Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000)
Caller is an admin user
Caller is a trusted user
set_process_info: 410 delivering specified messages
delivering message 167fKp-00007c-00
set_process_info: 410 delivering 167fKp-00007c-00
lookuphost router called for gerrit@???
dns lookup: route_domain = gmx.at
host in ? no (end of list)
host in ? no (end of list)
queued for remote_smtp transport: local_part=gerrit domain=gmx.at
errors_to=NULL
domain_data=NULL local_part_data=NULL
routed by lookuphost router:
deliver to gerrit@???
transport: remote_smtp
host mx0.gmx.net [213.165.64.100] MX=10
host mx0.gmx.de [213.165.64.100] MX=10
>>>>>> Remote deliveries >>>>>>

remote_smtp transport entered
LOG: 0 PANIC DIE
TCP service "smtp" not found

> Be sure there isn't any leading whitspace either.


I am sure now.

P.S.: Is it usual in this list to answer private and to 'not CC'
to the list?

Ciao,

Gerrit P. Haase                            mailto:gp@familiehaase.de
-- 
=^..^=