💾 Archived View for darknesscode.xyz › linux › mutt.gmi captured on 2023-11-04 at 11:27:10. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-05)

-=-=-=-=-=-=-

Install Mutt a TUI email client

Mutt is a text-based email client for *Linux*/*Unix* systems. Mutt is a low resources and highly configurable. Itself is just a program combined with a text editor.

Mutt has hundreds of configurations directives and commands. It allows for changing all the keybindings and making macros for complex actions.

Learn all about Mut

https://mutt.org

Example of mutt custom smtp

## About Me
set from = "real-email"
set realname = "real-name"

## Credentials
# smtp
set smtp_url = "smtps://customesmtp:465"
set smtp_pass = "user-password"
# imap
set imap_user = "imap-user"
set imap_pass = "user-password"

set ssl_starttls = yes
set ssl_force_tls = yes

## Mailboxes
set folder = "imaps://customeimap:993"
set spoolfile = "+INBOX"
set imap_list_subscribed = yes
set imap_check_subscribed = yes

macro index,pager gi "<change-folder>=Inbox<enter>" "go to inbox" # mw-autogenerated
macro index,pager Mi ";<save-message>=Inbox<enter>" "move mail to inbox" # mw-autogenerated
macro index,pager gs "<change-folder>=INBOX.Sent<enter>" "go to sent" # mw-autogenerated
macro index,pager gd "<change-folder>=INBOX.Drafts<enter>" "go to drafts" # mw-autogenerated
macro index,pager gt "<change-folder>=INBOX.Trash<enter>" "go to trash" # mw-autogenerated
macro index,pager Mt ";<save-message>=INBOX.Trash<enter>" "move mail to trash" # mw-autogenerated

Some custom smtp, need to add the username to login and send the email, you need to chance this line to

set smtp_url = "smtps//user@customesmtp:465"

or

set smtp_url = "smtps://user@domain.xxx@customesmtp:465"

Example of mutt yahoo smtp

## About Me
set from = "user-email"
set realname = "user-name"

## Credentials
# smtp
set smtp_url = "smtps://useremail@smtp.mail.yahoo.com:465"
set smtp_pass = "user-password"
# imap
set imap_user = "useremail@yahoo.com"
set imap_pass = "user-password"

set ssl_starttls = yes
set ssl_force_tls = yes

## Mailboxes
set folder = "imaps://imap.mail.yahoo.com:993"
set spoolfile = "+INBOX"
set imap_list_subscribed = yes
set imap_check_subscribed = yes

macro index,pager gi "<change-folder>=Inbox<enter>" "go to inbox" # mw-autogenerated
macro index,pager Mi ";<save-message>=Inbox<enter>" "move mail to inbox" # mw-autogenerated
macro index,pager gs "<change-folder>=INBOX.Sent<enter>" "go to sent" # mw-autogenerated
macro index,pager gd "<change-folder>=INBOX.Drafts<enter>" "go to drafts" # mw-autogenerated
macro index,pager gt "<change-folder>=INBOX.Trash<enter>" "go to trash" # mw-autogenerated
macro index,pager Mt ";<save-message>=INBOX.Trash<enter>" "move mail to trash" # mw-autogenerated

If you like to setup mutt check out the script

git clone https://github.com/codedarkness/mutt

----------

Home

Linux

Notes

MicroLog

----------

© DarknessCode