Chad Woolley
2008-Sep-07 01:59 UTC
[Cruisecontrolrb-users] Actionmailer settings work on Linux, but not on OSX Leopard
Hi, I''m trying to get CCRB emails working on mac osx leopard. Using ''mail'' from the Leopard command line sends mail fine, so I don''t think it''s a system problem. This entry sends CCRB mails fine on Linux, but fails on Leopard: ActionMailer::Base.smtp_settings = { :address => "localhost", :domain => "intranetsubdomain.domain.com" } Here''s the error messages: Error in plugin EmailNotifier: Connection refused - connect(2) Connection refused - connect(2) at ./lib/cruise_control/../../script/../config/../lib/cruise_control/../../script/../config/../lib/smtp_tls.rb:68:in `initialize'' I have the postfix port installed, I assume that is how ''mail'' is working from the command line: $ port list postfix postfix @2.5.4 mail/postfix Anyone have a working config to share, or tips other than debugging into ActionMailer? Thanks, -- Chad
Alexey Verkhovsky
2008-Sep-08 20:15 UTC
[Cruisecontrolrb-users] Actionmailer settings work on Linux, but not on OSX Leopard
On Sat, Sep 6, 2008 at 7:59 PM, Chad Woolley <thewoolleyman at gmail.com> wrote:> Anyone have a working config to share, or tips other than debugging > into ActionMailer?This error is coming from CC.rb''s monkey patch for net/smtp that allows CC.rb to deal with TLS-enabled SMTP services. You probably need to debug it. Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com]
Chad Woolley
2008-Sep-08 21:02 UTC
[Cruisecontrolrb-users] Actionmailer settings work on Linux, but not on OSX Leopard
On Mon, Sep 8, 2008 at 1:15 PM, Alexey Verkhovsky <alexey.verkhovsky at gmail.com> wrote:> You probably need to debug it.This was due to postfix daemon not running on OSX. I described how I set it up here: http://pivots.pivotallabs.com/users/chad/blog/articles/507-enabling-the-postfix-mail-daemon-on-leopard