From 5a3503a0805f197be13c21dde229c1b9da3fedab Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Oct 2015 12:38:21 +0000 Subject: [PATCH] Encrypt incoming mail for multiple users --- src/freedombone | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone b/src/freedombone index 5478597c..46eef7d0 100755 --- a/src/freedombone +++ b/src/freedombone @@ -6828,6 +6828,10 @@ function encrypt_incoming_email { echo ':0 f' >> /home/$MY_USERNAME/.procmailrc echo "| /usr/bin/gpgit.pl --encrypt-mode prefer-inline --inline-flatten $MY_EMAIL_ADDRESS" >> /home/$MY_USERNAME/.procmailrc chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.procmailrc + echo '' >> /etc/skel/.procmailrc + echo ':0 f' >> /etc/skel/.procmailrc + echo -n '| /usr/bin/gpgit.pl --encrypt-mode prefer-inline --inline-flatten $USER@' >> /etc/skel/.procmailrc + echo "$DEFAULT_DOMAIN_NAME" >> /etc/skel/.procmailrc fi echo 'encrypt_incoming_email' >> $COMPLETION_FILE }