Lyris User's Guide
[previous] [next] [contents]
Use two TCP/IP addresses
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
Use two TCP/IP addresses
Sendmail forwards to Lyris
Lyris forwards to Sendmail
Disable Sendmail
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

Use two TCP/IP addresses

In this scenario, your machine uses two TCP/IP addresses, and has two machine names. Sendmail will run on one TCP/IP address, and receive mail there. Lyris will run on the other TCP/IP address, and receive mail there. Each TCP/IP address should resolve to a different DNS host name, so that people can send email to either address by using the appropriate host name.

The advantage of this approach is that it is very straightforward to set up, and does not cause any dependency between sendmail and Lyris. Thus, it is also very reliable.

For example, if your machine is named "" and has the TCP/IP address "", you might also assign your machine the TCP/IP address "" which resolves to "". Sendmail would be told to use the "apollo" address, and Lyris could use the "juno" address. To the outside world, it will appear that your network has two machines, "apollo" and "juno", when actually they are one machine, with two TCP/IP addresses.

The first step in implementing this method is to obtain, from your network administrator, a second TCP/IP address, and to make sure that a separate host name is assigned in the DNS for it.

Adding a TCP/IP address on Solaris

Once this is done, you can add this TCP/IP address to your Solaris system with a command such as this:

    ifconfig le0:1 up

in this example, the Ethernet adapter "le0" has been assigned a second address (with the ":1") of "", and is now up. You might want to add this command to a startup file, such as /etc/rc2.d/S72inetsvc so that this command executes automatically at system startup.

Adding a TCP/IP address on Irix

As of Irix 6.2, you can add a TCP/IP address using the "alias" option of the "ifconfig" command. The "man ifconfig" documentation page explains it this way:

    ifconfig interface alias addr

    Establish an additional network address for this interface. This can be useful in permitting a single physical interface to accept packets addressed to several different addresses such as when you are changing network numbers and you wish to accept packets addressed to the old interface. Another case is when you'd like to have multiple addresses assigned to a single network interface. The broadcast and netmask options can also be used in conjunction with the alias option. When using aliases you may have to change the configuration of routed, especially if aliases are on different networks than the primary address. Aliases are added as host entries in the routing tables for routed. See routed(1M) for more information on this.

Adding a TCP/IP address on Digital Unix

Digital Unix supports multiple TCP/IP addresses using the "alias" option of the "ifconfig" command. Consult the documentation page for "man ifconfig" for more information.

After you have added a TCP/IP address

The next step is to configure sendmail to use only one TCP/IP address. If you do not do this, sendmail will automatically use all the TCP/IP addresses on your machine, and none will be available for Lyris.

To restrict sendmail to one TCP/IP address, add the following line to your /etc/mail/ file:


substituting your 1st TCP/IP address for This sendmail option is explained in the "Options" chapter of the O'Reilly sendmail book.

You will now need to restart sendmail. Be sure to telnet to port 25 on each TCP/IP address to ensure that sendmail is using the correct TCP/IP address.

    apollo# telnet 25
    Connected to
    Escape character is '^]'.
    220 ESMTP Sendmail 8.8.5/8.8.5; Mon, 16 Jun 1997

    apollo# telnet 25
    telnet: Unable to connect to remote host: Connection refused

You should now go ahead and install Lyris. Once Lyris is installed, you will need to tell Lyris to use the 2nd TCP/IP address. The installation program will give this option, or you can do this with the "tcpip" command line parameter. For example:

    lyris tcpip

The "" is added so that you can connect to Lyris from your own machine. By default, the Lyris Web Interface uses to connect to the Lyris server. If you do not specify as a TCP/IP address you will need to edit your "lyris.plc" config file to point to the address.

You are now ready to use Lyris! You can start Lyris in the foreground with the command "lyris start" or in the background with "lyris -bd". The first time, we recommend that you run Lyris in the foreground, so that any error messages are immediately displayed. If you would like complete debugging information, add the "debug" parameter when you run Lyris, as in: "lyris start debug"

Other pages which link to this page:
  • Having Sendmail coexist with Lyris
  • Having MetaInfo sendmail coexist with Lyris
  • Page 470 of 556