Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to empty the CUC badmail spool?

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

Everyone's tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: How to empty the CUC badmail spool?

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

4 REPLIES
Cisco Employee

Re: How to empty the CUC badmail spool?

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

New Member

Re: How to empty the CUC badmail spool?

Thanks.

Worked perfectly.

Much appreciated!

Vic

New Member

Re: How to empty the CUC badmail spool?

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

New Member

Re: How to empty the CUC badmail spool?

Worked well here also, on CUC 8.0.3/RTMT 8.5, great advice - thank you!

2111
Views
10
Helpful
4
Replies
CreatePlease to create content