Encrypt incoming mail for multiple users
This commit is contained in:
parent
03917ed58e
commit
5a3503a080
|
@ -6828,6 +6828,10 @@ function encrypt_incoming_email {
|
||||||
echo ':0 f' >> /home/$MY_USERNAME/.procmailrc
|
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
|
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
|
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
|
fi
|
||||||
echo 'encrypt_incoming_email' >> $COMPLETION_FILE
|
echo 'encrypt_incoming_email' >> $COMPLETION_FILE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue