IMAP
Neomutt's IMAP / SMTP Setup
The setup below can be used when you prefer to use the native IMAP and SMTP Support of neomutt.
set realname = "Your Name"
set from = "Your E-Mail address"
set imap_user = "yourIMAPUserName"
set imap_pass = "yourIMAPPassword"
set folder = "imaps://imapservername/"
set spoolfile = "+INBOX"
mailboxes "=INBOX" "=Archive" "=Drafts" "=Sent Items" "=Spam" "=Trash"
set smtp_url = "smtp://$imap_user:$imap_pass@smtpserver:port"
set record = "=Sent Items"
set postponed = "=Drafts"
set trash = "=Trash"
You can find an example of an IMAP Setup here: https://github.com/neomutt/samples/blob/master/config/neomuttrc-imap-example
notmuch
set nm_default_uri = "notmuch:///home/user/.maildir"
set nm_record = yes
set nm_record_tags = "-inbox,sent,local"
macro index <F5> "<modify-tags-then-hide> -inbox"
macro pager <F5> "<modify-tags-then-hide> -inbox"
macro index <F8> "<vfolder-from-query>"
macro index X <change-vfolder>?
getmails procmail notmuch