Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

email => http_post

branch: merb

This branch is 0 commits ahead and 152 commits behind master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 autotest
Octocat-spinner-32 config
Octocat-spinner-32 lib
Octocat-spinner-32 merb
Octocat-spinner-32 public
Octocat-spinner-32 schema
Octocat-spinner-32 spec
Octocat-spinner-32 tasks
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile

Scans incoming emails for mapped recipients and sends an HTTP POST somewhere.

  @user = :login => 'bob'
  @user.password = @user.password_confirmation = 'monkey'

  # set a mapping to accept email for
  @mapping = => 'support', :email_domain => '', :destination => '...')
  # you can also create wildcards for users: => 'reply-*', :email_domain => '', ...) => '*', :email_domain => '', ...)

  # need a script to read from STDIN to process emails.
  /usr/bin/merb -m /var/www/astrotrain -r 'Message.receive(' -e production

  # set it up in postfix (, ymmv)
  astrotrain unix  -       n       n       -       -       pipe
  flags=O user=www-data argv=/var/www/astrotrain/

This is still highly experimental.  Don't even bother with the web UI yet,
there's no protection against anyone signing up and creating mappings on your server.


Real web UI
Jabber support
DRb daemon
bounced emails
Something went wrong with that request. Please try again.