2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
Bhozar |
Posted: Jun 12 2003, 10:19 AM
|
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. |
atomant |
Posted: Jun 12 2003, 12:01 PM
|
No - I'm not an answering script ... 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?" |
ced gdn |
Posted: Jun 18 2003, 04:02 PM
|
||
Newbie Group: Members Posts: 9 Member No.: 625 Joined: 18-June 03 |
How do you do that ? Thanks |
||
atomant |
Posted: Jun 19 2003, 07:17 AM
|
No - I'm not an answering script ... 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?" |
ced gdn |
Posted: Jun 19 2003, 10:14 AM
|
||
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:
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 |
||
ced gdn |
Posted: Jun 19 2003, 10:16 AM
|
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. |
atomant |
Posted: Jun 19 2003, 07:41 PM
|
No - I'm not an answering script ... 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?" |
ced gdn |
Posted: Jun 20 2003, 09:25 AM
|
Newbie Group: Members Posts: 9 Member No.: 625 Joined: 18-June 03 |
I've already tried it but I get the same error message
|
Bhozar |
Posted: Jun 23 2003, 11:32 AM
|
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.
|
ced gdn |
Posted: Jun 23 2003, 01:09 PM
|
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 ? |
hschneider |
Posted: Jun 23 2003, 03:09 PM
|
No - I'm not an answering script ... 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 |
Bhozar |
Posted: Jun 23 2003, 04:13 PM
|
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.
|
hschneider |
Posted: Aug 6 2003, 12:53 PM
|
No - I'm not an answering script ... 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 |