<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>While you're right about that, when I do that, I notice a slight variation from the trac output that seems to be preventing delivery with this technique.  Although CruiseControl no longer balks about a plugin error, if I look at the postfix log file I see this for a message from CruiseControl:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>May 18 16:01:09 106732-dev1 postfix/pickup[25255]: 168793E4634: uid=0 from=&lt;root&gt;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>For trac, I get</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><FONT class="Apple-style-span" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">May 18 15:00:30 106732-dev1 postfix/smtpd</SPAN></FONT><A href="http://dev1.gucci.com/trac/cms/changeset/22360"><FONT class="Apple-style-span" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><FONT class="Apple-style-span" color="#999989">[22360]</FONT></SPAN></FONT></A><FONT class="Apple-style-span" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">: connect from localhost[127.0.0.1] </SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">May 18 15:00:30 106732-dev1 postfix/smtpd</SPAN></FONT><A href="http://dev1.gucci.com/trac/cms/changeset/22360"><FONT class="Apple-style-span" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><FONT class="Apple-style-span" color="#999989">[22360]</FONT></SPAN></FONT></A><FONT class="Apple-style-span" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">: 8F14C3E45E6: client=localhost[127.0.0.1] May 18</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">This also affects the from id, causing it to ignore the user I had set in the site config file &amp; instead use the user that was running cruisecontrol.  Although postfix claimed it sent successfully, the messages weren't received by the addressees.</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">Niels</SPAN></FONT></DIV><DIV><BR><DIV><DIV>On May 18, 2007, at 4:21 PM, Yuri Gadow wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Niels,<BR><BR>I also only have postfix as well and it works fine with the :sendmail option. For the most part, Postfix is a drop-in replacement for Sendmail.<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;"> <DIV style="">Yuri,<DIV><BR></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></DIV><DIV>Thanks again,</DIV><SPAN class="sg"><DIV><BR></DIV><DIV>Niels</DIV></SPAN><DIV><SPAN class="e" id="q_112a0b5f36eb33ef_2"><DIV><BR><DIV><DIV>On May 18, 2007, at 3:21 PM, Yuri Gadow wrote:</DIV><BR> <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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> 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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> Cruisecontrolrb-users@rubyforge.org</A><BR><A href="http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> 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/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://yuri.gadow.name/</A></BLOCKQUOTE></DIV> <BR></DIV></SPAN></DIV></DIV></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>