Dumb mistake.. I only added a the IP to the 2nd instance of pop3d,
forgetting the first.. which was still set to bind to all ip's (ie the 0
was still there).  Put the hostname on both tcpserver lines and its in
there!

Thanks for all the help....you're on the christmas card list!

Paul D. Farber II
Farber Technology
Ph. 570-628-5303
Fax 570-628-5545
[EMAIL PROTECTED]

On Tue, 3 Aug 1999, Petr Novotny wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > Still trying to get tcpserver to run two qmail-pop3d's on one machine. The
> > host name is mail.f-tech.net and I have an eth0 (207.44.65.16) and eth0:0
> > (vmail.f-tech.net 207.44.65.14).  .16 is a "real" domain, .14 is for
> > vchkpw and virtual domains. 
> > 
> > No matter what I do it seems that supervise(?) is trying
> > to start two copies of tcpserver.  The first one binds, but the 2nd one
> > just errors out saying port in use.
> > 
> > If I ps ax I can see the first one on the same PID, but the second one
> > respawning and erroring out.
> > 
> > Below is a printout of what get's called to start the process:
> > 
> > Starting qmail-pop3d...    
> > supervise /var/lock/qmail-pop3d.vmail
> > tcpserver  -c100 -u0 -g0 0 pop-3 qmail-popup 207.44.65.14
> 
> This is your error! Ever wondered what that 0 between -g0 and pop3 
> means? It is IP address to bind to! If it's zero, you're basically 
> saying "bind to all IP addresses".
> 
> What you want is replace that zero with the IP address 
> (207.44.65.14 or 16 in the second invocation) to bind to.
> 
> > /home/vpopmail/bin/vchkpw qmail-pop3d Maildir &
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.0.2 -- QDPGP 2.60 
> Comment: http://community.wow.net/grt/qdpgp.html
> 
> iQA/AwUBN6cKiVMwP8g7qbw/EQI/2wCgq6YWI4e9xDOwQseZ8+N+4yuzWp8Aniri
> uKfiKY94ImXyDCegV9o2drda
> =VPi1
> -----END PGP SIGNATURE-----
> --
> Petr Novotny, ANTEK CS
> [EMAIL PROTECTED]
> http://www.antek.cz
> PGP key ID: 0x3BA9BC3F
> -- Don't you know there ain't no devil there's just God when he's drunk.
>                                                              [Tom Waits]
> 

Reply via email to