Roland Puntaier 731e4f119c | 5 years ago | |
---|---|---|
bin | 5 years ago | |
share | 5 years ago | |
test | 5 years ago | |
.gitignore | 5 years ago | |
LICENSE | 6 years ago | |
Makefile | 5 years ago | |
README.md | 5 years ago | |
mw.1 | 5 years ago |
Get this great stuff without effort:
Specifically, this wizard:
neomutt
, isync
, msmtp
and getmail
crontab
git clone https://github.com/rpuntaie/mutt-wizard
cd mutt-wizard
sudo make install
User of Arch-based distros can also install mutt-wizard from the AUR as mw-git.
The mutt-wizard is run with the command mw
.
Once everything is setup, you’ll use neomutt
to access your mail.
mw add
-- add a new email accountmw ls
-- list existing accountsmw pass
-- revise an account’s passwordmw delete
-- deleted an added accountmw purge
-- delete all accounts and settings (DANGER)mw cron
-- toggle/configure a cronjob to sync mailmw sync
or mw
-- sync all your emails. Optionally add the email address, to sync only one.neomutt
- the email clientisync
- downloads and syncs the mailmsmtp
- sends the emailpass
- safely encrypts passwords (required at install)There’s a chance of errors if you use a slow-release distro like Ubuntu, Debian or Mint.
If you get errors in neomutt
, install the most recent version manually or manually remove the offending lines in the config in /usr/share/mutt-wizard/mutt-wizard.muttrc
.
w3m
- view HTML email and images in neomutt.notmuch
- index and search mail.
Install it and run notmuch setup
.
Tell it where your mail is ($MAILDIR
or ~/Mail
).
Although, mw
will do this automatically, if you haven’t set notmuch up before.
You can run it in mutt with S
.
Run notmuch new
to process new mail.
Although, mw sync
does this for you.libnotify
/libnotify-bin
- allows notifications when syncing mail with mw sync
abook
- a terminal-based address book.
Pressing tab while typing an address to send mail to will suggest contacts that are in your abook.pam-gnupg
- this is a more general program that I use.
It automatically logs you into your GPG key on login so you will never need to input your password once logged on to your system.
Check out the repo and directions here.urlscan
- outputs urls in mail to browser.To give you an example of the interface, here’s an idea:
m
- send mail (uses your default $EDITOR
to write)j
/k
- next/previous mail, J/K
same, without skipping deleted, and also when viewing mailsctrl-d/f
/ctrl-u/b
- down and up a half page / full pagel
- open mail, or attachment page or attachmenth
- the opposite of l
dd
- delete mail, u
undeleter
/gr
- reply/reply all to highlighted mails
- save selected mail or selected attachmentixy
- Press i
followed by the two initial mailbox letters to go thereMxy
and Cxy
- For M
ove and C
opy to the according mailbox, e.g. Msp
means “move to Spam”.i#
- Press i
followed by a number 1-9 to go to a different account.
If you add 9 accounts via mutt-wizard, they will each be assigned a number.ga
to add address/person to abook and Tab
while typing address to complete one from book.?
- see all keyboard shortcutsctrl-j
/ctrl-k
- move up and down in sidebar, ctrl-l
opens mailbox.gu
- open a menu to select a url you want to open in you browser (needs urlscan).S
- search for a mailgl
- limit by substring of subjectgL
- undo limitgm / gM
- call mutt-wizard’s mw sync
for one / all mail accounts^u
within input field / command line, will clear it, ^a
and ^e
go to beginning or end, ^g
abortsLook into /usr/share/mutt-wizard.muttrc
to see all bindings.
$MAILDIR
, $XDG_CONFIG_HOME
, $XDG_CACHE_HOME
, if defined.gm/gM
to sync mail inside mutt
, as o/O
has a mutt
assignment already.isync
/mbsync
has replaced offlineimap
as the backend.
Offlineimap was error-prone, bloated, used obsolete Python 2 modules and required separate steps to install the system.mw
is now an installed program instead of just a script needed to be kept in your mutt folder.dialog
is no longer used (le bloat) and the interface is simply text commands.~/.config/
and mail default location moved to ~/Mail
, reducing mess in ~
.pass
is used as a password manager instead of separately saving passwords.man mw
.domains.csv
so their users can more easily use mutt-wizard.mutt-wizard is free/libre software, licensed under the GPLv3.
mutt
/neomutt
files are in ~/.config/mutt/
(or $XDG_CONFIG_HOME/mutt
)muttrc
.
mutt-wizard
will add some lines to this file which you shouldn’t remove unless you know what you’re doing.
But you can move them up/down over your personal config lines if you need to.
If you get binding conflict errors in mutt, you might need to do this.mutt-wizard
generates will have custom settings set in a separate file in accounts/
.
You can edit these freely if you want to tinker with settings specific to an account./usr/share/mutt-wizard
are several global config files, including mutt-wizard
's default settings.
You can overwride this in your muttrc
if you wish.
To avoid insertion of the line sourcing the default settings,
have a commented # source /usr/share/mutt-wizard/mutt-wizard.muttrc
in your muttrc.isync
is not fully UTF-8 compatible, so non-Latin characters may be garbled (although sync should succeed).
mw
will also not autocreate mailbox shortcuts since it is looking for English mailbox names.
I strongly recommend you to set your email language to English on your mail server to avoid these problems.