Getting started with NeoMutt
| 2 mins read
NeoMutt is a terminal based email client, that can connect to multiple emails. in this blog, we will discuss how to use it and getting it connected to proton and gmail
Installing mw (mutt-wizard)
check out lukesmith1 github for more documentation
git clone https://github.com/LukeSmithxyz/mutt-wizard
cd mutt-wizard
sudo make install
Setting up proton
- Install hydroxide
go install github.com/emersion/hydroxide@latest # make sure you have go installed
hydroxide auth [email protected]–> and add your proton passwd- save the bridge passwd to be used when setting up neomutt
- set up the hydroxide server using as a service unit
mkdir -p ~/.config/systemd/user
nvim hydroxide.service
- Set up the service
[Unit]
Description=Hydroxide daemon
After=network.target
[Service]
ExecStart=%h/go/bin/hydroxide serve
Restart=on-failure
RestartSec=5
Environment=HOME=%h
StandardOutput=append:%h/.cache/hydroxide.log
StandardError=append:%h/.cache/hydroxide.log
[Install]
WantedBy=default.target
- Start the service and monitor
systemctl --user enable --now hydroxide.service
systemctl --user status hydroxide.service
- Add the account to neomutt
mw -a [email protected] \
-i 127.0.0.1 -I 1143 \
-s 127.0.0.1 -S 1025 \
-u [email protected] -f
for reference
-i –> imap server
-I –> imap port
-s –> smtp server
-S –> smtp port
-u –> username
-f –> no connection
Setting up gmail
It’s much easier to setup gmail because it supports imap and smtp by default. But for authentication we need to have a pass from google. as well as having 2fa enabled.
- turn on 2fa
- generate pass from app password2
- add it with mw
mw -a [email protected]
References