Can't delete mail from deleted items

Discussion forum for Enterprise Edition.
Post Reply
da2sv
Posts: 16
Joined: Fri Sep 30, 2005 8:15 pm

Can't delete mail from deleted items

Post by da2sv » Wed Jul 12, 2006 3:52 pm

I started this thread about a month ago and never got this issue resolved. I still can't get messages to delete from Deleted items folder.

The Mpurge does nothing at all. There is no good documentation on the Mpurge utility. Any ideas anyone? :cry:

I am having trouble getting all the mail boxes to completely empty out. The incoming folder pruged but everything just went to the deleted items. I tried moving up the mailbox cleanup time and watched it run but it is not completly deleting the messages from deleted items.

Actually the message body is gone only the "To" FROM subject ect but when I click on the message I get no message selected. If I select several messages with the check box and delete selected nothing is removed. I even re-booted the server which did not help.

I just up graded to MailEnable 2.09 and created all new mail boxes by importing from windows. When the mail boxes came in they had some of the old mail.

Will the Mpurge utility fix this ??

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben » Thu Jul 13, 2006 2:26 am

Are you using the MailEnable Mailbox Cleanup Agent? Is this what you meant by lowering the "Cleanup time"?

If you do a MEPurge /? you will get the following that explains how to use the util that can be called using scheduler. But as you have Enterprise you may as well use the Mailbox Cleanup Agent.

Code: Select all

C:\Program Files\Mail Enable\bin>mepurge /?
******************************************************************
*                                                                *
*            MailEnable Message Store Purge Utility              *
*            Version 1.21                                        *
******************************************************************

This utility will purge all Postmaster, Badmail, Inbox or Deleted Items messages
 that exceed the specified age.

Syntax: MEPURGE {POSTOFFICE|ALL} {DAYS} {SWITCHES} [UNREAD]

Parameters:
POSTOFFICE|ALL = Apply to a single postoffice or to all post offices
DAYS = The minimum age of messages (in days).

SWITCHES = See followsing section (swirches are delimited by a plus

UNREAD = Do not purge unread messages

Switches:
POSTMASTER = Clean the Inbox of Postmaster Mailboxes
INBOX = Clean the Inbox of all Mailboxes
DELETED = Clean the Deleted Items Folder of all Mailboxes
SENT = Clean the Sent Items Folder of all Mailboxes
BADMAIL = Clean the System BadMail Folder
REPORT = Reports on matching deletions for all settings - does not delete files
Note: Multiple switches can be used if delimited with a | character.

eg: MEPURGE MAILENABLE.COM 30 INBOX+DELETED+SENT UNREAD

Press any key to continue..
When you say you cannot delete the messages (purge) do you mean while using IMAP or web mail?

If you are using the Mailbox Cleanup Agent already, are there any errors in the logs?
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

drkl
Posts: 39
Joined: Mon Sep 26, 2005 3:16 am

Post by drkl » Mon Jul 17, 2006 12:03 pm

I can delete send folder but not drafts folder. What is the command to delete drafts folder???

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben » Tue Jul 18, 2006 2:37 am

Sorry you cannot del the drafts folder using this command.
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

webafrica
Posts: 252
Joined: Thu Dec 11, 2003 4:56 pm
Contact:

Post by webafrica » Wed Sep 06, 2006 10:01 pm

MailEnable-Ben wrote:Are you using the MailEnable Mailbox Cleanup Agent? ?
Where on earth is the mailbox cleanup agent? We have enteprise ed, - cant find it anywhere.

paarlberg
Posts: 1071
Joined: Tue Mar 02, 2004 7:33 pm
Location: Atlanta, GA, USA

Post by paarlberg » Wed Sep 06, 2006 10:14 pm

I can send it to you.. Let me know if you want me to do it via ftp or not.

David

webafrica
Posts: 252
Joined: Thu Dec 11, 2003 4:56 pm
Contact:

Post by webafrica » Wed Sep 06, 2006 11:03 pm

paarlberg wrote:I can send it to you.. Let me know if you want me to do it via ftp or not.

David
Sweet can you mail it to lan (at) web africa .co.za. Thanks Dave

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben » Wed Sep 06, 2006 11:51 pm

You can find Mailbox cleanup agents in the following locations;

1. Server level - This will cycle through the bad mail and quarantine folders that are internal of the MailEnable product.

ME Admin MMC->Servers->Localhost->Services-Management (Left Click)->In the right hand panel you will now see the "Mailbox cleanup agent".

2. Post Office level (for mailboxes within) - This allows you to automatically purge mail from mailbox folders.

ME Admin MMC->Messaging Manager->Post Offices->[Post Office] Properties->Agents TAB->Mailbox Cleanup Agent [Settings] button->Displays window that allows mailbox purging from Inbox, Deleted items, Sent Items, Junk E-mail folders.

The frequency of which these folders are purged it set in the option 1 above and correlates to both purges.
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

paarlberg
Posts: 1071
Joined: Tue Mar 02, 2004 7:33 pm
Location: Atlanta, GA, USA

Post by paarlberg » Thu Sep 07, 2006 12:11 am

Ben, Is that only on Ent. V2 and higher?

Matt , I have sent the mepurge.exe (zipped) to you.

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben » Thu Sep 07, 2006 12:34 am

No version 1.x and 2.x - it has been in the product for quite sometime.
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

paarlberg
Posts: 1071
Joined: Tue Mar 02, 2004 7:33 pm
Location: Atlanta, GA, USA

Post by paarlberg » Thu Sep 07, 2006 1:29 am

Thanks, I have a basic script that I run on a regular basis to cleanup the deleted items. I run it from the root of the PostOffice folder.

Code: Select all

@echo off
cls
setlocal
Dir "Deleted Items" /S /B /O:-D /T:C > 2dellist.txt
For /f "delims=/" %%a in (2dellist.txt)do del "%%a\*.mai" /f /q
Endlocal
Exit

webafrica
Posts: 252
Joined: Thu Dec 11, 2003 4:56 pm
Contact:

Post by webafrica » Thu Sep 07, 2006 9:22 pm

MailEnable-Ben wrote:You can find Mailbox cleanup agents in the following locations;

2. Post Office level (for mailboxes within) - This allows you to automatically purge mail from mailbox folders.

ME Admin MMC->Messaging Manager->Post Offices->[Post Office] Properties->Agents TAB->Mailbox Cleanup Agent [Settings] button->Displays window that allows mailbox purging from Inbox, Deleted items, Sent Items, Junk E-mail folders.

The frequency of which these folders are purged it set in the option 1 above and correlates to both purges.
Thanks Ben - you learn a new thing everyday. Just a question with 4000 postoffices on a server how on earth we meant to set it so that it cleans Deleted Items for all mailboxes in all postoffices?

webafrica
Posts: 252
Joined: Thu Dec 11, 2003 4:56 pm
Contact:

Post by webafrica » Thu Sep 07, 2006 9:22 pm

paarlberg wrote:Thanks, I have a basic script that I run on a regular basis to cleanup the deleted items. I run it from the root of the PostOffice folder.

Code: Select all

@echo off
cls
setlocal
Dir "Deleted Items" /S /B /O:-D /T:C > 2dellist.txt
For /f "delims=/" %%a in (2dellist.txt)do del "%%a\*.mai" /f /q
Endlocal
Exit
Thanks Dave, will give it a bash.

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben » Fri Sep 08, 2006 12:03 am

Thats a pretty fair point I would submit a support request submission under suggestions for that. Maybe a global one could be created or at least have the option to turn it on in a bulk manner.

The script looks good and there is another option the MEPurge utility will allow you to clean up folders, it is available through the MailEnable web site management utilities.

Here are the options;

******************************************************************
* *
* MailEnable Message Store Purge Utility *
* Version 1.21 *
******************************************************************

This utility will purge all Postmaster, Badmail, Inbox or Deleted Items messages
that exceed the specified age.

Syntax: MEPURGE {POSTOFFICE|ALL} {DAYS} {SWITCHES} [UNREAD]

Parameters:
POSTOFFICE|ALL = Apply to a single postoffice or to all post offices
DAYS = The minimum age of messages (in days).

SWITCHES = See followsing section (swirches are delimited by a plus

UNREAD = Do not purge unread messages

Switches:
POSTMASTER = Clean the Inbox of Postmaster Mailboxes
INBOX = Clean the Inbox of all Mailboxes
DELETED = Clean the Deleted Items Folder of all Mailboxes
SENT = Clean the Sent Items Folder of all Mailboxes
BADMAIL = Clean the System BadMail Folder
REPORT = Reports on matching deletions for all settings - does not delete files
Note: Multiple switches can be used if delimited with a | character.

eg: MEPURGE MAILENABLE.COM 30 INBOX+DELETED+SENT UNREAD
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

webafrica
Posts: 252
Joined: Thu Dec 11, 2003 4:56 pm
Contact:

Post by webafrica » Fri Sep 08, 2006 9:06 am

Thanks Ben, though MEPurge doesn't work properly, hence why I'm asking around.

eg

Code: Select all

C:\Documents and Settings\Administrator>mepurge domain.co.za 60 DELETED

Utility is configured to delete unread messages

Loaded Postoffice Configuration Provider (MEAIPO.DLL)
Purging Mailbox Messages other than 60 days
Postoffice Root=c:\Program Files\Mail Enable\postoffices

Post Reply