Having IMS/IIS Mail Coexist with ListManager
The way to have IMS coexist with ListManager is to have IMS listen to another port besides port 25 (the SMTP mail default port). Let ListManager listen on port 25, then tell it to forward mail on to IMS.
Here are the steps to have IMS and ListManager coexist:
Move IIS Mail to another port
Two different methods for doing this are available. Use whichever you prefer (some earlier versions of IIS do not support the first method).
* If using IIS v5, you will need to use the IIS management console. Run the "Internet Services Manager". In the left-hand pane, select "Internet Information Services / YOUR-SERVER-NAME/ Default SMTP Site". Right click on the SMTP server and select "Properties". On the "General" tab, make a selection from the "IP Address" drop-down list (choose the IP address you want to move to port 26, or choose "(All Unassigned)"), then click the "Advanced" button. From there, click the "Edit" button and change the "TCP Port" value to 26. Save your changes. Finally, stop and restart the service named "Microsoft SMTP Service".
* If using IIS v4, you will also need to use the IIS management console. Run the "IIS Management Console". Click on the left-hand side, to select "Console Root / Internet Information Server / YOUR-SERVER-NAME / Default SMTP Site". Then right click on "SMTP site" and choose "properties". On the first tab labeled "Default SMTP Site" you will find a section labeled "Incoming connections" and a field labeled: "TCP Port" which has a current setting of 25. Change that setting to 26. Finally, go into the Control Panel, Services, then stop and restart the service named "Microsoft SMTP Service".
Install and Configure ListManager
* Create an 'A' record in your DNS, which is an alternate name for the current machine. The mail that should be accepted by ListManager will be sent to this address. All mail delivered to ListManager which does not have this name will be forwarded by ListManager on to IMS.
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
listmanager IN A 207.105.6.2 ; the new "alias" host name
After this change, restart your DNS server.
* Start your ListManager server in the foreground, by clicking the "Run ListManager Now" icon.
* In Utilities: Administration: Server: Server Settings: Network Settings: Receive Email, find the field that says "Forward Mail:". Type this in the Forward Mail field:
127.0.0.1 26
This instructs ListManager to forward non-ListManager mail to port 26, where IMS is listening.
Now, go to Utilities: Administration: Server: Server Settings: Security: Bans and find "Mail Receive Rules". Type the name (or names) of the host names that ListManager should accept mail for. Any mail that comes in for ListManager that is not addressed to these hosts will automatically be forwarded to IMS.
For example, if your machine was called "mail.mycorp.com" and you made an alias for it (in step 2) called "listmanager.mycorp.com", then in the "Mail Receive Rules" field enter this data:
@listmanager.mycorp.com
If you have multiple names for your server, which ListManager should answer, enter each of them here, separated by a carriage return. This means that all mail addressed to "@listmanager.mycorp.com" will be accepted and processed by ListManager and any mail not addressed to "@listmanager.mycorp.com" will be forwarded to IMS.
6) Type "shutdown" on your Lyris ListManager console. Wait for ListManager to shutdown, then start it again, by clicking the "Run ListManager Now" icon.
7) Start your mail program and send mail to lyris@ your host name. For example, if your ListManager alias is "listmanager.mycorp.com", send mail to "lyris@listmanager.mycorp.com". A minute or two after sending your message, ListManager should have sent you a response back. Now, send a test message to a user on your IMS Server to make sure that is working.
![]() ![]() |