Having NTMail Coexist with Lyris List Manager
The way to have NTMail coexist with Lyris List Manager is to have NTMail listen to another port besides port 25 (the SMTP mail default port). Let Lyris List Manager listen on port 25,
then tell it to forward non-Lyris mail on to NTMail.
Here are the steps to have NTMail and Lyris List Manager coexist:
1) Install Lyris List Manager and then make sure that it 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 List Manager will be sent to this address. All mail delivered to
Lyris List Manager which does not have this name will be forwarded on to NTMail.
For example, if your machine is currently called "mail" in your DNS, add another 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) Use the registry editor (regedt32.exe) to move NTMail port 26. The key you want to change is located at:
HKEY_LOCAL_MACHINE\Software\InternetShopper\Mail\Parameters\PortSMTPReceive
Change this value from "25" to "26"
The NTMail reference manual documents this option as:
This parameter defines which port the SMTP server will listen to when accepting email. The Internet Standard is to use port 25, but you may wish to run another mail server on the
same machine and have it direct mail to NTMail at this new port.
3) Restart NTMail.
4) Start your Lyris List Manager server in the foreground, by clicking the "Run Lyris LM Now" icon.
5) Go to the 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:
This instructs Lyris List Manager to forward non-Lyris mail to port 26, where NTMail is listening.
Now, find the field named "Mail Receive Rules". Type the name (or names) of the host names that Lyris List Manager should accept mail for. Any mail that comes in for Lyris List Manager, which is
not addressed, to these hosts will automatically be forwarded to NTMail.
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 "Mail Receive Rules" field enter this data:
If you have multiple names for your Lyris List Manager server, which Lyris List Manager 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 List Manager, and any mail not addressed to "@lyris.mycorp.com" will be forwarded to NTMail.
6) Type "shutdown" on your Lyris List Manager server console. Wait for Lyris List Manager to shutdown, then start it again, by clicking the "Run Lyris LM Now" icon.
7) Start your mail program and send mail to lyris@ your host name. For example, if your Lyris List Manager alias is "lyris.mycorp.com", send mail to "lyris@lyris.mycorp.com". A minute or two after
sending your message, Lyris List Manager should have sent you a response back. Now, send a test message to a user on your NTMail Server to make sure that is working.
You are done!
For more information, see SMTP Port and Mail Receive Rules.
|