inicenter logo
 Mail Server
uniform server logo

Office Mail is extremely versatile one feature that can be used to great advantage is its independence of the Window registry. This independence allows for a seamless integration with Uniform Server resulting in a complete WAMP test environment that is portable.

I have assumed you have used the defaults when installing Office Mail if not locate the appropriate folder and copy its content as outline below.

Move Office Mail

  1. Create a new folder in diskw name it mail_server.
  2. Navigate to the Office Mail folder located at
    C:\Program Files\burrotech\office mail
  3. Copy all its contents into the folder you created in step 1 (mail_server) in diskw
  4. That completes this task

We have no further use for the installed copy of Office Mail you can delete this from your PC using the uninstall program as follows: start>all programs>office mail>Uninstall office mail this saves disk space and removes the desk top icon.

Pskill

Integrating Office Mail into Uniform Server requires no great effort all we need to do is start and stop it using the Uniform Server batch files. Starting is straightforward requires only a call to the program executable however stopping it requires a call to the Uniform Server pskill utility.

The Uniform Server design team has gone too great lengths to produce a product with a small footprint (minimum disk space) this includes that small customised pskill utility that is ideal for stopping Office Mail.

With the preparations complete all that remains is to modify the start and stop batch files. Each file requires the addition of a single line as follows.

Uniform Server Start

Open file Server_Start.bat into a suitable editor and add the line shown highlighted. Note only part of the file has been shown.

Server_Start.bat
%Disk%:
start /b mail_server\off_mail.exe
cd \usr\local\php
IF "%2"=="mysql" start \usr\local\mysql\bin\mysqld-opt.exe --defaults-file=/usr/local/mysql/bin/my-small.cnf
CLS
echo The server is working on the disk %Disk%:\ [http/127.0.0.1/apanel/]
set www=\www\
set apanel=\home\admin\www\

Note: The file Disk Start.vbs uses the above batch file because of this it does not need changing.

Uniform Server Stop

Open file Stop.bat and add the line shown highlighted.

Stop.bat

@echo off
diskw\home\admin\program\pskill.exe off_mail.exe c
diskw\home\admin\program\pskill.exe Apache.exe c
if errorlevel 2 goto :PAUSE

:PAUSE
echo .
pause

:END

All that remains is to test that your servers are working.

Testing

Start servers and run the test file from the previous page. You will see a new mail entry in Office Mail confirming your installation works.

Note: Help in Office Mail is worth a read well written and easy to follow.

Known problems

There are no known problems. Note: Testing was performed on two XP none networked machines.

Conclusion

Uniform Server with Office Mail creates a nice self-contained and portable WAMP teaching or test environment.

Back

---END---

image top

• UniCenter Site Content Copyright © 2006-2007  Mike Gleaves  All Rights Reserved  •

Contact & Copyright

Copyright 2002-2006 The Uniform Server Development Team All rights reserved.

For installation-related support issues, contact support@Uniformserver.com

For general information and support, refer to our site at http://www.Uniformserver.com