SQmaiL
|
Downloading & InstallingNew installationsInstalling on DebianThe recommended installation method is to use the debian package. This will install SQmaiL and the support packages: dpkg -i sqmail_*.deb apt-get -f install The package itself is available from the Downloads page. I'm afraid the only packaging system supported so far is Debian. If any Red Hat users are reading and are interested in doing a set of control files for RPMs, please get in touch --- as I don't do Red Hat, I can't do any of this myself. Installing on anything elseIf you don't do Debian you'll have to install it manually. This is currently a pain. The first thing you need to do is to install the support software:
You'll also, of course, need a MySQL server. This can run locally or remotely, SQmaiL will still work. Install this according to the documentation and create a user for yourself. Remember to set the permissions so that SQmaiL can access the database! Now you're ready to install the SQmaiL package. Go to the Downloads page; you want the SQmaiL archive with the highest version number. Decompress this in a directory somewhere. Currently, SQmaiL doesn't install into your file system; I'm working on this. You'll have to run it from the directory you decompress it in to; the main executable is the SQmaiL file. (Use thise wherever sqmail is referenced below.) Initial configurationBefore SQmaiL can run, you'll need to create a database for it to use. I'm assuming you've already created a user. This can be done with: sqmail create-database This is a simple command-line program that creates a new database. You'll
need to give it your MySQL administrator password. (You did remember to set
one, didn't you? Didn't you?). Follow the instructions.
Warning: (The root password is not stored anywhere, and is only used for the initial database creation. All other interactions with the MySQL server, including running SQmaiL proper, is done while logged in as the user.) Now you can start up SQmaiL proper by doing: sqmail gui The first time you run it, it will ask you for details on how to contact the database server on the console. These are stored in a hidden file in your home directory. All other settings are stored in the database itself. UpgradesInstall the new source in the normal way. You should then do:sqmail upgrade...to upgrade your database from the old format to the new one (if necessary). If you don't do this, some very strange things may happen (including loss of data). This is important. |
© 2000 under the GPL. Primary author currently David Given.