XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Running Multiple Instances Of Xmail On Windows

Closed TopicStart new topicStart Poll

> Running Multiple Instances Of Xmail On Windows, Requires Xmail Server >= 1.16
Bhozar
Posted: Jun 12 2003, 10:19 AM
Quote Post


Royal XQM Beta Tester
****

Group: Members
Posts: 148
Member No.: 481
Joined: 5-March 03



In this example I will refer to xmail and xmail_mm. Xmail_mm is the xmail server we send out our mass mailings (newletters).

Copy the supplied MailRoot directory where you want it to reside (in this example 'C:\MailRoot' and 'C:\MailRoot_mm').

Setup the MailRoot directories (and subdirectories and file) permissions to allow access only to System and Administrators. Doing this you can run XMail as a console startup only if you're Administrator (service startup as System).

Copy XMail executables to 'C:\MailRoot\bin' and 'C:\MailRoot_mm\bin'.

Rename xmail.exe in 'C:\MailRoot_mm\bin' to xmail_mm.exe.

With 'regedit', create 'GNU' key inside 'HKEY_LOCAL_MACHINE\SOFTWARE\' and then 'XMail' and a 'XMail_mm' key inside 'HKEY_LOCAL_MACHINE\SOFTWARE\GNU'.

Create a new string value named 'MAIL_ROOT' inside 'HKEY_LOCAL_MACHINE\SOFTWARE\GNU\XMail\' with value 'C:\MailRoot'.

Create a new string value named 'MAIL_ROOT' inside 'HKEY_LOCAL_MACHINE\SOFTWARE\GNU\XMail_mm\' with value 'C:\MailRoot_mm'.

Create a new string value named 'MAIL_CMD_LINE' inside 'HKEY_LOCAL_MACHINE\SOFTWARE\GNU\XMail\' to store your command line options (read well the rest of this document).

Create a new string value named 'MAIL_CMD_LINE' inside 'HKEY_LOCAL_MACHINE\SOFTWARE\GNU\XMail_mm\' to store your command line options. You MUST specify alternative ports for XMail_mm to run on otherwise it will have conflicts with the main xmail server.

Open an NT console (command prompt).

Go inside 'C:\MailRoot\bin' and run: XMail --install for a manual startup, or: XMail --install-auto for an automatic startup.

Go inside 'C:\MailRoot_mm\bin' and run: XMail_mm --install for a manual startup, or: XMail_mm --install-auto for an automatic startup.

The rest of the setup is pretty standard. You just have to repeat all steps you do for xmail to setup xmail_mm.

If you have other services that give the same functionality of XMail, that is SMTP, POP3, or Finger servers, you must stop these services.

Setup the 'SERVER.TAB' configuration option after reading the rest of this document well.

Add your users and domains (after reading to the rest of this document well).

Setup file permissions of the 'C:\MailRoot' and 'C:\MailRoot_mm' directory to grant access only to 'SYSTEM' and 'Domain Admins'.

Change or comment out (#) the example account in ctrlaccounts.tab by using a non-trivial username and password.

To start XMail without reboot you can go to: ControlPanel -> Services -> XMail server and start the service, otherwise reboot your machine.

Setup the file 'smtprelay.tab' (and/or 'smtp.ipmap.tab' if necessary) to restrict mail relaying of your server. 'THIS IS IMPORTANT!'

Xmail now reads the registry key with the same name of its .exe. It also registers the service using the name of the .exe.

The advantage of running two xmail servers on one machine is for those people who are limited to using windows and only one server and would like to seperate the sending of normal emails and newletters so the normal emails are not slowed down in delivery or receiving.

The above system has been tested in Windows 2003.NET Server.
PMEmail Poster
Top
atomant
Posted: Jun 12 2003, 12:01 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Thanks Bhozar for the contrib.


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
ced gdn
Posted: Jun 18 2003, 04:02 PM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 625
Joined: 18-June 03



QUOTE
You MUST specify alternative ports for XMail_mm to run on otherwise it will have conflicts with the main xmail server.


How do you do that ?

Thanks
PMEmail Poster
Top
atomant
Posted: Jun 19 2003, 07:17 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



with the comand line switches Pp, Sp, Fp, Cp


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
ced gdn
Posted: Jun 19 2003, 10:14 AM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 625
Joined: 18-June 03



Ok. Thank you for your anwser.
Now the value of the command line of my second instance of xmail (called XMail2) is :
-Pp 8090 -Sp 8091 -Fp8092 -Cp 8093

So I have my first instance working (XMail in the directory D:\MailRoot) but I can't manage to make the second instance work :
When I enter D:\MailRoot2\bin\XMail2 --install, I get the following error saying that the service already exists:
CODE
CreateService failed - Le service spécifié existe déjà (0x431)

Everything seems to be ok in my registry (HKLM/Software/GNU/XMail and HKLM/Software/GNU/XMail2) with their corresponding MAIL_ROOT values.

Do u have any idea of how to make it work ?

Cedric
PMEmail Poster
Top
ced gdn
Posted: Jun 19 2003, 10:16 AM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 625
Joined: 18-June 03



I also checked the list of running services.
Only one instance of Xmail Service is running.
PMEmail Poster
Top
atomant
Posted: Jun 19 2003, 07:41 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Did you try to stop this service and then to create a new one?


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
ced gdn
Posted: Jun 20 2003, 09:25 AM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 625
Joined: 18-June 03



I've already tried it but I get the same error message
PMEmail Poster
Top
Bhozar
Posted: Jun 23 2003, 11:32 AM
Quote Post


Royal XQM Beta Tester
****

Group: Members
Posts: 148
Member No.: 481
Joined: 5-March 03



Running multiple instances is only possible in 1.16 upwards. Are you sure you are running 1.16? Earlier versions will give the error you are experiencing.
PMEmail Poster
Top
ced gdn
Posted: Jun 23 2003, 01:09 PM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 625
Joined: 18-June 03



Ok, I actually run the 1.15 version.
Is there already a released of the version 1.16 ?
PMEmail Poster
Top
hschneider
Posted: Jun 23 2003, 03:09 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Only a pre release - see Forum Announcements.

The pre should run flawlessly beside a 1.15 installation.



--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
Bhozar
Posted: Jun 23 2003, 04:13 PM
Quote Post


Royal XQM Beta Tester
****

Group: Members
Posts: 148
Member No.: 481
Joined: 5-March 03



I was running 1.15 as the main XMail install and 1.16 as the secondary install for a while. The instructions still apply just as long as you are using 1.16 as the second version of XMail.
PMEmail Poster
Top
hschneider
Posted: Aug 6 2003, 12:53 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



To complete this thread:
Multiple installations are fully supported by XQM and XQM Agent now.
Just update to the latest version.



--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Documentation and Knowledge Base | Next Newest »

Closed TopicStart new topicStart Poll