SlideShare a Scribd company logo
Open WebMail in CentOS
CHACHENG OO
Sr. System Engineer
DBL Group
BGMEA Complex( 12th Floor )| 23/1 Panthapath Link Road | Karwan Bazar | Dhaka-1215 | Bangladesh |
Cell: +8801755647625 Personel: +8801812490773 | Skype ID : chacheng.oo |
E-mail : chacheng@dbl-group.com Per : chacheng.oo@gmail.com or chacheng.oo@yahoo.com
Web : www.dbl-group.com
How to set up Open WebMail in CentOS
# cd /etc/yum.repos.d
# wget http://openwebmail.org/openwebmail/download/redhat/rpm/release/openwebmail.repo
Now, Open WebMail can be easily set up using yum command.
# yum install openwebmail perl-CGI httpd
Configuring Open WebMail
First of all, the file /var/www/cgi-bin/openwebmail/etc/dbm.conf is updated with the following parameters.
# vim /var/www/cgi-bin/openwebmail/etc/dbm.conf
## the previous values are overwritten ##
dbm_ext .pag
dbmopen_ext none
dbmopen_haslock no
Then Open WebMail can be initialized with an installed script as follows.
# /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init
The index.html file for Open WebMail is also prepared by using a soft link.
# ln -s /var/www/data/openwebmail/redirect.html /var/www/html/index.html
[Optional] The domain name for the mail server is defined manually to avoid any future mistakes in the @domain part
of the mail address.
# vim /var/www/cgi-bin/openwebmail/etc/openwebmail.conf
domainnames example.tst
The Apache web server is restarted.
# service httpd restart
# chkconfig httpd on
Finally, Open WebMail can be accessed by pointing the browser to the URL of the mail server: http://mail.example.tst
OR http://IP-Address-of-Mail-Server
Some screenshots are provided below.
Open WebMail in CentOS
Open WebMail login page:
Open WebMail interface:
Open WebMail preferences:
Troubleshooting Open WebMail
Open WebMail may generate errors or behave abnormally if specific versions of some Perl packages are not installed.
Fortunately, the packages are available in Open WebMail repository and are very easy to install. The following
demonstrates how to install problematic Perl packages.
Open WebMail in CentOS
A folder is created to store the packages. It could be any folder.
# mkdir /var/www/data/openwebmail/packages
# cd /var/www/data/openwebmail/packages
Packages are downloaded.
# wget http://openwebmail.org/openwebmail/download/packages/CGI.pm-3.05.tar.gz
# wget http://openwebmail.org/openwebmail/download/packages/MIME-Base64-3.01.tar.gz
# wget http://openwebmail.org/openwebmail/download/packages/Text-Iconv-1.2.tar.gz
Install CGI.
# tar zxvf CGI.pm-3.05.tar.gz
# cd CGI.pm-3.05
# perl Makefile.PL; make; make install
Install MIME.
# tar zxvf MIME-Base64-3.01.tar.gz
# cd MIME-Base64-3.01
# perl Makefile.PL; make; make install
Install Text-Iconv.
# tar zxvf Text-Iconv-1.2.tar.gz
# cd Text-Iconv-1.2
# perl Makefile.PL; make; make install
To sum up, Open WebMail interface may be a bit old school, but it is a complete package pre-built with often needed
features. Besides, the installation process is easy, and the interface is very lightweight. Open WebMail is certainly a
worthy candidate when a simple webmail interface is needed.
CHACHENG OO
Sr. System Engineer
DBL Group
BGMEA Complex( 12th Floor )| 23/1 Panthapath Link Road | Karwan Bazar | Dhaka-1215 | Bangladesh |
Cell: +8801755647625 Personel: +8801812490773 | Skype ID : chacheng.oo |
E-mail : chacheng@dbl-group.com Per : chacheng.oo@gmail.com or chacheng.oo@yahoo.com
Web : www.dbl-group.com
Open WebMail in CentOS

More Related Content

PDF
How To Install Apache, MySQL & PHP on Windows Vista
PDF
Alex carcea, radu macovei a story of how java script joined the big league
PDF
Web Sockets - HTML5
PPTX
Web socket with php v2
PPTX
Google Chromebook for the Enterprise: Yeah or Meh?
KEY
SimpleTestによるPHPのテスト
PDF
How HTTP/2 will change the web as we know it
PPTX
WebSockets Everywhere: the Future Transport Protocol for Everything (Almost)
How To Install Apache, MySQL & PHP on Windows Vista
Alex carcea, radu macovei a story of how java script joined the big league
Web Sockets - HTML5
Web socket with php v2
Google Chromebook for the Enterprise: Yeah or Meh?
SimpleTestによるPHPのテスト
How HTTP/2 will change the web as we know it
WebSockets Everywhere: the Future Transport Protocol for Everything (Almost)

What's hot (19)

PDF
Introduction to Web Sockets
PPTX
Drupal Development Tips
PDF
Conhecendo o-composer-por-nandokstronet
PDF
PHP SA 2014 - Releasing Your Open Source Project
PPT
论文答辩
PDF
Speedup your WordPress mit Nginx und HTTP/2
PDF
Jones_Lamp_Tutorial
PPTX
Web Sockets
PDF
How to Upload File in SFC.
PDF
T3DD12 Caching with Varnish
 
PDF
Seravo.com: WordPress Security 101
ODP
ClusterDesktop how-to use the site
PDF
HTTP/2 - How it's changing web performance
ODP
WebSockets with PHP: Mission impossible
PPTX
Curl Tutorial
PDF
[Greach 2016] Down The RabbitMQ Hole
PDF
Playing with WP-CLI (WordPress Command Line Interface)
PPTX
AHA-best-msf-interface-ever
PDF
Config websocket on apache
Introduction to Web Sockets
Drupal Development Tips
Conhecendo o-composer-por-nandokstronet
PHP SA 2014 - Releasing Your Open Source Project
论文答辩
Speedup your WordPress mit Nginx und HTTP/2
Jones_Lamp_Tutorial
Web Sockets
How to Upload File in SFC.
T3DD12 Caching with Varnish
 
Seravo.com: WordPress Security 101
ClusterDesktop how-to use the site
HTTP/2 - How it's changing web performance
WebSockets with PHP: Mission impossible
Curl Tutorial
[Greach 2016] Down The RabbitMQ Hole
Playing with WP-CLI (WordPress Command Line Interface)
AHA-best-msf-interface-ever
Config websocket on apache
Ad

Viewers also liked (20)

PDF
FY2015 Defense Appropriations Piece
PDF
ACCC 340B Sherer and Guide Article May 2011
PDF
presentazione_redazioneweb_COMPASS
PDF
Transrcript
PDF
Estacionamento Companhia Docas - Diário Oficial da União
PDF
Критерии оценки участников тендера
PDF
14-15_PMCoverStoryRenform
PPTX
Joensuu 13.10.2016: Avaussanat, Jyrki Pinomaa
PPTX
Millirona flipbook
PDF
Scrum. Чем он может навредить агентству
PDF
Dimensional Analysis - Model Theory (Lecture notes 01)
ODP
Implementation of Public Policies
PPTX
Need of Decoupling Capacitor
PPTX
Five Pharmacy Rules Hospitals Can't Afford To Ignore In 2016
PPTX
Monikanavaisuuden ja digin mahdollisuudet työyhteisöviestinnässä
PPT
Indirectly directed hyperbilirubinemia
PPTX
10 Reasons ColdFusion PDFs should rule the world
PPTX
Iron and cancer talk k m mohandas
PDF
The effect of sentence splitting on cohesion in German business translations
DOCX
Lampu(kreatifitas)
FY2015 Defense Appropriations Piece
ACCC 340B Sherer and Guide Article May 2011
presentazione_redazioneweb_COMPASS
Transrcript
Estacionamento Companhia Docas - Diário Oficial da União
Критерии оценки участников тендера
14-15_PMCoverStoryRenform
Joensuu 13.10.2016: Avaussanat, Jyrki Pinomaa
Millirona flipbook
Scrum. Чем он может навредить агентству
Dimensional Analysis - Model Theory (Lecture notes 01)
Implementation of Public Policies
Need of Decoupling Capacitor
Five Pharmacy Rules Hospitals Can't Afford To Ignore In 2016
Monikanavaisuuden ja digin mahdollisuudet työyhteisöviestinnässä
Indirectly directed hyperbilirubinemia
10 Reasons ColdFusion PDFs should rule the world
Iron and cancer talk k m mohandas
The effect of sentence splitting on cohesion in German business translations
Lampu(kreatifitas)
Ad

Similar to Open web mail setup (19)

PPTX
Mail server on linux
PPTX
SquirrelMail for webmail
PDF
Mail
PDF
How to install and configure Postfix Mail Server in Redhat (RHEL) / CentOS Linux
PDF
Step by step_linux_guide
PPT
Linux corporate-training-in-mumbai
PPTX
Mail server configuration
KEY
Introduce iRedMail Open Source Mail Server Solution
PDF
Evolution as Email service
PPTX
7_Chapter 7_Email.pptx
PDF
mail server
PPTX
Useful Terms Related to cPanel & WHM
PPS
Linux10 sendmail
PDF
OTechs Mail system proposal
PPT
Electronic Mail on Solaris 2 Configuration
PPT
PPTX
PPTX
Introduction to basics command in linux, and working in linux
Mail server on linux
SquirrelMail for webmail
Mail
How to install and configure Postfix Mail Server in Redhat (RHEL) / CentOS Linux
Step by step_linux_guide
Linux corporate-training-in-mumbai
Mail server configuration
Introduce iRedMail Open Source Mail Server Solution
Evolution as Email service
7_Chapter 7_Email.pptx
mail server
Useful Terms Related to cPanel & WHM
Linux10 sendmail
OTechs Mail system proposal
Electronic Mail on Solaris 2 Configuration
Introduction to basics command in linux, and working in linux

Recently uploaded (20)

PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Construction Project Organization Group 2.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
PPT on Performance Review to get promotions
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Well-logging-methods_new................
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
DOCX
573137875-Attendance-Management-System-original
PDF
composite construction of structures.pdf
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Digital Logic Computer Design lecture notes
PPTX
Welding lecture in detail for understanding
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
R24 SURVEYING LAB MANUAL for civil enggi
Model Code of Practice - Construction Work - 21102022 .pdf
CYBER-CRIMES AND SECURITY A guide to understanding
OOP with Java - Java Introduction (Basics)
Automation-in-Manufacturing-Chapter-Introduction.pdf
Construction Project Organization Group 2.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPT on Performance Review to get promotions
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Well-logging-methods_new................
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
UNIT-1 - COAL BASED THERMAL POWER PLANTS
573137875-Attendance-Management-System-original
composite construction of structures.pdf
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Digital Logic Computer Design lecture notes
Welding lecture in detail for understanding

Open web mail setup

  • 1. Open WebMail in CentOS CHACHENG OO Sr. System Engineer DBL Group BGMEA Complex( 12th Floor )| 23/1 Panthapath Link Road | Karwan Bazar | Dhaka-1215 | Bangladesh | Cell: +8801755647625 Personel: +8801812490773 | Skype ID : chacheng.oo | E-mail : chacheng@dbl-group.com Per : chacheng.oo@gmail.com or chacheng.oo@yahoo.com Web : www.dbl-group.com How to set up Open WebMail in CentOS # cd /etc/yum.repos.d # wget http://openwebmail.org/openwebmail/download/redhat/rpm/release/openwebmail.repo Now, Open WebMail can be easily set up using yum command. # yum install openwebmail perl-CGI httpd Configuring Open WebMail First of all, the file /var/www/cgi-bin/openwebmail/etc/dbm.conf is updated with the following parameters. # vim /var/www/cgi-bin/openwebmail/etc/dbm.conf ## the previous values are overwritten ## dbm_ext .pag dbmopen_ext none dbmopen_haslock no Then Open WebMail can be initialized with an installed script as follows. # /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init The index.html file for Open WebMail is also prepared by using a soft link. # ln -s /var/www/data/openwebmail/redirect.html /var/www/html/index.html [Optional] The domain name for the mail server is defined manually to avoid any future mistakes in the @domain part of the mail address. # vim /var/www/cgi-bin/openwebmail/etc/openwebmail.conf domainnames example.tst The Apache web server is restarted. # service httpd restart # chkconfig httpd on Finally, Open WebMail can be accessed by pointing the browser to the URL of the mail server: http://mail.example.tst OR http://IP-Address-of-Mail-Server Some screenshots are provided below.
  • 2. Open WebMail in CentOS Open WebMail login page: Open WebMail interface: Open WebMail preferences: Troubleshooting Open WebMail Open WebMail may generate errors or behave abnormally if specific versions of some Perl packages are not installed. Fortunately, the packages are available in Open WebMail repository and are very easy to install. The following demonstrates how to install problematic Perl packages.
  • 3. Open WebMail in CentOS A folder is created to store the packages. It could be any folder. # mkdir /var/www/data/openwebmail/packages # cd /var/www/data/openwebmail/packages Packages are downloaded. # wget http://openwebmail.org/openwebmail/download/packages/CGI.pm-3.05.tar.gz # wget http://openwebmail.org/openwebmail/download/packages/MIME-Base64-3.01.tar.gz # wget http://openwebmail.org/openwebmail/download/packages/Text-Iconv-1.2.tar.gz Install CGI. # tar zxvf CGI.pm-3.05.tar.gz # cd CGI.pm-3.05 # perl Makefile.PL; make; make install Install MIME. # tar zxvf MIME-Base64-3.01.tar.gz # cd MIME-Base64-3.01 # perl Makefile.PL; make; make install Install Text-Iconv. # tar zxvf Text-Iconv-1.2.tar.gz # cd Text-Iconv-1.2 # perl Makefile.PL; make; make install To sum up, Open WebMail interface may be a bit old school, but it is a complete package pre-built with often needed features. Besides, the installation process is easy, and the interface is very lightweight. Open WebMail is certainly a worthy candidate when a simple webmail interface is needed. CHACHENG OO Sr. System Engineer DBL Group BGMEA Complex( 12th Floor )| 23/1 Panthapath Link Road | Karwan Bazar | Dhaka-1215 | Bangladesh | Cell: +8801755647625 Personel: +8801812490773 | Skype ID : chacheng.oo | E-mail : chacheng@dbl-group.com Per : chacheng.oo@gmail.com or chacheng.oo@yahoo.com Web : www.dbl-group.com