Ask a Question related to Debian, Design and Development.
-
Bill Moseley #1
Maildir -- purging old messages
I have a spam folder. I check it once in a while for false positives
(rarely found).
I'd like to run a cron job that would clean out messages older than a
15 days.
Any harm in doing something like:
rm `find ~/Maildir/.spam -type f -mtime 15`
or maybe better to pipe find to xargs
find ~/Maildir/.spam -type f -mtime 15 -print0 | xargs -null rm -f
Each folder has three subdirectories: cur, new, and tmp. Plus there's a
courierimapuiddb file. Messages look like this in "new":
1059968029.13519_1.mardy
and like this in "cur":
1059944854.6608_1.mardy:2,S
If the above find removes the courierimapuiddb will that cause any
problems?
I'm not quite sure I understand when messages are moved from "new" to
"cur".
--
Bill Moseley
[email]moseley@hank.org[/email]
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Bill Moseley Guest
-
error purging a collection
We're getting this error in MX 7: An error occurred while performing an operation in the Search Engine library. Error attempting to purge... -
Purging values from an MC
I am reposting another thread becuase it is well said and there was no answer.... "Is there a way to clear Flash variables out of memory while... -
Purging a variable?
"Craig" wrote: Are you saying that the second expression does not assign a NULL value to your variable? -- Dave Anderson Unsolicited... -
Purging old files from directories
Hi :) I need to write a script that will scan/read a given directory's contents and delete files older than a certain date. Ideally, this will be... -
[PHP] Purging old files from directories
Thank you :) On 8/1/03 10:06 AM, "Marek Kilimajer" <kilimajer@webglobe.sk> wrote:



Reply With Quote

