Created: 2011-07-14 04:59
Updated: 2018-01-24 04:44
License: mit


Easy SMTP server for local development

Malm is a super simple SMTP trap that will catch everything sent to it, not forward it on, but instead display on a local web server.

This is useful for when you're doing local development that requires your app to send mail, but you don't want to go through all the hassle of setting up a full featured mail server (and then pointing your mail client at it).


gem install malm

Basic Usage

The following command starts Malm up. Running on it's defaults of listening for SMTP on port 2525, client web app running on port 4567, and starting as a process in the foreground


If you want to start up on regular SMTP port 25, you'll probably need to run it as sudo

sudo malm -p 25

For more info try

malm --help

Viewing Messages

Once it's up and running, it works just like any other SMTP server - your app sends it mail, then happily goes about it's business. To view the mail messages Malm has picked up, point your web browser at http://localhost:4567

Who the hell?

I blame @madlep


Fork + pull request. Nice and easy.

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more