Troubleshoot riaevent forum

From PTAGISWiki

Jump to: navigation, search

The Sitescape event forum for the site Rock Island Adult (RIA) has been receiving an email every twenty minutes since Dec 1. It doesn't appear that the ck_submit script is sending the email, so it is unclear where the email is coming from. It appears to be the same email each time, so it may be that the email is stuck in a queue somewhere and can't be deleted. But checking the queue for the two email addresses (riaevent@psmfc.org and riaevent@pitpop.psmfc.org) shows them to be empty. Here is what the email looks like:

1277. ria 2005/12/01 12:01:19 Last data submission was received on Thu
Dec 1 9:00:28 PST 2005
Skip to reply button for entry 1277. Reply
Mail Bot
(posted via e-mail)
Posted on 12/15/05 11:04 AM The following problem was detected;
ria: Last data submission was received on Thu Dec 1 9:00:28 PST 2005

Contents

Advice from Sitescape support

If you look at the different arrival times on this message, it means that the message is being pooled from the mailbox avery 10 mins. Either Mail_Bot@pittag.org is sending this out every ten minutes or your mailbox cant delete it. Are there other messages coming without problems in the meantime? Try logging in your POP account and deleting this message manually. Even after the delete if you get the same message posted again, check with your mail admin to stop the resending of mail from Mail_Bot@pittag.org. Thanks

  • Are other messages coming in properly?
Yes. A message for events forum PRO was received 12/12/05 12:04 PM PST
  • Try logging into the POP account and delete the message.
I've tried logging into the riaevent account on the mailserver and

found no mail.

Source of alert emails

The script that generates the email normally is * blueback:/home/pittag/bin/ck_submits The script is executed from the crontab for the pittag user on blueback via this entry: 15 06,09,12,15 * * * (/bin/ksh /usr/pit/pittag/bin/p3_daily_3.sh) 1>/tmp/p3_daily_3.out 2>/tmp/p3_daily_3.err The p3_daily_3.sh script calls the ck_submits script with this invocation: /home/pittag/bin/ck_submits That means that the script can send emails only 4 times a day, but Sitescape thinks they are arriving every time it checks mail, which is 3 times per hour. So I am assuming that the script is not sending the email but rather Sitescape is erroneously reporting the email as new. But where is that email?

Sitescape logs

The following logs in /usr/local/sitescape/logs contain a reference to riaevent: rufus.psmfc.org:C1:rday: > grep -l riaevent *log emailPostings.log rufus.psmfc.org-broker-1134173003.log rufus.psmfc.org-broker.log rufus.psmfc.org-emailPostings.log rufus.psmfc.org-broker.log has many entries like this for riaevent:

Thu Dec 15 11:03:53: (13864) TaskHandle: task-732:(26131) stdout:
Retrieving messages from account riaevent@pitpop.psmfc.org...
Thu Dec 15 11:03:54: (13864) TaskHandle: task-732:(26131) stdout: 0
messages retrieved from account riaevent@pitpop.psmfc.org, and removed
from server.

rufus.psmfc.org-emailPostings.log has many entries like this for riaevent:

-------Email posting arrived at 12/15/2005 11:04---- Subject: ria
2005/12/01 12:01:19 Last data submission was received on Thu Dec 1
9:00:28 PST 2005 From: Mail_Bot@pittag.org Tolist: riaevent@psmfc.org
Agent: emailPostingAgent

Mail queues and logs

The mail queues are managed by chum.psmfc.org. These entries appear every 20 minutes in chum:/var/log/maillog:

Dec 15 12:04:02 chum ipop3d[9637]: pop3 service init from 205.230.28.72
Dec 15 12:04:02 chum ipop3d[9637]: Login user=riaevent
host=rufus.psmfc.org [205.230.28.72] nmsgs=0/0
Dec 15 12:04:02 chum ipop3d[9637]: Logout user=riaevent
host=rufus.psmfc.org [205.230.28.72] nmsgs=0 ndele=0

All of them for the last few days indicate no messages, none deleted. The most recent non-empty transaction in the log looks like this:

Dec 9 17:23:39 chum ipop3d[28835]: Login user=riaevent
host=rufus.psmfc.org [205.230.28.72] nmsgs=1/1
Dec  9 17:23:40 chum ipop3d[28835]: Logout user=riaevent host=rufus.psmfc.org [205.230.28.72] nmsgs=0 ndele=1

So it thinks it deleted a message on Dec 9 and has seen no new messages since then.

The iPlanet mail server has logs at:

  • sebastes:/global/ds2/misc/msg/msg-ldapcluster/log/imta/mail.log_current

But there are no references to riaevent messages in that log which covers events from last midnight to this afternoon.

This log entry is from salmo:/var/log/syslog:

Dec  6 06:15:03 salmo sendmail[19245]: [ID 801593 mail.info] jB6EF3f7019244: to=riaevent@pitpop.psmfc.org,
delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30911, relay=chum.psmfc.org. [199.170.103.5], 
dsn=2.0.0, stat=Sent (jB6EF3L13796 Message accepted for delivery)
Personal tools