[Dovecot] Shredding instead of deleting

dovecot at lists.grepular.com dovecot at lists.grepular.com
Wed Sep 14 18:23:00 EEST 2011


On 14/09/11 16:19, Timo Sirainen wrote:

>>> The LD_PRELOAD way would be simple. Probably 10-20 lines of C code for something that would replace unlink()s to mail files with fork+exec to /usr/bin/shred.
>> 
>> Simple for somebody who can code in C you mean :)
> 
> I have no idea if this works (or even compiles), it's based on a web page I found:

Thanks. That gives me an excellent starting point. I'll have a play with
this code next week when I have some free time.

-- 
Mike Cardwell https://grepular.com/  https://twitter.com/mickeyc
Professional  http://cardwellit.com/ http://linkedin.com/in/mikecardwell
PGP.mit.edu   0018461F/35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20110914/bdfc0967/attachment-0004.bin>


More information about the dovecot mailing list