RT 4.0.5 : rt-email-dashboards cron not working

Ever since we upgraded from RT 3.8.8 to RT 4.0.5 our dashboard cron hasn’t
been sending out emails. I checked the logs but nothing to note there other
than it says it emailed them out.

I ran a test email on the command line and the mail went through, NTF.

Any and all help is always appreciated,
Thanks,
Scott
View this message in context: http://old.nabble.com/RT-4.0.5-%3A-rt-email-dashboards-cron-not-working-tp33671941p33671941.html

Ever since we upgraded from RT 3.8.8 to RT 4.0.5 our dashboard cron hasn’t
been sending out emails. I checked the logs but nothing to note there other
than it says it emailed them out.

I ran a test email on the command line and the mail went through, NTF.

Any and all help is always appreciated,
Thanks,
Scott
View this message in context: http://old.nabble.com/RT-4.0.5-%3A-rt-email-dashboards-cron-not-working-tp33671942p33671942.html

Ever since we upgraded from RT 3.8.8 to RT 4.0.5 our dashboard cron hasn’t
been sending out emails. I checked the logs but nothing to note there other
than it says it emailed them out.

I ran a test email on the command line and the mail went through, NTF.

If you read the documentation for the dashboard mailer, there are two
flags you can use for debugging.

-kevin

Hi Kevin,

I’ve looked and looked, I must not be looking in the right place but if you
could direct me to the place where I can find the flags it would be most
appreciated. I even bought the RT book but couldn’t find it there either.

Thanks,
Scott

Kevin Falcone-2 wrote:

Ever since we upgraded from RT 3.8.8 to RT 4.0.5 our dashboard cron
hasn’t
been sending out emails. I checked the logs but nothing to note there
other
than it says it emailed them out.

I ran a test email on the command line and the mail went through, NTF.

If you read the documentation for the dashboard mailer, there are two
flags you can use for debugging.

-kevin

View this message in context: http://old.nabble.com/Re%3A-RT-4.0.5-%3A-rt-email-dashboards-cron-not-working-tp33671969p33678061.html

Kevin Falcone-2 wrote:

Ever since we upgraded from RT 3.8.8 to RT 4.0.5 our dashboard cron
hasn’t
been sending out emails. I checked the logs but nothing to note there
other
than it says it emailed them out.

I ran a test email on the command line and the mail went through, NTF.

If you read the documentation for the dashboard mailer, there are two
flags you can use for debugging.
I’ve looked and looked, I must not be looking in the right place but if you
could direct me to the place where I can find the flags it would be most
appreciated. I even bought the RT book but couldn’t find it there either.

/opt/rt4/sbin/rt-email-dashboards --help

–help or running perldoc on an RT command should generally result in
up-to-date documentation.

-kevin

Thanks, I ran : # ./rt-email-dashboards --dryrun --all and it returned the
Dashboards that users have subscribed to. This is good as this is what I
would expect.

When I set a subscription for my userid within RT I see it in the log in
[debug] mode, and it says it sent it out, but, I don’t get an email.

[Thu Apr 12 14:02:58 2012] [debug]: Generating dashboard “Scott’s NOT
Resolved” for user “myuserid@mycompany.com”:
(/apps/rt-4.0.5/sbin/…/lib/RT/Dashboard/Mailer.pm:226)
[Thu Apr 12 14:02:59 2012] [debug]: Mailing dashboard “Scott’s NOT Resolved”
to user myuserid@mycompany.com myuserid@mycompany.com
(/apps/rt-4.0.5/sbin/…/lib/RT/Dashboard/Mailer.pm:348)
[Thu Apr 12 14:02:59 2012] [debug]: Done sending dashboard to
myuserid@mycompany.com myuserid@mycompany.com
(/apps/rt-4.0.5/sbin/…/lib/RT/Dashboard/Mailer.pm:359)On the command line I run : mailx -v -s “TEST” myuserid@mycompany.com < /dev/null and I get the test email. Any ideas ? Thanks, Scott Kevin Falcone-2 wrote:

On Thu, Apr 12, 2012 at 01:37:39PM -0700, UnixMan wrote:

Kevin Falcone-2 wrote:

On Wed, Apr 11, 2012 at 02:58:21PM -0700, UnixMan wrote:

Ever since we upgraded from RT 3.8.8 to RT 4.0.5 our dashboard cron
hasn’t
been sending out emails. I checked the logs but nothing to note there
other
than it says it emailed them out.

I ran a test email on the command line and the mail went through, NTF.

If you read the documentation for the dashboard mailer, there are two
flags you can use for debugging.
I’ve looked and looked, I must not be looking in the right place but if
you
could direct me to the place where I can find the flags it would be most
appreciated. I even bought the RT book but couldn’t find it there either.

/opt/rt4/sbin/rt-email-dashboards --help

–help or running perldoc on an RT command should generally result in
up-to-date documentation.

-kevin

View this message in context: http://old.nabble.com/Re%3A-RT-4.0.5-%3A-rt-email-dashboards-cron-not-working-tp33671969p33678318.html

Thanks, I ran : # ./rt-email-dashboards --dryrun --all and it returned the
Dashboards that users have subscribed to. This is good as this is what I
would expect.

When I set a subscription for my userid within RT I see it in the log in
[debug] mode, and it says it sent it out, but, I don’t get an email.

[Thu Apr 12 14:02:58 2012] [debug]: Generating dashboard “Scott’s NOT
Resolved” for user “myuserid@mycompany.com”:
(/apps/rt-4.0.5/sbin/…/lib/RT/Dashboard/Mailer.pm:226)
[Thu Apr 12 14:02:59 2012] [debug]: Mailing dashboard “Scott’s NOT Resolved”
to user myuserid@mycompany.com myuserid@mycompany.com
(/apps/rt-4.0.5/sbin/…/lib/RT/Dashboard/Mailer.pm:348)
[Thu Apr 12 14:02:59 2012] [debug]: Done sending dashboard to
myuserid@mycompany.com myuserid@mycompany.com
(/apps/rt-4.0.5/sbin/…/lib/RT/Dashboard/Mailer.pm:359)

On the command line I run : mailx -v -s “TEST” myuserid@mycompany.com <
/dev/null and I get the test email.

Have you looked in your mail logs?

Just testing with mailx is insufficient, and any mail errors will be
contained in your maillogs, which can also verify if mail was sent.

-kevin

The test let me see that the host can send out mail. My mail log says it sent
too :

Apr 13 14:00:03 RTserver sendmail[15698]: q3DI03fJ015698: from=root,
size=102528, class=0, nrcpts=1,
msgid=201204131800.q3DI03fJ015698@RTserver.mydomain.com,
relay=root@localhost
Apr 13 14:00:03 RTserver sendmail[15699]: q3DI030J015699:
from=root@RTserver.mydomain.com, size=102756, class=0, nrcpts=1,
msgid=201204131800.q3DI03fJ015698@RTserver.mydomain.com, proto=ESMTP,
daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 13 14:00:03 RTserver sendmail[15698]: q3DI03fJ015698:
to=myuserid@mydomain.com, ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=132528, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (q3DI030J015699 Message accepted for delivery)
Apr 13 14:00:04 RTserver sendmail[15701]: STARTTLS=client,
relay=myrelay.mydomain.com., version=TLSv1/SSLv3, verify=FAIL,
cipher=RC4-MD5, bits=128/128
Apr 13 14:00:04 RTserver sendmail[15701]: q3DI030J015699:
to=myuserid@mydomain.com, ctladdr=root@RTserver.mydomain.com (0/0),
delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=222756,
relay=myrelay.mydomain.com. [10.60.7.44], dsn=2.0.0, stat=Sent (
201204131800.q3DI03fJ015698@RTserver.mydomain.com Queued mail for
delivery)

The line that has the FAIL in it is there on emails that are sent via the
normal RT assignments or when I tested it via the command line.

Other than that it looks like it sent ok.

Kevin Falcone-2 wrote:

Thanks, I ran : # ./rt-email-dashboards --dryrun --all and it returned
the
Dashboards that users have subscribed to. This is good as this is what I
would expect.

When I set a subscription for my userid within RT I see it in the log in
[debug] mode, and it says it sent it out, but, I don’t get an email.

[Thu Apr 12 14:02:58 2012] [debug]: Generating dashboard “Scott’s NOT
Resolved” for user “myuserid@mycompany.com”:
(/apps/rt-4.0.5/sbin/…/lib/RT/Dashboard/Mailer.pm:226)
[Thu Apr 12 14:02:59 2012] [debug]: Mailing dashboard “Scott’s NOT
Resolved”
to user myuserid@mycompany.com myuserid@mycompany.com
(/apps/rt-4.0.5/sbin/…/lib/RT/Dashboard/Mailer.pm:348)
[Thu Apr 12 14:02:59 2012] [debug]: Done sending dashboard to
myuserid@mycompany.com myuserid@mycompany.com
(/apps/rt-4.0.5/sbin/…/lib/RT/Dashboard/Mailer.pm:359)

On the command line I run : mailx -v -s “TEST” myuserid@mycompany.com <
/dev/null and I get the test email.

Have you looked in your mail logs?

Just testing with mailx is insufficient, and any mail errors will be
contained in your maillogs, which can also verify if mail was sent.

-kevin

View this message in context: http://old.nabble.com/Re%3A-RT-4.0.5-%3A-rt-email-dashboards-cron-not-working-tp33671969p33684777.html

The test let me see that the host can send out mail. My mail log says it sent
too :

Apr 13 14:00:03 RTserver sendmail[15698]: q3DI03fJ015698: from=root,
size=102528, class=0, nrcpts=1,
msgid=201204131800.q3DI03fJ015698@RTserver.mydomain.com,
relay=root@localhost
Apr 13 14:00:03 RTserver sendmail[15699]: q3DI030J015699:
from=root@RTserver.mydomain.com, size=102756, class=0, nrcpts=1,
msgid=201204131800.q3DI03fJ015698@RTserver.mydomain.com, proto=ESMTP,
daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 13 14:00:03 RTserver sendmail[15698]: q3DI03fJ015698:
to=myuserid@mydomain.com, ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=132528, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (q3DI030J015699 Message accepted for delivery)
Apr 13 14:00:04 RTserver sendmail[15701]: STARTTLS=client,
relay=myrelay.mydomain.com., version=TLSv1/SSLv3, verify=FAIL,
cipher=RC4-MD5, bits=128/128
Apr 13 14:00:04 RTserver sendmail[15701]: q3DI030J015699:
to=myuserid@mydomain.com, ctladdr=root@RTserver.mydomain.com (0/0),
delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=222756,
relay=myrelay.mydomain.com. [10.60.7.44], dsn=2.0.0, stat=Sent (
201204131800.q3DI03fJ015698@RTserver.mydomain.com Queued mail for
delivery)

The line that has the FAIL in it is there on emails that are sent via the
normal RT assignments or when I tested it via the command line.

And what do the logs on 10.60.7.44 say? You’ve shown the mail gets
off of the RT server, so at this point nothing seems to be RT’s fault.

-kevin

Thanks for all your help, what we did was have the mail go directly to our
mail gateway rather than the mail relay and that works. Will have to look at
it another time when things calm down.

Scott
View this message in context: http://old.nabble.com/Re%3A-RT-4.0.5-%3A-rt-email-dashboards-cron-not-working-tp33671969p33763538.html