GitXplorerGitXplorer
e

opstacle

public
2 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
b1178266f79f265804569c25c29b77d5e87da9b7

iterate

eewdurbin committed 11 years ago
Unverified
29dc2ff17965361edb983e8fab98074531c18010

Add Auto purge to make sure you can still spam if you have enough spam

eewdurbin committed 11 years ago
Unverified
91bb775ff321d8c6bb5784c6bc9d173834049b7e

try some different characters

eewdurbin committed 11 years ago
Unverified
4c333ca5f044e871da8da29f7136b4f2d4e5fa3b

iterate

eewdurbin committed 11 years ago
Unverified
f6016f570df8f79e986e97d7ea5462352c646776

need a #! to make the computer

eewdurbin committed 11 years ago
Unverified
ce734b81e1bca5a296644eb61171b54cb25bb5b5

use a computer made rst file so PyPI doesn't look so terrible

eewdurbin committed 11 years ago

README

The README file for this repository.

opstacle

An SMTP proxy built around inbox.py which attempts to maintain some sanity as your servers begin to send thousands of emails just cause.

The basic premise is emails from a given server or process will happen, but all 1300 aren't really necessary right this instant. god forbid if you pay by the smtp delivery.

Installation

pip install opstacle

Configuration

opstacle is configured only by environment variables, and our contestants are:

Pretty things

  • OPSTACLE_FROM_ADDRESS
    • Most messages will be simply relayed without modification, but we need our own name when we send rolled up emails
    • Sample Value: "Opstacle opstacle@opstacle.io"

Threshold configuration

  • OPSTACLE_INTERVAL
    • Interval to keep counters when messages have been sent, in seconds
    • Sample Value: 30
  • OPSTACLE_MESSAGE_CAP
    • Max number of messages to send in a given OPSTACLE_INTERVAL
    • Sample Value: 5
  • OPSTACLE_AUTO_PURGE
    • Max numbers to ever hold for a given recipient, dump and recollect
    • Sample Value: 100

"Fake" SMTP server (where opstacle will listen)

  • OPSTACLE_LISTEN_HOST
    • Sample Value: "127.0.0.1"
  • OPSTACLE_LISTEN_PORT
    • Sample Value: 9025

"Real" SMTP server

  • OPSTACLE_SMTP_USER
  • OPSTACLE_SMTP_PASS
    • Sample Value: "stopTheInsanity"
  • OPSTACLE_SMTP_HOST
    • Sample Value: "smtp.opstacle.org"
  • OPSTACLE_SMTP_PORT
    • Sample Value: "587"

Running

Once installed, opstacle can be invoked by calling opstacle.

Logs are spit directly to YOU! Right there on STDOUT, and no you can't turn them down