V Mail Server
Copyright 2001-02, Tristan Van de Vreede <Tristan_VdV@Users.Sourceforge.net>
Setting up V Mail Server
Help and Feedback
*Files in package
**SETTING UP V MAIL SERVER**
To get V Mail Server (VMS) running you need to:
-Compile the source
-Make a mail dump dir
-Configure it
-Setup the scripts
-Run it
-Run on startup
**COMPILE THE SOURCE**
To compile the source go into the VMS dir and type: make all
the programs will be compiled and placed in the bin/ dir and the example conf file will be placed in /etc/vms.conf
NOTE! If you are upgrading dont use make install, it will overwrite your /etc/vms.conf file.
instead use
make vmsd
make vsmtpsend
**MAKE A MAIL DUMP DIR**
You need to make a directory where all the incomming mail will be put. This is usually only until a script is run to move the mail to somewhere more useful.
simply choose where you want to store the mail and make the directory
mkdir /mail/
you will have to edit the config file to point to this dir (see the section below)
**CONFIGURE IT**
VMS looks at /etc/vms.conf for configuration. 'make all' will have made a sample /etc/vms.conf
You will need to use your favourite text editor to change the settings
**SETUP THE SCRIPTS**
When an email is received, a script/program can be triggered to handle the email. You should make your own or modify the
one in the scripts/ dir.
once you have made the script you will need to go back to the config file and point to the script you want to use.
**RUN IT**
to run the VMS daemon simply go into the bin/ dir and run vmsd use the syslog to see if it started without any errors
**RUN ON STARTUP**
if you want vms to run when you start the computer then copy the initscript to your /etc/rc.d/init.d/ dir (or which ever
dir it is on your linux distro).
You will need to change the PROGRAM variable in the script to point to where vmsd is located.
**HELP AND FEEDBACK**
PLEASE GIVE ME SOME FEEDBACK. Wether you can get VMS to work or not please tell me. I'd like to know how many people are using VMS and if it is easy to use or too hard. If you have any problems then I can help you out.
<tristan_vdv@users.sourceforge.net>
**FILES IN PACKAGE**
bin/ Holds the binaries vmsd The V Mail Server Deamon (the main program) vsmtpsend A program to forward mail onto another smtp server scripts/ Holds scripts to be run when an email is received src/ The source code initscript An initscript to start vms on startup Makefile To build the source license The license for this software changelog Changes that have been made to the software README This file
vms.conf.example Example configuration file that needs to be moved to /etc/vms.conf
