To encrypt password with mutt, we will be using GNUpg, install it :
For Debian based : $ sudo apt-get install gnupg gnupg-agent
For RPM based : $ sudo yum install gnupg gnupg-agent
after installing it you need to generate an encryption key by using following.
Select appropriate options. Enter you name, email and passphare when it asks. Do not forget your passphrase.
now create a file .pass place it in your home folder, I am placing it here :
contents fo following file should be :
encrypt it by using:
gpg --encrypt .pass
Now you will see a file is created as .pass.gpg , if it is there, you can delete orignal .pass file. After this step you have to make changes to .muttrc file. Append the following by doing appropriate changes
Mutt is a small but very powerful text-based mail client for Unix operating systems. The current stable public release version is 126.96.36.199; the current development release version is 1.5.21. For more information, refer : http://mutt.org
Now look for muttrc file in the tar.gz archive, make changes according to your user,password and set your favourite editor to to compose messages. Place this file into your home directory and rename to .muttrc . Now you’re done, start mutt with :
Basic usage :
enter : To open a message and scroll down in a message i : To get back to all messages screen backspace : To scroll up in a message r : To reply a message m : To compose y : To send composed email left arrow : To go to previous message in reading screen right arrow : To go to next message in reading screen c then ? : To go to gmail folder list
That all for now, use “?” at any screen for help menu. Let your mouse, have some sleep ;-).
All email clients suck, this one just sucks less ~ Mutt.
Happy Mutting !