Hi, i was having trobule implementing actionmailer on a new server of my app working with mongrel_rails + postfix . . . beforehand, while developing, i was using postfix + webrick, and i could send emails quite easily; in fact, there was no problem at all... :) however, with mongrel_rails, it seems the action mailer doesn''t have the right configuration to access the postfix server. ie, ACTIONMAILER DOESN''T SEND ANY EMAILS!! i''ve been rubbing my head on this for about six-seven hours, and i have no idea where to proceed from here...pretty weak documentation as far as i have gone around. is there a slight chance anyone has some hidden resource on the web i haven''t found? or someone know of where i put this configuration? many thanks for any help, or any lead... john -- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Dec 11, 2006, at 6:18 AM, Shai Rosenfeld wrote:> > Hi, > > i was having trobule implementing actionmailer on a new server of > my app > working with mongrel_rails + postfix . . . beforehand, while > developing, > i was using postfix + webrick, and i could send emails quite > easily; in > fact, there was no problem at all... :) > however, with mongrel_rails, it seems the action mailer doesn''t > have the > right configuration to access the postfix server. ie, ACTIONMAILER > DOESN''T SEND ANY EMAILS!! i''ve been rubbing my head on this for about > six-seven hours, and i have no idea where to proceed from > here...pretty > weak documentation as far as i have gone around. > is there a slight chance anyone has some hidden resource on the web i > haven''t found? or someone know of where i put this configuration? > many thanks for any help, or any lead... > > johnHi, The environment would be my first guess if Webrick works and Mongrel doesn''t. Any chance that Mongrel is running with the Rails environment set to ''development?'' By default, I think config/development.rb has this line: config.action_mailer.raise_delivery_errors = false So you wouldn''t see delivery errors as exceptions. And in test, ActionMailer doesn''t use the MTA at all: config.action_mailer.delivery_method = :test Scott --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
i''ll check it out... thx for the help :) -- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
i''ll check it out... thx for the help -- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I have an application that uses mongrel_clusters and postfix and it works just fine "out of the box". I basically followed the Action Mailer chapter in the Agile book. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---