RedStamp ruby remailer
Status
Basic beta is out. Doesn't have many mixins, and the remailer support is up to the implementerWhat am I?
A ruby framework for dealing with catching emails, parsing them, dealing with them arbitrarily and remailing them. You might also want to look at Gurgitate-mail. You may even want to combine the two.Special thanks to Damieng in ##csharp on irc.freenode.org for suggesting the name (the connotation should be obvious).
Huh? Why
One might ask: "what do I use this for?" Say you want to have a Postfix catchall email address. Further, say that catchall needs to be able to filter email based on different criteria, but further: you need to DO something other than saving/forwarding/rejecting, such as altering a database or updating a little LCD screen with flashing lights (that gives me a really, really cool idea...). You may even want to log what you're doing!The domain for RedStamp is rather obscure, but it's flexible enough to do pretty much whatever you want. Especially since you're taking advantage of Ruby's use of traits, awesome reflection and all kinds of dynamic goodness.
Releases
- Misc Modules:
- RedStamp flatfile logger - Ruby Source - you'll notice it's just a static wrapper around Ruby's preexisting classes. Mix the class in (via traits) and call Logger.severity(text). It should rotate logs too, but doesn't actually seem to
Documentation
I've found copies of UML for a specific implementation that I've included below
- Class Diagram
- Generic action diagram (the app without any customization)
- Naive implementation of a logger
- see README for detailed information
Dependencies
- RubyMail (gem 'rmail' or available at http://www.lickey.com/rubymail/)
Licensing
- RedStamp, like most things I write, is MIT licensed
- Documentation on this wiki abides by the Creative Commons 2 license
This page is CategoryMiscProjects