Update INSTALL.md

This commit is contained in:
kflux 2014-02-26 12:14:58 +01:00
parent 58c6dce937
commit e152beccb9
1 changed files with 10 additions and 6 deletions

View File

@ -31,13 +31,17 @@
8. Restart postfix. 8. Restart postfix.
8. create a dedicated user to store the PGP public keys with these example commands: 8. create a dedicated user to store the public keys with these example commands:
usermod -d /var/gpg nobody `usermod -d /var/gpg nobody`
mkdir -p /var/gpg/.gnupg `mkdir -p /var/gpg/.gnupg`
chown -R nobody /var/gpg `mkdir -p /var/smime/certs`
chmod 700 /var/gpg/.gnupg `mkdir -p /var/smime/templates`
sudo -u nobody /usr/bin/gpg --import /some/public.key --homedir=/var/gpg/.gnupg `chown -R nobody /var/gpg`
`chown -R nobody /var/smime`
`chmod 700 /var/gpg/.gnupg`
`sudo -u nobody /usr/bin/gpg --import /some/public.key --homedir=/var/gpg/.gnupg`
- Replace `/some/public.key` with the location of a public key - Replace `/some/public.key` with the location of a public key
- `/some/public.key` can be deleted after importation - `/some/public.key` can be deleted after importation