mutt Gmail Installation and Usage / Ubuntu 18.04 Environment
1. Installation and Usage Environment
The installation and usage environment is as follows.
- Ubuntu 18.04 LTS 64bit, root user
2. mutt Installation
$ sudo apt-get install muttInstall the mutt package.
3. Gmail Access Permission Configuration
Configure Gmail access permissions through the links below.
- Guide: https://support.google.com/accounts/answer/6010255?hl=en
- Secure Apps: https://myaccount.google.com/lesssecureapps
4. mutt Configuration
$ mkdir -p ~/Mail
$ touch /var/mail/root
$ chmod 660 /var/mail/root
$ chown root:mail /var/mail/rootCreate mutt-related folders and files.
| |
Create the ~/.muttrc file with the content from [File 1].
5. Usage
$ muttRun mutt. Shortcuts are as follows.
- m: Compose a new mail message.
- G: Fetch new messages.