Re: [Exim] How come exim is not loaded on the smtp port via …

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Andreas J Mueller
Datum:  
To: Wei Wang
Betreff: Re: [Exim] How come exim is not loaded on the smtp port via xinetd?
Hi Wei!

> But after I restarted xinetd with "service xinetd restart", the process
> running on smtp becomes xinetd rather
> than exim:


> netstat -tlp |grep smtp
> tcp        0      0 *:smtp                  *:*                     LISTEN
> 17996/xinetd


That's the way (x)inetd is supposed to work: It listens to the ports
it provides service for. Then, when a connection comes in, it loads
the specified server and passes it the socket connection. Nothing to
worry about.

If you'd rather have Exim listening on the smtp port, you will have to
invoke it in daemon mode, using the -bd command line option.

> Also I thought the "*:smtp" part should read something like "localhost:smtp
> *:*" instead.


That, too, depends on how xinetd is configured. There should be an
option to have it bind only to the loopback interface. But I'm not an
xinetd expert. When you are running Exim in daemon mode (-bd), the
interfaces it binds to can be specified by local_interfaces in the
configuration file or via the -oX command line option.

Regards, Andy

--
Andreas J. Mueller                            email: <andy@???>