After running that snippet of code, type in your password, press enter, and press Control-d so gpg can encrypt your password. ![]() ![]() The ending dash is not a typo, rather it causes gpg to use stdin. To avoid this, use gpg with shell stdin: gpg -encrypt -o. Warning: Most shells save command history(e.g.bash_history. The following is an example of a msmtp configuration (the file is based on the per-user example file located at /usr/share/doc/msmtp/msmtprc-user.example the system configuration file belongs at /etc/msmtprc and its corresponding example file is located at /usr/share/doc/msmtp/msmtprc-system.example). Since msmtp version 1.8.6 you can place your user configuration either at ~/.msmtprc or $XDG_CONFIG_HOME/msmtp/config. Additionally, install msmtp-mta, which creates a sendmail alias to msmtp.
0 Comments
Leave a Reply. |