• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Secure delete of Mail's trash and junk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Secure delete of Mail's trash and junk


  • Subject: Re: Secure delete of Mail's trash and junk
  • From: Christopher Nebel <email@hidden>
  • Date: Mon, 17 Apr 2006 12:11:01 -0700

On Apr 14, 2006, at 6:13 PM, Irwin Poche wrote:

I working on a "clean up" script to move a number of files/folders to the trash so that I can do a Secure Empty Trash of them. I want to do this with Mail's junk and trash.

From ~/Library/Mail trashing folders with the words "Deleted Messages" in the name was successful. Not so with the Junk folders. Junk mail was still present in Mail but they appeared in the inboxes. The Junk folder (that Mail itself displays in the GUI) was empty. Recreating the deleted Junk folders brought everything back to normal.

Telling Mail to move it's junk mail into its trash would be another solution but I'm not sure how to go about that. The other solution would be trashing the correct files/folders ~/Library/Mail but I now believe that is not a viable solution.

Ideas anyone ?

I asked the Mail team, and they say that there isn't any safe way to do this: "Touching files in ~/Library/Mail/ is definitely a bad idea unless you want to reverse engineer our SQLite db as well. Not that that's a good idea either." In other words, if you can get it to work, fine, but it's proceed-at-your-own-risk.



--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Secure delete of Mail's trash and junk (From: Irwin Poche <email@hidden>)

  • Prev by Date: Re: Applescript-users Digest, Vol 3, Issue 204
  • Next by Date: Time Verification
  • Previous by thread: Re: Secure delete of Mail's trash and junk
  • Next by thread: Copying with identically named volumes
  • Index(es):
    • Date
    • Thread