vice eth0:x a vice sendmailu jak na to ?

Radek Kanovsky radekk na uh.cz
Čtvrtek Červenec 8 23:36:02 CEST 1999


On 7 Jul 1999 tlustej na slimak.cz wrote:

> 
> ahoj,
> mam eth0:1    IP: 192.168.255.1
>     eth0:2    IP: 192.168.255.2
> 
> a nevim jak pustit 2 sendmaily, aby kazdej "visel" na jine IP adrese.
> 
> netusite nekdo jak na to ?

Pokud neni nutno spoustet sendmail jako demona, tak xinetd
by to s nasledujici konfiguraci mohl zvladnout:

service smtp
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        interface       = 192.168.255.1
        server          = /usr/sbin/sendmail
}

service abcxyz
{
        type            = UNLISTED
        port            = 21
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        interface       = 192.168.255.2
        server          = /usr/local/sbin/sendmail
}

Radek Kanovsky, rk na uh.cz



Další informace o konferenci Linux