Lyris User's Guide
[previous] [next] [contents]
Having Qmail coexist with Lyris
Table of Contents
Lyris Email Commands
Web Interface for Users
Server Administrator
Site Administrator
List Administrator
Other Topics
Add-On Packages
Installing and Upgrading
Installing Lyris
Installing Lyris on Unix
Mail Server Coexistence
Having Sendmail coexist with Lyris
Having Post.Office coexist with Lyris
Having Qmail coexist with Lyris
Having MetaInfo sendmail coexist with Lyris
Having Netscape Mail Server coexist with Lyris
Having Notes / Domino Coexist with Lyris
Having NTMail Coexist with Lyris
Having Microsoft Exchange Coexist With Lyris
Having AltaVista Mail Coexist with Lyris
Upgrading to Lyris from Another List Server
Frequently Asked Questions

Having Qmail coexist with Lyris

Qmail is capable of peacefully coexisting with Lyris 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 Lyris to another TCP/IP port, and telling Qmail to forward mail sent to that second name on to Lyris.

Here are the steps:

1) Create up 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 "", 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 ; the original host name
    lyris IN A ; the new "alias" host name

2) After installing Lyris, tell Lyris 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 Lyris directory and type:

    lyris smtpport 26

3) Append the following line to the /var/qmail/control/smtproutes -- changing "" to be whatever the alias was you defined in your DNS entry above. For example:[]:26

4) Now, start up your Lyris server.

5) You're ready to go. When you create your Lyris "sites" be sure to use the new hostname in the "hostname" entry. In this example, this is "".

Another way for Qmail and Lyris to Coexist

Another way to have Lyris coexist with qmail is to give Lyris its own TCP/IP address on your system. Here are the steps to do this:

* assign your machine a new tcp/ip address. Different Unix systems have different ways of doing this.

* add a DNS 'A' record for this new TCP/IP address

* run the command "lyris tcpip" to inform Lyris to only listen to the TCP/IP address "", substituting your new TCP/IP address instead of See Multiple TCP/IP addresses for more information.

* edit the file named "lyris.plc" in your CGI-BIN directory. Find the line which says "server_ip_address=". Change the to the TCP/IP address you just assigned for Lyris. See TCP/IP Port of Lyris Server for more information.

* Tell Qmail not to listen to this new TCP/IP address. You must be running Qmail under "tcpserver" to do this. Consult your tcpserver documentation on how to do this.

Other pages which link to this page:
  • Installing Lyris on Unix
  • Making your Unix Mail Server and Lyris coexist
  • Mail Server Coexistence
  • Page 475 of 556