Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.
/ steve Public archive

A simple python server for storing messages from MailGun to MySQL.

License

Notifications You must be signed in to change notification settings

parkr/steve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

steve

Mail time. Mail time! MAIL TIME!!! We just got a letter!

Oh yeah.

Installation

Run server.py in the background and add the following to your nginx.conf:

server {
  listen 80;
  server_name my_server.com;

  location / {
    proxy_pass        http://localhost:8888;
    proxy_set_header  X-Real-IP  $remote_addr;
  }
}

Usage

Set the forward() rule in your MailGun preferences:

forward("http://my_server.com/messages/store")

On your server, just run the following and you're good to go:

~/code/steve$ ./server.py
# => [I 130714 21:08:29 pid:11] Checking pidfile '/var/run/steve.8888.pid'

License

MIT

About

A simple python server for storing messages from MailGun to MySQL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published