|
|
A method to securely empty trashed Mail messages
ok, not a banner day for me....upon creating the securely deleted mailbox via the mail program as described in the original post, it is easiest to create a shell script and have the script run by crontab as you like.
you will need to delete the directory recursively (which i did not include above):
and then recreate the directory, as well:
obviously, you want to add this to your user crontab versus the system crontab so that the created directory will have user-level access.
so, you get something like this:
make sure to save the file (name it secure_delete.sh or something) and
and save it in a directory with user-level access (e.g. in your home folder or a subdirectory thereof) so the user crontab can access. then, make an entry to the user crontab to run the script. make sure that you give it some time to run, especially if you will be securely deleting numerous emails and attachments.
sorry for the multiple posts!
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.06 seconds |
|