Please read up on your programs..

tcpserver opts host port prog

opts is a series of getopt-style options. host is one argument. port is one
argument. prog consists of one or more arguments.
tcpserver waits for connections from TCP clients. For each connection, it
runs prog, with descriptor 0 reading from the network and descriptor 1
writing to the network. It also sets up several environment variables.

The server's address is given by host and port. port may be a name from
/etc/services or a number; if it is 0, tcpserver will choose a free TCP
port. host may be 0, allowing connections to any local IP address; or a
dotted-decimal IP address, allowing connections only to that address; or a
host name, allowing connections to the first IP address for that host. Host
names are fed through qualification using dns_ip4_qualify.


----- Original Message -----
From: Vince Vielhaber <[EMAIL PROTECTED]>
To: Sean C Truman <[EMAIL PROTECTED]>
Cc: Steve Wolfe <[EMAIL PROTECTED]>; qmail list <[EMAIL PROTECTED]>
Sent: Wednesday, August 16, 2000 6:04 PM
Subject: Re: qmail and IP addresses.....


> On Wed, 16 Aug 2000, Sean C Truman wrote:
>
> > replace the
> > /usr/local/bin/tcpserver -v 0 smtp /var/qmail/bin/qmail-smtpd
> > with something like this
> > /usr/local/bin/tcpserver -v 199.111.111.111 smtp
/var/qmail/bin/qmail-smtpd
> > same with your pop3 startup file.
>
> That will only allow hosts with the address 199.111.111.111 to connect,
> not connections to that address.  To only allow connections to a
> particular address you'll have to play some games using TCPREMOTEHOST.
>
> Vince.
> --
> ==========================================================================
> Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
>  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
>         Online Campground Directory    http://www.camping-usa.com
>        Online Giftshop Superstore    http://www.cloudninegifts.com
> ==========================================================================
>
>

Reply via email to