Closed TopicStart new topicStart Poll

> How to install XmailServer on Win 32, This is a "HOW TO" Guide!
Posted: Oct 8 2006, 12:25 PM
Quote Post


Group: Members
Posts: 747
Member No.: 375
Joined: 29-November 02

Xmail Install for Windows ( XP,2000 Server,2003 Server)

What is needed?

You will need to download the following:
- Xmail Server ( )
- Xmail Administrator 0.26 ( )( )
- Xmail Wizzard ( )
- Xmail Xmail Installer ( )
- Xmail Queue Manager ( )
- Xmail Forum - For reference and support - ( )

Step 1
Install Xmail Server:
Copy the mailroot folder to c:\
Copy the 5 x exe files in the mailroot folder to the Mailroot\Bin Folder
Edit file
-Add values for : RootDomain,SmtpServerDomain,POP3Domain,HeloDomain
- Add valid PostMaster & ErrorsAdmin addresses for your domain.
- #"EnableAuthSMTP-POP3" "0" take out the # to enable this. Prevent's relaying. See forum
- #"SMTP-RDNSCheck" "1" Take out the # to enable.
- #"CheckMailerDomain" "1" Take out the # to enable.

This is how my is set up.
Note: You need to use REAL TABS in config files! And not Spaces!!!!

What else can i change for my xmail to work for me?
- If your ISP has an outbound SMTP server and Xmail needs to send all the mail there?
- Edit Add: "*" "your ISP's SMTP Server Address"

You can also add filters to do various tasks and filtering of mail. Have a look at the forum for Howto's on this.

The forum is located here:

Step 2:
Open Xmail Installer. This is not an application that you install to the system. It just helps with configuring Xmail
- Very easy to use. Just fill in the blanks!
- Xmail root: Path to xmail ( c:\mailroot )
- Xmail Location: Path to xmail.exe ( C:\mailroot\bin\xmail.exe )
The Tabs at the bottom of Xmail Installer: (This is how mine are configured)
- POP3 - Tick port 110,Max thread count 30, Session Timeout 300, Bad login delay 240, Enable logging.
- SMTP - Tick Port 25, Max thread count 30, Session Timeout 300, Max Recipients 100, Enable logging.
- Smail - Tick Thread count 30, Retry Timeout 38, Increment Ratio 5, Enable Logging.
- Ctrl - Tick Port 6017, Max thread count 2, Enable Logging.
-LMail - Tick Thread count 110, Enable Logging.

You will see that adding values to the Tabs as described above that values were added at "Mail Command Line" These are the values that gets written to Windows Registry. You need to make the Values Permanent now by clicking on : "Update Registry" Button. This writes the "Mail Command Line" values to the registry.

Now you need to add xmail as a Windows Service. Just click on the "Install Service" Button.Now you need to start Xmail. Just click on the "Start Service" Button
That is that! If ever you need to change any of these settings or values, Just open Xmail Installer and change them. Do not forget to click "Update Registry" button to make the changes to the registry when you have changed values!

You can now close Xmail Installer.

Step 3:
Open Xmail Wizzard ( XMWizard.exe)
- Click on Options > Local Setup Wizzard
This is to add a Server Administrator and Password & The Xmail Service
- Click Next
- Your Xmail Server location should already be entered if you did step 2 correctly (C:\MailRoot\bin\xmail.exe)
- Click Next
- Add a User ID and Password for your Xmail Server. This Will be the xmail Admin User. Click add if you have entered the UserID & Password.
- Click Next
- Click on Install Service - Auto Start. This is so that Xmail Starts everytime the PC is rebooted.
- Click Finish
- Click OK

Then you can close Xmail Wizard. This program is also not "Installed" But used to "Configure" Xmail's Admin User.

Step 4:
Install Xmail Administrator. This is to manage and configure your domains and users on Xmail. This is installed on your server and you will use this app to Manage Xmail Server.
When you install it it will ( Maybe ) Ask to overwrite MSCOMCTL.OCX The file in the installer is OLDER then the one on Windows. DO NOT OVERWRITE IT!

Create a shortcut on the desktop for Xmail Admin and then you can open it.
Add your xmail Server to manage!
ServerName - My Xmail Server.
Server Address - IP of your xmail Server.
Port - 6017 - This is the default port for xmail Admin. It can be changed. It is listed in Step 2 ( - Ctrl) But leave on default port for now.
Login Name - This was the User ID Spesified in Step 3
Password - This was the password Spesified in Step 3

Click on Add Server When all info is Correct
You will see that your server is added on the left.
There are also 2 Entried when you expand your server: Xmailserver.test & mirror.redir.
These are 2 default entries.They can be removed only after you have added your domain.

So to add your domain ( as an example) add in the "Add new Domain" field. Then click on "Add new Domain"
You will see your domain added on the left.
NOW you can remove the 2 default domains and remove them.
Click on Xmailserver.test and then click on "Remove this Domain" It asks you to confirm deletion
Also click on "mirror.redir" and then click "Remove Custom Domain" and confirm it.

Now you only have your domain on the left. ( )
Now you can add users and passwords, Specify Max mailbox size, add redirection, download mail from another pop3 account to the current users account.... etc!
This is where you manage your domain and users now!

Step 5:
Install Xmail Queue Manager

This is to keep an eye on Xmail's Que. See what is hapaning on your server and to see what errors you may have or why a mail is not delivered. More info is on the site at :

Also- I use Xmail Queue Manager to stop and start xmail if i want to.

you can also run Xmail in Debug mode. ( to see if all is well with xmail!!!)
- Stop xmail with Xmail Queue Manager.
- open a command prompt and go to : c:\mailroot\bin
- type in: xmail --debug -Md
This will start xmail in Debug mode.
To stop xmail in debug mode : hit Ctrl-C. Xmail will stop and then you can start it normally with Xmail Queue Manager

Step 6

Now that your Xmail Installation is up and running you need to check if all is working and see if it is secure and that you are not an open Relay.
The best and easiest way to test this is to go to:
Add your server's ip and do the tests!!!
More info on this can be found at:


These 5 steps are tried and tested by me. It works 100 %. Xmail can be installed & configured by editing .TAB files. But i prefer this method.

Hope i have added everything.... and if not...I will edit this post!

Thanx and happy Xmailing!



--= Running XMail Server 1.22 on Windows 2003 Virtual Server Since 16 August 2006 =--
[--- Ran Xmail on 2000 Server till Aug 2006 ---]
[--- 1.21 From 21 June 2005 till 15 Jan 2006---]
[--- 1.20 From 20 July 2004 till 21 June 2005---]
[--- 1.17 From 20 October 2003 till 20 July 2004---]
PMEmail Poster
Posted: Oct 9 2006, 06:58 AM
Quote Post

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

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

Thanks for this useful howto!


-- 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
Posted: Oct 9 2006, 07:20 AM
Quote Post


Group: Members
Posts: 747
Member No.: 375
Joined: 29-November 02




--= Running XMail Server 1.22 on Windows 2003 Virtual Server Since 16 August 2006 =--
[--- Ran Xmail on 2000 Server till Aug 2006 ---]
[--- 1.21 From 21 June 2005 till 15 Jan 2006---]
[--- 1.20 From 20 July 2004 till 21 June 2005---]
[--- 1.17 From 20 October 2003 till 20 July 2004---]
PMEmail Poster
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