Skip to content
forked from parkr/steve

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

License

Notifications You must be signed in to change notification settings

priestd09/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

Languages

  • Python 95.1%
  • Shell 4.9%