Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The idea is to encrypt [cronjob] all mails older than x days with a certain [per user] PGP Key. Mails are stored in Maildir format.

Are you guys aware of an existing solution to this? Or maybe someone's got a script lying around that does a similar thing, so I don't have to start from scratch.. ;)


share|improve this question
Do you just need the mails encrypted, or do you need them encrypted such that the users' mail clients can still decrypt the individual messages? – Cakemox Mar 4 '11 at 19:25

Not exactly what you want but here's info on how to encrypt all incoming email with GPG

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.