<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: tahoma,new york,times,serif; font-size: 12pt; color: #000000'>Hi everyone,<div><br></div><div>Can anybody help me in this case?</div><div><br></div><div>Thanks!<br><br><div><font size="3"><span name="x"></span></font><b style="color: rgb(0, 0, 0); font-size: 12pt;"><font color="#4d4d4d" face="tahoma, new york, times, serif">Bruno Henrique Barbosa</font></b>
<div>
<div><font color="#808080" size="2">Jr. Sys Admin</font></div></div><div><font color="#808080" size="2">IT Department</font></div><div><font color="#808080" size="2">Santos City Hall</font></div></div><hr id="zwchr" style="color: rgb(0, 0, 0); font-size: 12pt;"><div style="color: rgb(0, 0, 0); font-size: 12pt; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif;"><b>De: </b>"Bruno Henrique Barbosa" <bruno-barbosa@prodesan.com.br><br><b>Para: </b>"stuart green" <stuart.green@doccentrics.com>, spacewalk-list@redhat.com<br><b>Enviadas: </b>Sexta-feira, 21 de Fevereiro de 2014 15:01:14<br><b>Assunto: </b>Re: [Spacewalk-list] Daily Summary mails<br><br><style>p { margin: 0; }</style><div style="font-family: tahoma,new york,times,serif; font-size: 12pt; color: #000000">Hi Stuart, I appreciate your help.<div><br></div><div>I know the mails are sent via java call, and even tho I didn't find any guide on Spacewalk docs, I could find this article on RedHat https://access.redhat.com/site/solutions/46573, but it didn't solve my problem. I've specified that strings on /etc/rhn.conf and also on /usr/share/rhn/config-defaults/rhn_web.conf, but I've got no results yet.</div><div><br></div><div>Two days ago, before I configured Postfix, I could receive some logs on /var/log/rhn/tasko/sat/daily-status-bunch like this one:</div><div><br></div><div><div>2014-02-19 23:00:00,101 [DefaultQuartzScheduler_Worker-9] ERROR com.redhat.rhn.taskomatic.task.DailySummary  - MessagingException while trying to send email: javax.mail.SendFailedException: Send failed;</div><div>  nested exception is: </div><div><span class="Apple-tab-span" style="white-space:pre"> </span>javax.mail.MessagingException: Connection refused;</div><div>  nested exception is: </div><div><span class="Apple-tab-span" style="white-space:pre">   </span>java.net.ConnectException: Connection refused</div><div>com.redhat.rhn.common.messaging.JavaMailException: MessagingException while trying to send email: javax.mail.SendFailedException: Send failed;</div><div>  nested exception is: </div><div><span class="Apple-tab-span" style="white-space:pre">   </span>javax.mail.MessagingException: Connection refused;</div><div>  nested exception is: </div><div><span class="Apple-tab-span" style="white-space:pre">   </span>java.net.ConnectException: Connection refused</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at com.redhat.rhn.common.messaging.SmtpMail.send(SmtpMail.java:145)</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>at com.redhat.rhn.taskomatic.task.TaskHelper.sendMail(TaskHelper.java:168)</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>at com.redhat.rhn.taskomatic.task.DailySummary.queueOrgEmails(DailySummary.java:172)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>at com.redhat.rhn.taskomatic.task.DailySummary.execute(DailySummary.java:95)</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:82)</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:169)</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>at org.quartz.core.JobRunShell.run(JobRunShell.java:216)</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)</div><div>Caused by: javax.mail.SendFailedException: Send failed;</div><div>  nested exception is: </div><div><span class="Apple-tab-span" style="white-space:pre">       </span>javax.mail.MessagingException: Connection refused;</div><div>  nested exception is: </div><div><span class="Apple-tab-span" style="white-space:pre">   </span>java.net.ConnectException: Connection refused</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at javax.mail.Transport.doSend(Transport.java:231)</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>at javax.mail.Transport.send(Transport.java:75)</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>at com.redhat.rhn.common.messaging.SmtpMail.send(SmtpMail.java:139)</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>... 7 more</div><div><br></div><div>But since yesterday, no *_out neither *_err logs have been generated in that path, so I assume the connection happens, but it still doesn't deliver the email because of another setting missing.</div><div><br></div><div><b style="font-size: 12pt;"><font color="#4d4d4d" face="tahoma, new york, times, serif">Bruno Henrique Barbosa</font></b></div><div><div>
<div><div><font color="#808080" size="2">Jr. Sys Admin</font></div><div><font color="#808080" size="2">IT Department</font></div><div><font color="#808080" size="2">Santos City Hall</font></div></div></div><span></span><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Stuart Green" <stuart.green@doccentrics.com><br><b>Para: </b>spacewalk-list@redhat.com<br><b>Enviadas: </b>Sexta-feira, 21 de Fevereiro de 2014 12:19:18<br><b>Assunto: </b>Re: [Spacewalk-list] Daily Summary mails<br><br>




    <br>
    I think the mails sent via a java call, mine always appear in my
    inbox marked 23:00, but it never appears in /var/log/*mail*<br>
    <br>
    Doesn't really help you, but maybe tells you were not to look.<br>
    <br>
    <br>
    Make sure you have the following ticked though!  Spacewalk UI >
    Users > YourUser > Preferences > User  > Receive email
    notifications
    <div class="moz-cite-prefix"><br>
      <br>
      Cheers!<br>
      <br>
    </div>
    <blockquote cite="mid:32debec5-a616-4554-a9b4-69aa75f5f5bc@prod190.prodesan.com.br">
      <style>p { margin: 0; }</style>
      <div style="font-family: tahoma,new york,times,serif; font-size:
        12pt; color: #000000">Hi everyone,
        <div><br>
        </div>
        <div>I need some help with daily status summary, I'm not
          receiving mails from it.</div>
        <div>Environment is CentOS 6.5 x64 with Spacewalk 2.0 running, I
          have configured Postfix configured to relay mail to my
          internal MTA and it is working fine, because I have configured
          Monitoring probes, and I'm constantly receiving some
          notifications from a test client host, but when it comes to
          receive anything from schedule "daily-status-default", it just
          don't appear anything on /var/log/maillog or
          /var/log/rhn/tasko/sat/daily-status-bunch.</div>
        <div><br>
        </div>
        <div>Really need some help in this, thank you very much!<br>
          <br>
          <div><font size="3"><span></span></font><b style="color: rgb(0, 0, 0); font-size: 12pt;"><font color="#4d4d4d" face="tahoma, new york, times, serif">Bruno
                Henrique Barbosa</font></b>
            <div>
              <div><font color="#808080" size="2">Jr. Sys Admin</font></div>
            </div>
            <div><font color="#808080" size="2">IT Department</font></div>
            <div><font color="#808080" size="2">Santos City Hall</font></div>
            <font size="3"><span></span></font><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Spacewalk-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></pre>
    </blockquote>
    <br>


<br>_______________________________________________<br>Spacewalk-list mailing list<br>Spacewalk-list@redhat.com<br>https://www.redhat.com/mailman/listinfo/spacewalk-list</div><br></div></div></div><br></div></div></body></html>