On Mon, May 18, 2009 at 1:38 PM, rcs <[email protected]> wrote:

> I want to automate dealing with bounced messages, so I have bounced
> emails bounce back to "[email protected]."
>
> I want to do this in my /etc/aliases file:
>
> bounces:  | "RAILS_ENV=production /usr/bin/ruby /home/rails/appname/
> current/script/runner 'BouncedEmail.receive(STDIN.read)'

I would think that would be iffy just because of the startup time.

Personally I would create an actual "bounces" user, let the mails go
to that account normally, and run a cron job to process the mail file.

YMMV!
-- 
Hassan Schroeder ------------------------ [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to