Community Discussions and Support
Deleting read messages left on server

[quote user="PaulW"]

An even simpler method would be to script a .cnm removal after the filedate is older than n days - where 'n' is chosen to fit in with the the characterisitics of the users.  (I presume that the default setting of only offering "unread" mail is already in force!)[/quote]

Yes but how can you be sure that the mail has been downloaded (the user can be on vacation...) ? many years ago when a mail was read the filename changed to the same but the first letter was changed (I can't remember for what letter) so it was easy to see if a mail has been read/downloaded or not, now when a mail is read (under Pegasus Mail) or downloaded by Mercury a X-PMFLAGS: header is added and the utility I mentionned open the .cnm files searching for this header and its content.

Best regards

<p>[quote user="PaulW"]</p><p>An even simpler method would be to script a .cnm removal after the filedate is older than n days - where 'n' is chosen to fit in with the the characterisitics of the users.  (I presume that the default setting of only offering "unread" mail is already in force!)[/quote]</p><p>Yes but how can you be sure that the mail has been downloaded (the user can be on vacation...) ? many years ago when a mail was read the filename changed to the same but the first letter was changed (I can't remember for what letter) so it was easy to see if a mail has been read/downloaded or not, now when a mail is read (under Pegasus Mail) or downloaded by Mercury a X-PMFLAGS: header is added and the utility I mentionned open the .cnm files searching for this header and its content.</p><p>Best regards </p>

The majority of our users have, for some reason, marked their email client, usually outlook expess, to leave messages on server. Many mailboxes are now 10's of gigabytes in size. At one time, mercury would change the first character of a read message files name to a "!"... It was easy to write a script that removed all of those read messages every night. I'm not sure what version that changed, but, I can not determine what messages hae been read and left on the server and which ones have not. Sending out a message letting users know to unmark the leave the messages on the server option have been futile.

 

Is there anyway to have these messages that have been read but left on the server deleted?

 

Thanks for any help

 

Curt Johnson 

<p>The majority of our users have, for some reason, marked their email client, usually outlook expess, to leave messages on server. Many mailboxes are now 10's of gigabytes in size. At one time, mercury would change the first character of a read message files name to a "!"... It was easy to write a script that removed all of those read messages every night. I'm not sure what version that changed, but, I can not determine what messages hae been read and left on the server and which ones have not. Sending out a message letting users know to unmark the leave the messages on the server option have been futile.</p><p> </p><p>Is there anyway to have these messages that have been read but left on the server deleted?</p><p> </p><p>Thanks for any help</p><p> </p><p>Curt Johnson </p>

[quote user="kert2143"]

The majority of our users have, for some reason, marked their email client, usually outlook expess, to leave messages on server. Many mailboxes are now 10's of gigabytes in size. At one time, mercury would change the first character of a read message files name to a "!"... It was easy to write a script that removed all of those read messages every night. I'm not sure what version that changed, but, I can not determine what messages hae been read and left on the server and which ones have not. Sending out a message letting users know to unmark the leave the messages on the server option have been futile.

 

Is there anyway to have these messages that have been read but left on the server deleted?

 

Thanks for any help

 

Curt Johnson 

[/quote]

If this is still a problem, recent versions of Mercury have a folder maintenance utility installed in the program folder - mbxmaint_ui.exe.  You can use this to compact mail folders and remove deleted mails.  (There's also a commandline version which does the same thing.)

 

[quote user="kert2143"] <P>The majority of our users have, for some reason, marked their email client, usually outlook expess, to leave messages on server. Many mailboxes are now 10's of gigabytes in size. At one time, mercury would change the first character of a read message files name to a "!"... It was easy to write a script that removed all of those read messages every night. I'm not sure what version that changed, but, I can not determine what messages hae been read and left on the server and which ones have not. Sending out a message letting users know to unmark the leave the messages on the server option have been futile.</P> <P mce_keep="true"> </P> <P>Is there anyway to have these messages that have been read but left on the server deleted?</P> <P mce_keep="true"> </P> <P>Thanks for any help</P> <P mce_keep="true"> </P> <P>Curt Johnson </P> <P>[/quote]</P> <P>If this is still a problem, recent versions of Mercury have a folder maintenance utility installed in the program folder - mbxmaint_ui.exe.  You can use this to compact mail folders and remove deleted mails.  (There's also a commandline version which does the same thing.)</P> <P mce_keep="true"> </P>

[quote user="PaulW"][quote user="kert2143"]

The majority of our users have, for some reason, marked their email client, usually outlook expess, to leave messages on server. Many mailboxes are now 10's of gigabytes in size. At one time, mercury would change the first character of a read message files name to a "!"... It was easy to write a script that removed all of those read messages every night. I'm not sure what version that changed, but, I can not determine what messages hae been read and left on the server and which ones have not. Sending out a message letting users know to unmark the leave the messages on the server option have been futile.

 

Is there anyway to have these messages that have been read but left on the server deleted?

 

Thanks for any help

 

Curt Johnson 

[/quote]

If this is still a problem, recent versions of Mercury have a folder maintenance utility installed in the program folder - mbxmaint_ui.exe.  You can use this to compact mail folders and remove deleted mails.  (There's also a commandline version which does the same thing.)

 

[/quote]

 

kert2143 doesn't want to remove deleted mail from the .pmm/.pmi files but the .cnm files downloaded but not removed from the server.

A solution could be to use an old utility from Jiri Kuchta (PMNBINFO/NEWMAIL), I still use it to test if there is unread mail in a user's mailbox directory when he/she logs on the domain (if there is at least one unread mail Pegasus Mail is launched). I think that you could use it in a script run every night to purge the users mailboxes.

You can find it here : http://www.feec.vutbr.cz/~kuchta/pmail/jkutil.html

 Regards

[quote user="PaulW"][quote user="kert2143"] <p>The majority of our users have, for some reason, marked their email client, usually outlook expess, to leave messages on server. Many mailboxes are now 10's of gigabytes in size. At one time, mercury would change the first character of a read message files name to a "!"... It was easy to write a script that removed all of those read messages every night. I'm not sure what version that changed, but, I can not determine what messages hae been read and left on the server and which ones have not. Sending out a message letting users know to unmark the leave the messages on the server option have been futile.</p> <p mce_keep="true"> </p> <p>Is there anyway to have these messages that have been read but left on the server deleted?</p> <p mce_keep="true"> </p> <p>Thanks for any help</p> <p mce_keep="true"> </p> <p>Curt Johnson </p> <p>[/quote]</p> <p>If this is still a problem, recent versions of Mercury have a folder maintenance utility installed in the program folder - mbxmaint_ui.exe.  You can use this to compact mail folders and remove deleted mails.  (There's also a commandline version which does the same thing.)</p> <p mce_keep="true"> </p><p>[/quote]</p><p> </p><p>kert2143 doesn't want to remove deleted mail from the .pmm/.pmi files but the .cnm files downloaded but not removed from the server.</p><p>A solution could be to use an old utility from Jiri Kuchta (PMNBINFO/NEWMAIL), I still use it to test if there is unread mail in a user's mailbox directory when he/she logs on the domain (if there is at least one unread mail Pegasus Mail is launched). I think that you could use it in a script run every night to purge the users mailboxes.</p><p>You can find it here : <a href="http://www.feec.vutbr.cz/~kuchta/pmail/jkutil.html" title="http://www.feec.vutbr.cz/~kuchta/pmail/jkutil.html" target="_blank" mce_href="http://www.feec.vutbr.cz/~kuchta/pmail/jkutil.html">http://www.feec.vutbr.cz/~kuchta/pmail/jkutil.html</a></p><p> Regards </p>

[quote user="Phil"]kert2143 doesn't want to remove deleted mail from the .pmm/.pmi files but the .cnm files downloaded but not removed from the server.[/quote]

Quite right - I misunderstood the problem.

[quote]A solution could be to use an old utility from Jiri Kuchta (PMNBINFO/NEWMAIL), I still use it to test if there is unread mail in a user's mailbox directory when he/she logs on the domain (if there is at least one unread mail Pegasus Mail is launched). I think that you could use it in a script run every night to purge the users mailboxes.

You can find it here : http://www.feec.vutbr.cz/~kuchta/pmail/jkutil.html

 Regards

[/quote]

An even simpler method would be to script a .cnm removal after the filedate is older than n days - where 'n' is chosen to fit in with the the characterisitics of the users.  (I presume that the default setting of only offering "unread" mail is already in force!)

<P>[quote user="Phil"]kert2143 doesn't want to remove deleted mail from the .pmm/.pmi files but the .cnm files downloaded but not removed from the server.[/quote]</P> <P>Quite right - I misunderstood the problem.</P> <P>[quote]A solution could be to use an old utility from Jiri Kuchta (PMNBINFO/NEWMAIL), I still use it to test if there is unread mail in a user's mailbox directory when he/she logs on the domain (if there is at least one unread mail Pegasus Mail is launched). I think that you could use it in a script run every night to purge the users mailboxes.</P> <P>You can find it here : <A title=http://www.feec.vutbr.cz/~kuchta/pmail/jkutil.html href="http://www.feec.vutbr.cz/~kuchta/pmail/jkutil.html" target=_blank mce_href="http://www.feec.vutbr.cz/~kuchta/pmail/jkutil.html">http://www.feec.vutbr.cz/~kuchta/pmail/jkutil.html</A></P> <P> Regards </P> <P>[/quote]</P> <P>An even simpler method would be to script a .cnm removal after the filedate is older than n days - where 'n' is chosen to fit in with the the characterisitics of the users.  (I presume that the default setting of only offering "unread" mail is already in force!)</P>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft