shoppreparcels-tech / haraka-http-forward

Haraka plugin that will forward emails to a remote HTTP server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a Haraka plugin that will HTTP POST an incoming email to a remote server. This plugin depends on Redis to store the to: addresses and the URL to transmit the data to.

This is similar to how Google's App Engine handles incoming emails.

Installation with Docker

  1. Install docker (http://docker.io)
  2. Clone haraka-http-forward repo if you haven't already: git clone https://github.com/jplock/haraka-http-forward.git
  3. Modify config/host_list with the domain(s) that you'd like to receive mail to
  4. Build: cd haraka-http-forward && docker build .
  5. Run:
docker run -d <imageid>
redis-cli -p <redisport> set haraka:whatever http://my.server.com

Whenever you receive an email to whatever@domain.com, the plugin with HTTP POST the entire email to http://my.server.com

About

Haraka plugin that will forward emails to a remote HTTP server

License:MIT License


Languages

Language:JavaScript 100.0%