Skip to content

Haraka plugin that will save an incoming email to a locally running redis server

Notifications You must be signed in to change notification settings

motdotla/haraka-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

haraka-redis

This is a Haraka plugin that will save an incoming email to a locally running redis server. This plugin depends on Redis to store the email.

Installation

Haraka Install

If you've already installed Haraka, you can skip this step.

Install Nodejs.

sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs

Then setup haraka.

sudo npm install -g Haraka
sudo haraka -i /etc/haraka

Comment out all the plugins in /etc/haraka/config/plugins.

sudo vim /etc/haraka/config/plugins

Change config/me to list your domain.

sudo vim /etc/haraka/config/me

Add your domain to that file.

yourdomain.com

Start the haraka service

sudo haraka -c /etc/haraka

Click here for more detailed haraka install instructions.

haraka-redis Install

Add data.redis to the end of /etc/haraka/config/plugins.

sudo vim /etc/haraka/config/plugins

And add the following.

data.redis

Finally, setup the js plugin.

cd /etc/haraka/plugins
sudo npm install -g redis
sudo npm install -g microtime
sudo npm install -g redis-wstream
sudo wget https://raw.github.com/scottmotte/haraka-redis/master/data.redis.js
cd ..
sudo haraka -c .

About

Haraka plugin that will save an incoming email to a locally running redis server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published