Deleting mails from INBOX

Is there a possibility by mail server admin to delete the mails from the Inbox without deleteing the folder.

mboxutil -d user/<user-name>/INBOX deletes all the mail folders including INBOX. I just want to clean the contents for INBOX without deleting any.

Thanks

Shobana

[301 byte] By [jshobana] at [2007-11-26 9:45:39]
# 1

Hi Shobana,

To remove just the INBOX you can remove the *.msg files on disk and then reconstruct the users account.

The INBOX folders are the 00 -> 99 folders in the base of the users account on disk. All other folders are stored under their own foldername e.g. Sent is stored under "=+Sent"

Shane.

shane_hjorth at 2007-7-7 0:49:36 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

Your other option is to use webmail, with a url that involves your proxyauth user, and just do your deletions that way. no reconstructs requred...

http://your-server.com/login.msc?user=admin&password=admin&fmt-out=text /html&proxyauth=user

where user=admin means the contents of the config setting for store.admins, and the user at the end is the user who's mailbox you want to access.

jay_plesset at 2007-7-7 0:49:36 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...