Email install sequence
This commit is contained in:
parent
e4304ced42
commit
c85ddcb63d
|
@ -39,6 +39,8 @@ function gpg_update_mutt {
|
||||||
CURR_GPG_ID=$(gpg --homedir=/home/$key_username/.gnupg --list-keys $CURR_EMAIL_ADDRESS | sed -n '2p' | sed 's/^[ \t]*//')
|
CURR_GPG_ID=$(gpg --homedir=/home/$key_username/.gnupg --list-keys $CURR_EMAIL_ADDRESS | sed -n '2p' | sed 's/^[ \t]*//')
|
||||||
|
|
||||||
sed -i "s|set pgp_encrypt_only_command.*|set pgp_encrypt_only_command=\"/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --trust-model always --encrypt-to $CURR_GPG_ID -- -r %r -- %f\"|g" /home/$key_username/.muttrc
|
sed -i "s|set pgp_encrypt_only_command.*|set pgp_encrypt_only_command=\"/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --trust-model always --encrypt-to $CURR_GPG_ID -- -r %r -- %f\"|g" /home/$key_username/.muttrc
|
||||||
|
sed -i "s|set pgp_encrypt_sign_command.*|set pgp_encrypt_sign_command=\"/usr/lib/mutt/pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --trust-model always --encrypt-to $CURR_GPG_ID -- -r %r -- %f\"|g" /home/$key_username/.muttrc
|
||||||
|
|
||||||
chown $key_username:$key_username /home/$key_username/.muttrc
|
chown $key_username:$key_username /home/$key_username/.muttrc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -917,15 +917,15 @@ function setup_email {
|
||||||
#function_check install_monkeysphere
|
#function_check install_monkeysphere
|
||||||
#install_monkeysphere
|
#install_monkeysphere
|
||||||
|
|
||||||
|
function_check email_client
|
||||||
|
email_client
|
||||||
|
|
||||||
function_check encrypt_incoming_email
|
function_check encrypt_incoming_email
|
||||||
encrypt_incoming_email
|
encrypt_incoming_email
|
||||||
|
|
||||||
function_check encrypt_outgoing_email
|
function_check encrypt_outgoing_email
|
||||||
encrypt_outgoing_email
|
encrypt_outgoing_email
|
||||||
|
|
||||||
function_check email_client
|
|
||||||
email_client
|
|
||||||
|
|
||||||
function_check email_archiving
|
function_check email_archiving
|
||||||
email_archiving
|
email_archiving
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue