• Domains
  • Web Hosting
  • WordPress Hosting
  • Reseller Hosting
  • Cloud VPS
  • Dedicated Servers
  • Domains
  • Web Hosting
  • WordPress Hosting
  • Reseller Hosting
  • Cloud VPS
  • Dedicated Servers
home/Knowledge Base/Dedicated Servers/Networking/Install MailCatcher On CentOS 7
Popular Search:Dedicated Server, CentOS, Web Hosting

Install MailCatcher On CentOS 7

21 views 0 December 6, 2019 Updated on December 11, 2019 aklwebhost

Introduction

MailCatcher is a tool that provides an easy way for developers to inspect emails that their applications send out without having to wait for an email provider. It catches all emails that it receives, and stores them for display. Both HTML and plain text messages are supported.

Installation

First update yum’s repository list, then install the gcc and g++ compilers, and MailCatcher’s dependencies (Ruby and SQLite).

sudo yum update
sudo yum -y install gcc gcc-c++
sudo yum -y install sqlite-devel ruby-devel

Install MailCatcher.

sudo gem install mailcatcher

Running MailCatcher

Once installed, you can run mailcatcher --help to see what options are available.

Start MailCatcher by running mailcatcher --ip [your-akl-web-host-ip-address] on your terminal. Your output should look similar to the following:

root@install:~# mailcatcher --ip [your-akl-web-host-ip-address]
Starting MailCatcher
==> smtp://[your-akl-web-host-ip-address]:1025
==> http://[your-akl-web-host-ip-address]:1080
*** MailCatcher runs as a daemon by default. Go to the web interface to quit.

Browse to http://[your-akl-web-host-ip-address]:1080 and you’ll see MailCatcher’s web interface. Configure your application to use an SMTP host of your AKLWEB Host IP Address and port 1025 and send out some test emails. These emails will appear on MailCatcher’s web interface.

NOTE: If you don’t see MailCatcher’s web interface, then you may have to open port 1080 and enable “http service” on CentOS firewall. Run the commands below, then try accessing http://[your-akl-web-host-ip-address]:1080 from your web browser again.

sudo firewall-cmd --zone=public --add-port=1080/tcp --permanent
sudo firewall-cmd --zone=public --add-service=http --permanent
sudo firewall-cmd --reload

Conclusion

MailCatcher can really ease up the development and testing workflow, as it takes out the need for a mail provider to catch and view emails. Consider trying it for your next application.

Tags:Install MailCatcher On CentOS 7

Was this helpful?

Yes  No
Related Articles
  • How To Install OSSEC HIDS on a CentOS 7 Server
  • Initial Setup of a CentOS 7 Server
  • Using StrongSwan for IPSec VPN on CentOS 7
  • How To Install LLVM and Clang on CentOS 6
  • Installing Gnome/KDE (GUI) on Ubuntu/CentOS
  • Setting up Munin for Monitoring on CentOS 6 x64
Leave A Comment Cancel reply

Networking
  • Install MailCatcher On CentOS 7
  • Using StrongSwan for IPSec VPN on CentOS 7
  • Setting up Munin for Monitoring on CentOS 6 x64
  • Setup a PPTP VPN Server on Ubuntu
  • Stop DHCP From Changing resolv.conf
  • Setup Dynamic DNS For Windows Remote Desktop
View All 27  
Popular Articles
  • Using StrongSwan for IPSec VPN on CentOS 7
  • Disabling SSDP (Linux / Windows)
  • Can I pay by Western Union?
  • Can a Coupon Code Discount Be Carried Forward While I Upgrade My VPS Account
  • Can I pay multiple due invoices using a single transaction?
KB Categories
  • Billing
  • Cloud Hosting
  • CMS Hosting
  • cPanel/WHM Control Panel Guide
  • Dedicated Servers
    • AMD Opteron 6272
    • Arch
    • Backup Storage
    • Bandwidth
    • Basic Security
    • BSD
    • CentOS
    • Containers
    • CoreOS
    • DDoS Protection
    • Debian
    • Dedicated Server Control Panel
    • Intel Core i5 3550
    • Intel Core i5 4570
    • Intel Core i7 3770
    • Intel Core i7 4770
    • Intel Xeon E3 1230 V3
    • Intel Xeon E3 1245 V2
    • IP Space
    • Linux Guides
    • Minecraft
    • Networking
    • Server Apps
    • Server Troubleshooting
    • Ubuntu
    • Windows Guides
    • Windows Server 2008
    • Windows Server 2012
  • Domain Names
  • Email Support Documentation
    • Setup IMAP or POP
    • User Features – How To
    • Webmail – How To
  • FTP (File Transfer Protocol
    • CuteFTP Guide
    • FileZilla Guide
  • Game Servers
  • MySQL and MariaDB
  • Node.js
  • Plesk Web Hosting Guide
  • VPS Server
  • Web Servers

  Install LAMP on centOS

Install MariaDB 10 on CentOS 6  

  • Privacy Policy
  • Terms of Use
  • © 2022 AKLWEB HOST LLC, All Rights Reserved.

Popular Search:Dedicated Server, CentOS, Web Hosting