<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Yuri,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks for the suggestion, but unfortunately, I only have Postfix running on this server, so using :sendmail doesn't work.  I'll keep trying some other variations, hopefully something will work, or someone else might have a suggestion on how to get this working.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks again,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Niels</DIV><DIV><BR><DIV><DIV>On May 18, 2007, at 3:21 PM, Yuri Gadow wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Niels,<BR><BR>I had the same trouble and resolved it by using :sendmail instead of :smtp (postfix is running on the same machine.) That's not a good solution for most, but since you're settings are for localhost, it may work for you too. <BR><BR>So, <BR><BR>ActionMailer::Base.delivery_method = :sendmail<BR><BR>and no other settings.<BR><BR><BR>Yuri<BR><BR><DIV><SPAN class="gmail_quote">On 5/18/07, <B class="gmail_sendername">Niels Meersschaert</B> &lt;<A href="mailto:nmeersschaert@mac.com"> nmeersschaert@mac.com</A>&gt; wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm running into problems getting email notifications to work with <BR>Cruisecontrol.<BR><BR>I get these errors in project_builder.log<BR><BR>[error] [2007-05-18 13:48:23] Error sending e-mail - current server<BR>settings are :<BR>   :password = nil<BR>   :domain = "localhost.localdomain "<BR>   :port = 25<BR>   :user_name = nil<BR>   :address = "localhost"<BR>   :authentication = nil<BR>[error] 502 Error: command not implemented<BR><BR>[error]   /usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response' <BR>[error]   /usr/lib/ruby/1.8/net/smtp.rb:653:in `getok'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/vendor/plugins/<BR>action_mailer_tls/smtp_tls.rb:56:in `starttls'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0 /vendor/plugins/<BR>action_mailer_tls/smtp_tls.rb:19:in `do_start'<BR>[error]   /usr/lib/ruby/1.8/net/smtp.rb:378:in `start'<BR>[error]   /usr/lib/ruby/1.8/net/smtp.rb:316:in `start'<BR>[error]   /usr/local/cruisecontrolrb- 1.1.0/config/../script/../<BR>config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:565:in<BR>`perform_delivery_smtp'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/../<BR>config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:451:in <BR>`deliver!'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/../<BR>config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:333:in<BR>`method_missing'<BR>[error]   /usr/local/cruisecontrolrb- 1.1.0/config/../script/../<BR>config/../builder_plugins/installed/email_notifier.rb:52:in `email'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/../<BR>config/../builder_plugins/installed/email_notifier.rb:41:in <BR>`build_finished'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/../<BR>config/../app/models/project.rb:293:in `notify'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/../<BR>config/../app/models/project.rb:291:in `notify' <BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/../<BR>config/../app/models/project.rb:276:in `build'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/../<BR>config/../app/models/project.rb:205:in `build_if_necessary' <BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/../<BR>config/../app/models/polling_scheduler.rb:13:in `run'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/builder:82<BR>[error]   /usr/local/cruisecontrolrb- 1.1.0/config/../script/builder:81<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../cruise:14:in<BR>`builder'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../cruise:66<BR>[error] Error in plugin EmailNotifier: 502 Error: command not <BR>implemented<BR><BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/../<BR>config/../app/models/project.rb:318:in `notify'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/../<BR>config/../app/models/project.rb:276:in `build' <BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/../<BR>config/../app/models/project.rb:205:in `build_if_necessary'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/../<BR>config/../app/models/polling_scheduler.rb:13:in `run' <BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/builder:82<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../script/builder:81<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../cruise:14:in<BR> `builder'<BR>[error]   /usr/local/cruisecontrolrb-1.1.0/config/../cruise:66<BR><BR>I have trac on the same machine using localhost as the smtp server<BR>with no authentication &amp; that works fine.  Any suggestions on how to <BR>tweak the config?  I've tried editing site_config.rb to the<BR>following, with no change:<BR><BR>  ActionMailer::Base.smtp_settings = {<BR>    :address =&gt;        "localhost"<BR>  }<BR><BR>Thanks,<BR><BR> Niels<BR>_______________________________________________<BR>Cruisecontrolrb-users mailing list<BR><A href="mailto:Cruisecontrolrb-users@rubyforge.org">Cruisecontrolrb-users@rubyforge.org</A><BR><A href="http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users"> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users</A><BR></BLOCKQUOTE></DIV><BR><BR clear="all"><BR>-- <BR>Yuri Gadow<BR><A href="http://yuri.gadow.name/">http://yuri.gadow.name/</A></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>