Lyris User's Guide
[previous] [next] [contents]
Having Microsoft Exchange Coexist With Lyris
Table of Contents
Introduction
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
Troubleshooting
Appendix
Frequently Asked Questions

Having Microsoft Exchange Coexist With Lyris

The way to have Microsoft Exchange coexist with Lyris is to have Microsoft Exchange listen to another port besides port 25 (the SMTP mail default port), let Lyris listen on port 25, then tell Lyris to forward non-Lyris mail on to Microsoft Exchange.

Here are the steps to have Microsoft Exchange and Lyris coexist:

1) Install Lyris, then make sure that Lyris is not currently running.

2) Create an 'A' record in your DNS, which is an alternate name for the current machine. The mail that should be accepted by Lyris will be sent to this address. All mail delivered to Lyris which does not have this name will be forwarded by Lyris on to Microsoft Exchange.

For example, if your machine is currently called "mail" in your DNS, add an other entry below it that has the same data, but with a new name, as in:

    mail IN A 207.105.6.2 ; the original host name
    lyris IN A 207.105.6.2 ; the new "alias" host name

After this change, restart your DNS server.

2) With a text editor (such as notepad.exe) edit the file: C:\Winnt\system32\drivers\etc\services -- locate the line which says:

    smtp 25/tcp mail

and change it to say:

    smtp 26/tcp mail

now save this file.

3) Restart Microsoft Exchange.

4) Start your Lyris server in the foreground, by clicking the "Run Lyris Server Now" icon.

5) Go to the Lyris web interface with your web browser. Log in as a server administrator, and go to the "server config" page.

On the server config web page, find the field that says "forward mail:". Type this in the forward mail field:

    127.0.0.1 26

This instructs Lyris to forward non-Lyris mail to port 26, where Microsoft Exchange is listening.

Now, find the field named "Mail Receive Rules". Type the name (or names) of the host names that Lyris should accept mail for. Any mail that comes in for Lyris which is not addressed to these hosts will automatically be forwarded to Microsoft Exchange.

For example, if your machine was called "mail.mycorp.com" and you made an alias for it (in step 2) called "lyris.mycorp.com", then in the "Lyris host names" field enter this data:

    @lyris.mycorp.com

If you have multiple names for your Lyris server, which Lyris should answer, enter each of them here, separated by a carriage return. This means that all mail addressed to "@lyris.mycorp.com" will be accepted and processed by Lyris, and any mail not addressed to "@lyris.mycorp.com" will be forwarded to Microsoft Exchange.

6) Type "shutdown" on your Lyris server console. Wait for Lyris to shutdown, then start it again, by clicking the "Run Lyris Server Now" icon.

7) Start your mail program, and send mail to lyris@ your Lyris host name. For example, if your Lyris alias is "lyris.mycorp.com", send mail to "lyris@lyris.mycorp.com". A minute or two after sending your message, Lyris should have sent you a response back. Now, send a test message to a user on your Microsoft Exchange Server to make sure that is working.

You are done!

For more information, see SMTP Port and Mail Receive Rules.

Other pages which link to this page:
  • Mail Server Coexistence
  • Page 480 of 556