On Mon, May 18, 2009 at 1:38 PM, rcs <rsar...@gmail.com> wrote:

> I want to automate dealing with bounced messages, so I have bounced
> emails bounce back to "boun...@mydomain.com."
>
> 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 ------------------------ hassan.schroe...@gmail.com

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to