Closed TopicStart new topicStart Poll

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


Guru
**********

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 ( http://www.xmailserver.org )
- Xmail Administrator 0.26 ( http://www.webifi.com/xmail )( ftp://xmail.homelinux.net/xmail/windows )
- Xmail Wizzard ( ftp://xmail.homelinux.net/xmail/windows )
- Xmail Xmail Installer ( ftp://xmail.homelinux.net/xmail/windows )
- Xmail Queue Manager ( http://xmail.marketmix.com )
- Xmail Forum - For reference and support - ( http://xmailforum.homelinux.net )

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
-ctrlclnt.exe,mkusers.exe,sendmail.exe,XMail.exe,xmcrypt.exe
Edit server.tab 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 Server.tab 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 smtpfwd.tab 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: http://xmailforum.homelinux.net

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 ( abc.com as an example) add abc.com 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. ( abc.com )
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 : http://xmail.marketmix.com

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: http://www.antispam-ufrj.pads.ufrj.br/test-relay.html
Add your server's ip and do the tests!!!
More info on this can be found at: http://xmailforum.homelinux.net/index.php?showtopic=335



_________________________________________________

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!


BooT


--------------------
________________________________________________________________________________

--= 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
Top
hschneider
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!


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


Guru
**********

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



smile.gif

Pleasure!


--------------------
________________________________________________________________________________

--= 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
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