Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set imap_user = "username@gmail.com"
- set imap_pass = "password"
- set smtp_url = "smtp://username@smtp.gmail.com:587/"
- set smtp_pass = "password"
- set from = "username@gmail.com"
- set realname = "Your Real Name"
- set imap_pass=`getpassword email_id`
- set imap_pass="password"
- set smtp_pass="password"
- $ gpg --gen-key
- $ gpg -r your.email@example.com -e ~/.mutt/passwords
- $ ls ~/.mutt/passwords*
- /home/user/.mutt/passwords /home/user/.mutt/passwords.gpg
- $ shred ~/.mutt/passwords
- $ rm ~/.mutt/passwords
- source "gpg -d ~/.mutt/passwords.gpg |"
- chmod go-r $HOME/.muttrc
- apt install gnome-keyring secret-tool
- source 'echo "$( pw=$( secret-tool lookup user <USERNAME> domain <DOMAIN> ); echo set imap_pass="$pw"; echo set smtp_pass="$pw" )" |'
- secret-tool store --label=imap user <USERNAME> domain <DOMAIN>
- secret-tool lookup user <USERNAME> domain <DOMAIN>
Add Comment
Please, Sign In to add comment