rm $( locate Maildir | grep ,ST ) will not work to remove deleted emails

From: John Schmerold (John_at_katy.com)
Date: 01/27/04


To: beginners@perl.org
Date: Tue, 27 Jan 2004 15:59:37 -0600

I have a number of Outlook XP users that don't purge their deleted
emails, so I want to remove them myselve with following regex command:
   rm $( locate Maildir | grep ,ST )

Outut is:
     rm: cannot remove `/home/vmail/jam/Maildir/.Personal': No such file
or directory
     rm: cannot remove `items.Saved': No such file or directory
     rm: cannot remove
`mail/cur/1057584180.M419677P14546V0000000000000904I00105779_52.mail.lp.com,S=31113:2,ST':
No such file or directory

It seems to be splitting the file name into multiple responses.

Any ideas regarding how to fix this? I'm trying to delete any file that
ends an a ",ST"

TIA