Wiki source for RubyRedStamp


Show raw source

==== [[RubyRedStamp RedStamp]] ruby remailer ====
{{lastedit show="3"}}
=== Status ===
Basic beta is out. Doesn't have many mixins, and the remailer support is up to the implementer

=== What 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 [[http://www.dagbrown.com/software/gurgitate-mail/ 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 [[RubyRedStamp 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 ===

~- [[http://epiphanic.org/files/RedStamp.tar.gz RedStamp - Tar/GZip]]
~- [[http://epiphanic.org/files/RedStamp.zip RedStamp - Zip]]

~- Misc Modules:
~~- [[http://epiphanic.org/files/FlatFileLogger.rb 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 << ::c::
~- [[http://epiphanic.org/images/EmailHierarchy4.png Class Diagram]]
~- [[http://epiphanic.org/images/VLEmailScenario.png Generic action diagram (the app without any customization)]]
~- [[http://epiphanic.org/images/LoggerAction.png Naive implementation of a logger]]
~- see README for detailed information

=== Dependencies ===
~- ""RubyMail"" (gem 'rmail' or available at [[http://www.lickey.com/rubymail/]])

=== Licensing ===
~- [[RubyRedStamp RedStamp]], like most things I write, is [[http://opensource.org/licenses/mit-license.php MIT licensed]]
~- Documentation on this wiki abides by the [[http://creativecommons.org/licenses/by-nc-sa/2.0/ Creative Commons 2 license]]

----
This page is [[CategoryMiscProjects]]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki