
lists222 at m
May 28, 2012, 5:21 AM
Post #3 of 4
(782 views)
Permalink
|
|
Re: Question about binding tcpserver to several IP addresses
[In reply to]
|
|
On Mon, May 28, 2012 at 10:29:50AM +0200, "Iv??n L. Morales" wrote: > El 28/05/2012 10:20, Todor Petkov escribi??: > > Hello, > > > > is there a way to bind tcpserver to several IP addresses at once? For > > example, I have IP{1-3}. I would like to use one configuration for > > IP{1-2} (served via /service/qmail-smtpd1), and another one for the > > last IP address (/service/qmail-smtpd2). I have searched Google for > > any patches, but I can not find anything. > > > > > > Thanks in advance, > > > > you should create sepparate tcpserver instances by "cloning" the run > scripts ( /services/qmail-smtp/run ) and changing the listening port > within these scripts. > I agree. I suggest you create /service/qmail-smtpd{1,2,3} and in the run scripts set tcpserver to listen on a different IP in the pool and perform their different functions (IP{1,2} v IP{3})
|