Hosted By

Subscribe to keithstric.com

Misc Links

Domino 7 OpenNTF BlogSphere CoComment Custom Button

Lotus Notes Blog Search

Ads by Google

OpenNTF

Disclaimer

The opinions and ideas posted on keithstric.com are not necessarily the opinions and ideas of my employer. The solutions, techniques and code provided here are not guaranteed or warranted in any way and are free for you to use at your own risk.

Xmail, IMAP, POP & Webmail

Category
Bookmark : del.icio.us  Technorati  Digg This  Add To Furl  Add To YahooMyWeb  Add To Reddit  Add To NewsVine 

Installing and setting a mail server with POP3/SMTP/IMAP protocols and web interfaced.

 

Requirements:

  1. Red Hat 8 www.redhat.com
  2. XMail www.xmailserver.org
  3. Umpl dev.waaf.net/xmail
  4. SquirrelMail www.squirrelmail.org
  5. Mysql www.mysql.org
  6. Apache + PHP Module www.apache.org

 

A.                First of all install Linux Red Hat 8 with these packages :

- Apache + PHP module

- SquirrelMail

- Mysql (with mysql_devel and mysql_server)

 

B.After all, you must login with root and root-password.

Download XMail precompiled rpm from www.xmailserver.org

Do this steps:

cd /var/MailRoot/bin

./XMCrypt root_pw (this command crypt your-password)

cd /var/MailRoot

vi ctrlaccount

insert “root” TAB (tabulation button) “crypted root_pw”

 

C.Download UMPL web interface from http://dev.waaf.net/xmail

unzip the downloaded file in /home/umpl_xmail/

do these commands

cd /etc

vi php.ini

you must be sure that is installed the package php_mysql module

you must change parameter ” open tag = On “

set virtual directory in apache web server /home/umpl_xmail where you could find umpl site

do these commands

mysql –uroot –p (Return) (Return)

set password for root = password (‘chose a password’)

exit

mysql –uroot –pyourpassword

this simple script is usefull to create a umpl_xmail database under mysql server

If you open your browser (for example Mozilla) and you try http://localhost/root/index.php

You can insert root and root_pw to login in Xmail configurator

Now you can create your virtual domain and chose the password for your domainÂ’s root

Now digit http://localhost/index.php

Digit root@yourdomain.yourextension and make all users you want.

 

At this point we have a powerfull POP3/SMTP Server with a web interfaced to change many setting of XMail server (for particular setting read XMailserver guide and change parameters from tab files). Unfortunatly XMail does not support IMAP protocol and we havenÂ’t the possibility to hanling our folders to organize our sent/received messages.

Doing all the next steps youÂ’ll be able to add IMAP protocol and have a web interface able to create or remove all folders you want (there are many other things like calendar, css, etc.)

 

D.Dowload courier IMAP mta from http://www.courier-mta.org/download.php#imap.

From root do these commands:

Digit chmod 777 –R /usr/src/redhat

Digit chmod 777 –R /home

Add a user you want and login with your new user.

Digit rpmbuild –ta courier……..tar.bz2

Take note of all packages that are required during rpmbuild otherwise youÂ’ll not have any

compiled packages.

When rpmbuild terminate youÂ’ll have in /usr/src/redhat/rpms/i386 your compiled rpms

You can install rpm courier imap, rpm courier imap mysql , rpm courier imap ldap

Reboot your system and be sure that rebooting these services start (mysqld, httpd, xmail,

courier-imap).

edit adduser.mysql to add user that you have insert in XMail server (see the example)

Do this command:

mysql –uroot –pyourpassword

 

Special Tanks:

-Achim Schmidt (schmidt@waaf.net) for support on UMPL web interface

-Keith Strickland (keith@keithstric.com) for support on Mailusers DB

-Davide Libenzi (www.xmailserver.org) for support on XMail

 

Dedicated to:

- All people that work for free software

- My mother Anna, my girlfriend Stefania and all my family.




For any question or suggest feel free to contact me at osti@firenze.net


Post A Comment

:-D:-o:-p:-(:-):-\:-|:angry::cool::cry::dontknow::emb::hairout::laugh::rolleyes::whew:;-)