Re: [Exim] Xinetd Configuration

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Nigel Metheringham
Data:  
Para: Alastair Hardwick
CC: 'exim-users@exim.org'
Assunto: Re: [Exim] Xinetd Configuration
alastair@??? said:
> Do I need to add an entry into the /etc/xinetd.d directory for exim?
> If so, how does the entry look like? Because xinetd looks scarier than
> original and much more friendly inetd.conf


You generally do not run exim off (x)inetd - doing so loses some of the
load and access controls that you can do within exim itself. However
you can do this for a box that has few incoming mails.

If you are not running from xinetd, then make sure there is no enabled
entry for the smtp service (make sure that any services for smtp are
marked disabled, or delete the file).

If you do run from xinetd then the entry would look seomthing like

service smtp
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        only_from       = 0.0.0.0/0
        server          = /usr/sbin/exim
        server_args     = -bs
}


however this is for an older xinetd than RH ship (yes I have even
contributed patches for xinetd in past times :-)). The RH one AFAIK
splits each service entry into a a file within /etc/xinetd.conf, and
may drop the "service ..." line and brackets - look at some others for
hints.

xinetd is more verbose to config than inetd, but is *much* more
flexible - its really worth looking at (and with RH7 you suddenly don't
have the choice :-) ). Once you understand how the config phrases go
together its much clearer than inetd as well.

    Nigel.



-- 
[ Nigel Metheringham           Nigel.Metheringham@??? ]
[ Phone: +44 1423 850000                         Fax +44 1423 858866 ]
[ - Comments in this message are my own and not ITO opinion/policy - ]