Having Qmail Coexist with Lyris List Manager
Qmail is capable of peacefully coexisting with Lyris List Manager 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 List Manager to another TCP/IP port, and telling Qmail to forward mail sent to that second name on to Lyris List Manager.
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 "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 lyris IN A 207.105.6.2 ; the new "alias" host name
2) After installing Lyris List Manager, 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 Lyris List
Manager directory and type:
3) Append the following line to the /var/qmail/control/smtproutes -- changing "lyris.yourcompany.com" to be whatever the alias was you defined in your DNS entry above. For example:
lyris.yourcompany.com:[127.0.0.1]:26
4) Now, start up your Lyris List Manager.
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 "lyris.yourcompany.com".
Another way for Qmail and Lyris List Manager to Coexist
Another way to have Lyris List Manager coexist with Qmail is to give Lyris List Manager 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 207.105.6.2" to inform Lyris List Manager to only listen to the TCP/IP address "207.105.6.2", substituting your new TCP/IP address instead of 207.105.6.2. See
Multiple TCP/IP addresses for more information.
* Edit the file named "lyris.plc". If you have configured your Lyris List Manager installation to use your web server, the "lyris.plc" file will be in the CGI-BIN directory (or SCRIPTS directory, if
you are using IIS). If you are using the Apache web server installed with Lyris List Manager, this file will be found in the lib directory under Apache. Find the line in "lyris.plc" which says
"server_ip_address=127.0.0.1". Change the 127.0.0.1 to the TCP/IP address you just assigned for Lyris List Manager. See TCP/IP Port of Lyris List Manager 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.
|