11-04-2010 06:26 AM - edited 03-19-2019 01:52 AM
A route only routed on one side for a week and dropped the path from my Unity Connection 8.x server to my corporate SMTP relay. When this happened, mail to Exchange backed up until the problem was noticed and reported. While I was able to get that fixed quickly, there is still a pile of mail in the badmail queue and I've got no idea how to get rid of it.
syslog shows this:
%UC_UCEVNT-3-EvtMsgWarnErrorAlert: %[AppID=CuSysAgent][ClusterID=][NodeID=<snip>]: The periodic task com.cisco.unity.UmssSysAgentTasks.MonitorBadmailFolderTask generated either an error or warning alert. See https://<snip>/cuadmin/task-definition.do?op=readResults&objectId=c45173b9-85b5-4954-9404-a925856cf361&vmsServerObjectId=bad3d3da-2c52-4d62-a9be-eff36b7307e5 for more information.
When I look at that report, it tells me this:
The mta bad mail directory /var/opt/cisco/connection/spool/UmssMtaBadMail contains 74 files. If number of files in any bad-mail directory is not 0, determine why delivery of these messages failed. RTMT/TCL may be used to view and delete these files. There can be files in bad-mail directories if messages could not be delivered due to following reasons: invalid sender, malformed messages, or repeated SQL/SMTP server errors.
The smtp bad mail directory /var/opt/cisco/connection/smtp/default/badmail contains 0 files. If number of files in any bad-mail directory is not 0, determine why delivery of these messages failed. RTMT/TCL may be used to view and delete these files. There can be files in bad-mail directories if messages could not be delivered due to following reasons: invalid sender, malformed messages, or repeated SQL/SMTP server errors
How do I use RTMT to view and delete these files?
If I don't use RTMT, how do I delete the files and empty the queue?
Thanks,
Vic
Solved! Go to Solution.
11-04-2010 10:19 AM
Vic,
In RTMT you'll want to go to "Trace & Log Central" and then choose "Remote Browse" option. Once that loads, select the "Message Transfer Agent" component. Then once that loads and the Remote Browse feature says its ready, drill down into your node and there should be the cuc log directory as well as the badmail directory. There you can highlight the messages in badmail and click the "Delete" button at the bottom of RTMT.
Either that, or you have to have TAC create a root account and delete the messages from that directory for you.
Hope that helps,
Brad
11-04-2010 10:19 AM
Vic,
In RTMT you'll want to go to "Trace & Log Central" and then choose "Remote Browse" option. Once that loads, select the "Message Transfer Agent" component. Then once that loads and the Remote Browse feature says its ready, drill down into your node and there should be the cuc log directory as well as the badmail directory. There you can highlight the messages in badmail and click the "Delete" button at the bottom of RTMT.
Either that, or you have to have TAC create a root account and delete the messages from that directory for you.
Hope that helps,
Brad
11-04-2010 11:16 AM
Thanks.
Worked perfectly.
Much appreciated!
Vic
07-05-2011 08:22 AM
I have used RTMT --> Trace & Log Central --> remote browse --> TRACE -->
Message Transfer Agent but when I drill down to Connection message transfer agent there
is no Bad mail folder.
it's UC 8.5.1. am I doing something wrong?
Scott
03-15-2012 08:36 AM
Worked well here also, on CUC 8.0.3/RTMT 8.5, great advice - thank you!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide