Note: For examples on using xinetd (as this file explains inetd), please see the User Guide at http://www.prongs.org/virtfs/docs or 
within the docs/ subdirectory.

Here is a general explanation on how to set up important/common services for
your virtual domains.

First of all, unless you specify if you want a specific service switched "on"
for a specific domain, it will not run.
To switch "on" a service, simply do so via virtadmin.
It is better this way, because it is possible to configure test.com without
FTP service but test2.com with FTP service.

The key to all services is in the /etc/inetd.conf . Each time a service is
requested from your server, this file is read  and executes what is specified
for the particular service.

I am presuming that the virtuald resides in the /usr/local/bin .

I am typing this from a Red Hat 6.1 system, so your entries may differ
slightly, if at all.

FTP Service
===========

ftp     stream  tcp     nowait  root    /usr/local/bin/virtuald virtuald /virtual/conf.ftp wu.ftpd -l -a

POP Mail
========

pop-3 stream tcp nowait root /usr/local/bin/virtuald virtuald /virtual/conf.pop ipop3d

SMTP Mail
=========

smtp stream tcp nowait root /usr/local/bin/virtuald virtuald /virtual/conf.pop sendmail -bs

IMAP Mail
=========

imap    stream  tcp     nowait  root    /usr/local/bin/virtuald virtuald /virtual/conf.pop imapd

Apache
======

Virtual Servers. Please read Apache documentation at http://www.apache.org

Other Services
=============

Follow the same guidelines as I have shown with the FTP and Mail setups.
Change your inetd.conf file to point to both virtuald and a configuration 
file for the service, such as conf.samba .


-------------------------------
Afra Ahmad <afra@prongs.org> 1999-2000




