Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.
/ haraka-http-forward Public archive

Haraka plugin that will forward emails to a remote HTTP server

License

Notifications You must be signed in to change notification settings

jplock/haraka-http-forward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published