Skip to content

Instantly share code, notes, and snippets.



Created Sep 4, 2013
What would you like to do?
Procmail script to encrypt outgoing root email before forwarding.
SUBJECT=`formail -xSubject:`
FROM=`formail -xFrom:`
:0 c
|formail -I "" | gpg --trust-model always -ear "" | mail -r "$FROM" -s "$SUBJECT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.