This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit eb28bce1a6d4e755d58cb4dacb4413871c865b3a
tree 5f25bd65f674fb1041f88b85280ea2848c3336ba
parent 22010ad2502aaa1f54d54a0c174b27f00a02a547 parent 182ae72c825098bf22b9e539930280cb25314860
tree 5f25bd65f674fb1041f88b85280ea2848c3336ba
parent 22010ad2502aaa1f54d54a0c174b27f00a02a547 parent 182ae72c825098bf22b9e539930280cb25314860
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
LICENSE | Thu Oct 16 21:00:16 -0700 2008 | |
| |
README | Sun Oct 19 15:38:27 -0700 2008 | |
| |
Rakefile | Thu Oct 16 00:54:51 -0700 2008 | |
| |
app/ | Sun Apr 19 19:44:29 -0700 2009 | |
| |
autotest/ | Fri Nov 21 16:18:42 -0800 2008 | |
| |
config/ | Sun Apr 19 19:44:29 -0700 2009 | |
| |
lib/ | ||
| |
merb/ | ||
| |
public/ | Fri Nov 21 16:18:42 -0800 2008 | |
| |
schema/ | Sun Oct 19 15:38:27 -0700 2008 | |
| |
spec/ | ||
| |
tasks/ | Fri Nov 21 16:18:42 -0800 2008 | |
| |
vendor/ |
README
astrotrain ========== Scans incoming emails for mapped recipients and sends an HTTP POST somewhere. @user = User.new :login => 'bob' @user.password = @user.password_confirmation = 'monkey' @user.save # set a mapping to accept email for support@example.com @mapping = @user.mappings.build(:email_user => 'support', :email_domain => 'example.com', :destination => '...') @mapping.save # you can also create wildcards for users: @user.mappings.build(:email_user => 'reply-*', :email_domain => 'example.com', ...) @user.mappings.build(:email_user => '*', :email_domain => 'example.com', ...) # need a script to read from STDIN to process emails. /usr/bin/merb -m /var/www/astrotrain -r 'Message.receive(STDIN.read)' -e production # set it up in postfix (master.cf, ymmv) astrotrain unix - n n - - pipe flags=O user=www-data argv=/var/www/astrotrain/merb.sh 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. TODO ==== Real web UI Jabber support DRb daemon bounced emails







