Hello, I''m trying to make my rails app send mail. I''m using Postfix + Dovecot + SASL on Linux Debian VPS: http://www.debianadmin.com/debian-mail-server-setup-with-postfix-dovecot-sasl-squirrel-mail.html I''m using the following configuration in environment.rb: config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => "localhost", :port => 25, :domain => "domain.com", :user_name => "user", :password => "password", :authentication => :plain } I see the following error: /!\ FAILSAFE /!\ Sat Mar 21 13:40:53 -0700 2009 Status: 500 Internal Server Error 535 5.7.0 Error: authentication failed: authentication failure /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/net/smtp.rb:585:in `auth_login'' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/net/smtp.rb:570:in `__send__'' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/net/smtp.rb:570:in `authenticate'' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/net/smtp.rb:410:in `do_start'' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/net/smtp.rb:377:in `start'' /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/1.8/net/smtp.rb:315:in `start'' /var/www/releases/20090318014324/vendor/rails/actionmailer/lib/action_mailer/base.rb:627:in `perform_delivery_smtp'' /var/www/releases/20090318014324/vendor/rails/actionmailer/lib/action_mailer/base.rb:508:in `__send__'' /var/www/releases/20090318014324/vendor/rails/actionmailer/lib/action_mailer/base.rb:508:in `deliver!'' /var/www/releases/20090318014324/vendor/rails/actionmailer/lib/action_mailer/base.rb:383:in `method_missing'' /var/www/releases/20090318014324/app/controllers/application.rb:74:in `log_error'' /var/www/releases/20090318014324/vendor/rails/actionpack/lib/action_controller/rescue.rb:115:in `rescue_action'' /var/www/releases/20090318014324/vendor/rails/actionpack/lib/action_controller/rescue.rb:203:in `perform_action_without_caching'' /var/www/releases/20090318014324/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'' .......... Any ideas? Thanks, Tam -- 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 -~----------~----~----~----~------~----~------~--~---