About this list Date view Thread view Subject view Author view Attachment view

From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Sat 02 Nov 2002 - 20:45:39 GMT


On Fri, 1 Nov 2002 11:25:17 -0500, Darryl Engle wrote
>
> Is there any reson I can't use linuxconf's v-mail inside
> a vserver? I'm having a little trouble with it. I have
> Vserver set up on a redhat 7.3 box. I created a
> vserver on it and got sendmail and linuxconf running
> within it which works fine. When I added the first of
> 8 v-mail domains was when things went bad. During the
> creation of the vserver I gave it 9 IPs, 1 for the
> main vserver and 8 for each v-mail domain, after I
> created the first one I tried to telnet to the smtp
> and pop3 port and I would get "connection refused", I
> could do this to the main vservers ip (so I think
> pop3\imap\smtp is working). When I run "netstat -a" it
> doesn't list the domain I have created like it does on
> my other v-mail servers. I have set up many boxes
> running v-mail and have never had much trouble but
> this one has me stumped.

The problem is with vserver and the way it deals for now with multiple IPs.

xinetd is doing a bind (0.0.0.0) on port pop-3, but this end up being assign
to the first IP of the vserver.

To solve this problem (again for now, I am working on the fix), you will need
to setup several pop-3 services in /etc/xinetd.d. One for each IP you are using.

I don't think xinetd can listen on several IP for every services.

You keep the first ipop3 file in /etc/xinetd.d. This will serve the first IP. Then you
add ipop3-1 like this

# default: off
# description: The POP3 service allows remote users to access their mail \
# using an POP3 client such as Netscape Communicator, mutt, \
# or fetchmail.
service ipop3-1 {
        type = UNLISTED
        port = 110
        protocol = tcp
        bind = SECOND-IP
        socket_type = stream
        wait = no
        user = root
        server = /usr/lib/linuxconf/lib/vpop3d
        server_args = /usr/sbin/ipop3d
        log_on_success +=
        log_on_failure += USERID
        disable = no
}

A little annoying, but a fix is coming. I am using this exact setup on dns.solucorp.qc.ca
btw.

---------------------------------------------------------
Jacques Gelinas <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 06 Nov 2002 - 07:03:43 GMT by hypermail 2.1.3