Having Qmail Coexist with ListManager
Qmail is capable of peacefully coexisting with ListManager on the same machine without any problems. The following instructions explain how to set this up. The process involves making a second name for your computer, moving ListManager to another TCP/IP port, and telling Qmail to forward mail sent to that second name on to ListManager.
Here are the steps:
1) Create an alias (a secondary name) for your computer by adding an additional "A record" to your DNS entries. For example, if your machine is named "qmail.yourcompany.com", copy the "A" record entry for that host, make a copy, and change the name in the copy. Your DNS entry would look like this:
qmail IN A 207.105.6.2 ; the original host name
lm IN A 207.105.6.2 ; the new "alias" host name
2) After installing ListManager, tell it what port you want it to use. In this example, we are using port 26. To do this, open up a command window, change to the ListManager directory and type:
lm smtpport 26
3) Append the following line to the /var/qmail/control/smtproutes -- changing "lm.yourcompany.com" to be whatever the alias was you defined in your DNS entry above. For example:
lm yourcompany.com:[127.0.0.1]:26
4) Now, start up your ListManager.
5) You're ready to go. When you create your "sites" be sure to use the new hostname in the "hostname" entry. In this example, this is "lm.yourcompany.com".