SlideShare a Scribd company logo
1 of 4
Download to read offline
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

What's hot

Introduction to Web Sockets
Introduction to Web SocketsIntroduction to Web Sockets
Introduction to Web SocketsJumping Bean
 
Conhecendo o-composer-por-nandokstronet
Conhecendo o-composer-por-nandokstronetConhecendo o-composer-por-nandokstronet
Conhecendo o-composer-por-nandokstronetCode Experts Learning
 
PHP SA 2014 - Releasing Your Open Source Project
PHP SA 2014 - Releasing Your Open Source ProjectPHP SA 2014 - Releasing Your Open Source Project
PHP SA 2014 - Releasing Your Open Source Projectxsist10
 
Speedup your WordPress mit Nginx und HTTP/2
Speedup your WordPress mit Nginx und HTTP/2Speedup your WordPress mit Nginx und HTTP/2
Speedup your WordPress mit Nginx und HTTP/2wpmeetupka
 
How to Upload File in SFC.
How to Upload File in SFC.How to Upload File in SFC.
How to Upload File in SFC.Shuya Osaki
 
T3DD12 Caching with Varnish
T3DD12 Caching with VarnishT3DD12 Caching with Varnish
T3DD12 Caching with VarnishAOE
 
Seravo.com: WordPress Security 101
Seravo.com: WordPress Security 101Seravo.com: WordPress Security 101
Seravo.com: WordPress Security 101Seravo
 
ClusterDesktop how-to use the site
ClusterDesktop how-to use the siteClusterDesktop how-to use the site
ClusterDesktop how-to use the siteEmil Parashkevov
 
HTTP/2 - How it's changing web performance
HTTP/2 - How it's changing web performanceHTTP/2 - How it's changing web performance
HTTP/2 - How it's changing web performanceMateus Prado
 
[Greach 2016] Down The RabbitMQ Hole
[Greach 2016] Down The RabbitMQ Hole[Greach 2016] Down The RabbitMQ Hole
[Greach 2016] Down The RabbitMQ HoleAlonso Torres
 
Playing with WP-CLI (WordPress Command Line Interface)
Playing with WP-CLI (WordPress Command Line Interface)Playing with WP-CLI (WordPress Command Line Interface)
Playing with WP-CLI (WordPress Command Line Interface)Anam Ahmed
 
AHA-best-msf-interface-ever
AHA-best-msf-interface-everAHA-best-msf-interface-ever
AHA-best-msf-interface-everkernelsmith
 
Config websocket on apache
Config websocket on apacheConfig websocket on apache
Config websocket on apachebaran19901990
 

What's hot (19)

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

Viewers also liked

Chad R Odom Resume
Chad R Odom ResumeChad R Odom Resume
Chad R Odom ResumeChad R. Odom
 
Royal India Luxury Show_| gulftoday.ae
Royal India Luxury Show_| gulftoday.aeRoyal India Luxury Show_| gulftoday.ae
Royal India Luxury Show_| gulftoday.aeGarima Raghuvanshi
 
2015 -Images of AUGUST - Aug. 01 - Aug. 08
2015 -Images of AUGUST - Aug. 01 - Aug. 082015 -Images of AUGUST - Aug. 01 - Aug. 08
2015 -Images of AUGUST - Aug. 01 - Aug. 08vinhbinh2010
 
topical therapy in dermatology
topical therapy in dermatologytopical therapy in dermatology
topical therapy in dermatologyMikhin Thomas
 
Anatomy & physiology of integumentary system
Anatomy & physiology of integumentary systemAnatomy & physiology of integumentary system
Anatomy & physiology of integumentary systemSiva Nanda Reddy
 

Viewers also liked (11)

Chad R Odom Resume
Chad R Odom ResumeChad R Odom Resume
Chad R Odom Resume
 
Royal India Luxury Show_| gulftoday.ae
Royal India Luxury Show_| gulftoday.aeRoyal India Luxury Show_| gulftoday.ae
Royal India Luxury Show_| gulftoday.ae
 
2015 -Images of AUGUST - Aug. 01 - Aug. 08
2015 -Images of AUGUST - Aug. 01 - Aug. 082015 -Images of AUGUST - Aug. 01 - Aug. 08
2015 -Images of AUGUST - Aug. 01 - Aug. 08
 
Certificado ISO15504
Certificado ISO15504Certificado ISO15504
Certificado ISO15504
 
Analiza activitate
Analiza activitateAnaliza activitate
Analiza activitate
 
Angel Avila director titular EDELaR
Angel Avila director titular EDELaRAngel Avila director titular EDELaR
Angel Avila director titular EDELaR
 
img001
img001img001
img001
 
Programas de simulacion
Programas de simulacionProgramas de simulacion
Programas de simulacion
 
Haem metabolism
Haem metabolismHaem metabolism
Haem metabolism
 
topical therapy in dermatology
topical therapy in dermatologytopical therapy in dermatology
topical therapy in dermatology
 
Anatomy & physiology of integumentary system
Anatomy & physiology of integumentary systemAnatomy & physiology of integumentary system
Anatomy & physiology of integumentary system
 

Similar to Open web mail setup

Os dev tool box
Os dev tool boxOs dev tool box
Os dev tool boxbpowell29a
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wikishahab071
 
Ubuntu And Parental Controls
Ubuntu And Parental ControlsUbuntu And Parental Controls
Ubuntu And Parental Controlsjasonholtzapple
 
Packaging for the Maemo Platform
Packaging for the Maemo PlatformPackaging for the Maemo Platform
Packaging for the Maemo PlatformJeremiah Foster
 
Real World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionReal World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionBen Hall
 
Document Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OSDocument Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OSSiddharth Ram Dinesh
 
How to make debian package from scratch (linux)
How to make debian package from scratch (linux)How to make debian package from scratch (linux)
How to make debian package from scratch (linux)Thierry Gayet
 
Ajenti control panel
Ajenti control panel Ajenti control panel
Ajenti control panel chacheng_dbl
 
Ajenti control panel
Ajenti control panel Ajenti control panel
Ajenti control panel Chacheng Oo
 
Ajenti control panel
Ajenti control panel Ajenti control panel
Ajenti control panel chacheng oo
 
Ajenti control panel
Ajenti control panel Ajenti control panel
Ajenti control panel chacheng_dbl
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stackRootGate
 
A Docker-based Development Environment Even I Can Understand
A Docker-based Development Environment Even I Can UnderstandA Docker-based Development Environment Even I Can Understand
A Docker-based Development Environment Even I Can UnderstandJeremy Gimbel
 
Aeon mike guide transparent ssl filtering
Aeon mike guide transparent ssl filteringAeon mike guide transparent ssl filtering
Aeon mike guide transparent ssl filteringConrad Cruz
 
Aeon mike guide transparent ssl filtering (1)
Aeon mike guide transparent ssl filtering (1)Aeon mike guide transparent ssl filtering (1)
Aeon mike guide transparent ssl filtering (1)Conrad Cruz
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker皓鈞 張
 

Similar to Open web mail setup (20)

Os dev tool box
Os dev tool boxOs dev tool box
Os dev tool box
 
How tos nagios - centos wiki
How tos nagios - centos wikiHow tos nagios - centos wiki
How tos nagios - centos wiki
 
Ubuntu And Parental Controls
Ubuntu And Parental ControlsUbuntu And Parental Controls
Ubuntu And Parental Controls
 
Docker perl build
Docker perl buildDocker perl build
Docker perl build
 
OTRS
OTRSOTRS
OTRS
 
Packaging for the Maemo Platform
Packaging for the Maemo PlatformPackaging for the Maemo Platform
Packaging for the Maemo Platform
 
Real World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionReal World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and Production
 
Document Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OSDocument Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OS
 
How to make debian package from scratch (linux)
How to make debian package from scratch (linux)How to make debian package from scratch (linux)
How to make debian package from scratch (linux)
 
Ajenti control panel
Ajenti control panel Ajenti control panel
Ajenti control panel
 
Ajenti control panel
Ajenti control panel Ajenti control panel
Ajenti control panel
 
Ajenti control panel
Ajenti control panel Ajenti control panel
Ajenti control panel
 
Ajenti control panel
Ajenti control panel Ajenti control panel
Ajenti control panel
 
Dev ops
Dev opsDev ops
Dev ops
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stack
 
A Docker-based Development Environment Even I Can Understand
A Docker-based Development Environment Even I Can UnderstandA Docker-based Development Environment Even I Can Understand
A Docker-based Development Environment Even I Can Understand
 
Aeon mike guide transparent ssl filtering
Aeon mike guide transparent ssl filteringAeon mike guide transparent ssl filtering
Aeon mike guide transparent ssl filtering
 
Aeon mike guide transparent ssl filtering (1)
Aeon mike guide transparent ssl filtering (1)Aeon mike guide transparent ssl filtering (1)
Aeon mike guide transparent ssl filtering (1)
 
Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 

Recently uploaded

Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfsumitt6_25730773
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)ChandrakantDivate1
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxhublikarsn
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesRashidFaridChishti
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdfKamal Acharya
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelDrAjayKumarYadav4
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesChandrakantDivate1
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...ssuserdfc773
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxpritamlangde
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementDr. Deepak Mudgal
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 

Recently uploaded (20)

Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
Convergence of Robotics and Gen AI offers excellent opportunities for Entrepr...
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 

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