[Cruisecontrolrb-users] Email notifications
Niels Meersschaert
nmeersschaert at mac.com
Fri May 18 15:10:56 EDT 2007
I'm running into problems getting email notifications to work with
Cruisecontrol.
I get these errors in project_builder.log
[error] [2007-05-18 13:48:23] Error sending e-mail - current server
settings are :
:password = nil
:domain = "localhost.localdomain"
:port = 25
:user_name = nil
:address = "localhost"
:authentication = nil
[error] 502 Error: command not implemented
[error] /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response'
[error] /usr/lib/ruby/1.8/net/smtp.rb:653:in `getok'
[error] /usr/local/cruisecontrolrb-1.1.0/vendor/plugins/
action_mailer_tls/smtp_tls.rb:56:in `starttls'
[error] /usr/local/cruisecontrolrb-1.1.0/vendor/plugins/
action_mailer_tls/smtp_tls.rb:19:in `do_start'
[error] /usr/lib/ruby/1.8/net/smtp.rb:378:in `start'
[error] /usr/lib/ruby/1.8/net/smtp.rb:316:in `start'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:565:in
`perform_delivery_smtp'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:451:in
`deliver!'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:333:in
`method_missing'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../builder_plugins/installed/email_notifier.rb:52:in `email'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../builder_plugins/installed/email_notifier.rb:41:in
`build_finished'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../app/models/project.rb:293:in `notify'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../app/models/project.rb:291:in `notify'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../app/models/project.rb:276:in `build'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../app/models/project.rb:205:in `build_if_necessary'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../app/models/polling_scheduler.rb:13:in `run'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/builder:82
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/builder:81
[error] /usr/local/cruisecontrolrb-1.1.0/config/../cruise:14:in
`builder'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../cruise:66
[error] Error in plugin EmailNotifier: 502 Error: command not
implemented
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../app/models/project.rb:318:in `notify'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../app/models/project.rb:276:in `build'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../app/models/project.rb:205:in `build_if_necessary'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/../
config/../app/models/polling_scheduler.rb:13:in `run'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/builder:82
[error] /usr/local/cruisecontrolrb-1.1.0/config/../script/builder:81
[error] /usr/local/cruisecontrolrb-1.1.0/config/../cruise:14:in
`builder'
[error] /usr/local/cruisecontrolrb-1.1.0/config/../cruise:66
I have trac on the same machine using localhost as the smtp server
with no authentication & that works fine. Any suggestions on how to
tweak the config? I've tried editing site_config.rb to the
following, with no change:
ActionMailer::Base.smtp_settings = {
:address => "localhost"
}
Thanks,
Niels
More information about the Cruisecontrolrb-users
mailing list