![]() | ![]() |
|
VMailMgr HOWTOBruce Guenter <bruceg@em.ca>, Dan Kuykendall <dan@kuykendall.org>v1.1, 23 April 2000This document explains how to setup VMailMgr support pop3 virtual domain services in conjunction with Qmail.
1. Introduction
2. Installation
3. Setup
1. IntroductionVMailMgr (short for Virtual MAIL ManaGeR) is a package of programs designed to manage multiple domains of mail addresses and mailboxes on a single host. It co-operates with qmail for mail delivery and program control. 1.1 What is VMailMgr and why should I use it?VMailMgr is: A series of utilities for managing virtual domains which include a password checking interface for qmail which replaces the usual checkpassword, and an authentication module for Courier IMAP, that provide access to the virtual mailboxes by one of three methods:
You should use it if: You prefer to have each domain controlled by a seperate username, allowing the use of system quotas and better security 1.2 New versionsThe newest version of this can be found on my homepage http://www.clearrivertech.com/linux/HOWTO as SGML source, as HTML and as TEXT. Other versions may be found in different formats at the LDP homepage http://www.linuxdoc.org/. A copy can also be found on the VMailMgr homepage http://em.ca/~bruceg/vmailmgr/ in its HTML version as well as in the VMailMgr source package as both SGML source and as HTML. 1.3 CommentsComments on this HOWTO should be directed to the VMailMgr mailing list. To subscribe, send an email to vmailmgr@lists.em.ca. 1.4 HistoryThis document was started by Bruce Guenter and reworked by Dan Kuykendall. 1.5 Version HistoryOld Version
v1.0 (April 20, 2000)
v1.1 (April 23, 2000)
1.6 Copyrights and TrademarksCopyright (c) Dan Kuykendall. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation A copy of the license is available at GNU Free Documentation License. 1.7 Acknowledgements and ThanksThanks to Bruce Guenter for VMailMgr and the core of this HOWTO. Thanks to Mike Bell, who always seems to have the answers to my questions. Finally, thanks to all those on the vmailmgr@lists.em.ca mailing list who have helped me, or asked the same stuff so many times that I had to write this to stop the repeat questions. 2. Installationhttp://em.ca/~bruceg/vmailmgr/ to get the package.If you get the binary RPMS you will need at least the vmailmgr and vmailmgr-daemon packages. 2.2 Install with RPMSCompiling SRC.RPM'sSimply compile the src.rpm file with the ` rpm -ivh vmailmgr-0.96.6-1.src.rpm Installing RPM'sAfter compiling the source rpms, the binaries will be located
in ` Simply run the following command for each package rpm -ivh <location>/<package.i386.rpm>-Example- rpm -ivh /usr/src/redhat/RPMS/i386/vmailmgr-0.96.6-1.i386.rpm rpm -ivh /usr/src/redhat/RPMS/i386/VMailMgr-daemon-0.96.6-1.i386.rpm
2.3 Install with sourceIf you dont ue RPMS you can install from source. Run the following command (As non-root user) tar zxf <package.tar.gz> cd <newly created dir> ./configure make (As root) make install-Example- (As non-root user) tar zxf vmailmgr-0.96.6.tar.gz cd vmailmgr-0.96.6 ./configure make (As root) make install That should do it. 3. Setup3.1 Setting Up a Virtual DomainThe following steps are necessary to set up a virtual domain with vmailmgr
(assuming vmailmgr has been compiled and installed). As an example, we'll
set up a virtual user `
qmail-send ` to
make it read the new `virtualdomains ` table.
If you are using ` 3.2 Using one IP address for mutiple domainsLogging in as a virtual user?There are two ways to log in without using multiple IP addresses.
/var/qmail/control/virtualdomains ' contains
testdomain.org:testuserUser ` myuser ' exists, and has set up a virtual mailbox with the name `me '. The `separators ' variable in `/etc/vmailmgr/ ' contains
`@: '. This virtual user could log in as `me@mydomain.com ', `me:mydomain.cm ', or `myuser-me '.
3.3 Catch all misdirected mail?In the ` vaddalias me + 3.4 Setup VMailMgr IMAP support?VMailMgr supports Courier-IMAP, but Courier-IMAP does not auto detect VMailMgr. This means that some minor work is required for making the two work together.
|
![]() |