You are not logged in.

#1 2024-12-02 22:29:05

MarkW
Member
Registered: 2024-11-03
Posts: 240

Mutt Sidebar Config

For reasons unknown to man or beast I decided to have a go at setting up Mutt.  I've managed to successfully get two accounts sending and receiving but I can't for the life of me work out how to get the sidebar to display folders.  So...

HELP?

Offline

#2 2024-12-04 12:05:37

MarkW
Member
Registered: 2024-11-03
Posts: 240

Re: Mutt Sidebar Config

No one? sad

Offline

#3 2024-12-04 16:57:23

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: Mutt Sidebar Config

Scroll down to the Documentation section; it has the settings for the .muttrc

https://thomer.com/mutt/index-old.html


You must unlearn what you have learned.
    -- yoda

Offline

#4 2024-12-04 17:11:50

MarkW
Member
Registered: 2024-11-03
Posts: 240

Re: Mutt Sidebar Config

Any idea what the ml in this line refers to?

mailboxes =inbox =ml

Offline

#5 2024-12-04 17:14:24

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: Mutt Sidebar Config

No, I don't use mutt.


You must unlearn what you have learned.
    -- yoda

Offline

#6 2024-12-04 18:06:31

MarkW
Member
Registered: 2024-11-03
Posts: 240

Re: Mutt Sidebar Config

Figured it out.  Next thing to do is see if I can find any information on displaying sub folders

Offline

#7 2024-12-05 06:16:17

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,550
Website

Re: Mutt Sidebar Config

Mutt has a notoriously steep learning curve, so there might not be that many experienced users round here to help you. roll


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#8 2024-12-05 08:24:03

Jimbo_G
Member
From: France
Registered: 2017-05-12
Posts: 324

Re: Mutt Sidebar Config

It's also one of those things that can be useful for some people with very specific needs, but unfortunately as it's known to be tough to learn, there's a lot online basically with people showing off how smart they are.

I had a quick look a few years ago but have absolutely no need for it. I just rewatched one of the tutorials from back then, with a guy explaining how great it is that you can set up aliases so you don't need to type out the whole email address every time you want to send someone an email....

I did look at NeoMutt, which might be worth checking out.

Offline

#9 2024-12-05 19:29:13

mcarni
Member
Registered: 2015-09-29
Posts: 27

Re: Mutt Sidebar Config

i am far from being an expert but i have my neomutt setup with 3 accounts and a sidebar with folders
i really enjoy it, maybe a bit tought to setup but in the long run it is well worth it...

this is my muttrc (i redacted some personal info.. but it should be fine..in case you have any issue please let me know)

PS. you might want also to add your "colors" to mutt
i am using a zenburn color scheme... but i think you can find more.

hope this helps
M

## General settings
#
set folder = /Mail/Folder
set mbox_type = Maildir
# Store message headers locally to speed things up.
# If hcache is a folder, Mutt will create sub cache folders for each account which may speeds things up even more.
set header_cache = ~/.cache/mutt-local
# Store messages locally to speed things up, like searching message bodies.
# Can be the same folder as header_cache.
# This will cost important disk usage according to your e-mail amount.
set message_cachedir = ~/.cache/mutt-local
#
# set nano as the editor and pass the column number as an argument
set editor="nano -1"
# specify the line to start editing so that you will skip the mail header
set editor="nano +7"
# set path to mailcap and settings to open html
set mailcap_path 	= ~/.config/mutt/mailcap
auto_view text/html text/calendar application/ics
alternative_order text/plain text/enriched text/html #text/*
#
#
## main options
set wait_key = no
set timeout = 3
set thorough_search
set mail_check_stats
# Don't wait to switch mailboxes
set sleep_time = 0
#
# compose View Options
set envelope_from                    # which from?
set edit_headers                     # show headers when composing
set fast_reply                       # skip to compose when replying
set askcc                            # ask for CC:
set forward_decode                   # decode when forwarding
set reverse_name                     # reply as whomever it was to
set include                          # include message in replies
set forward_quote                    # include message in forwards
set mime_forward = ask-no
#
# sidebar
set mail_check_stats
set sidebar_visible = yes
#set sidebar_format = "%D %* %?N?%N:  ? %?S?%S: ?"
set sidebar_format = "%D %* %?N? :%N  ? %?S? :%S?"
#set sidebar_format = "%D      %?N?%N New?%* %?S?%S?"
set sidebar_short_path
#set sidebar_folder_indent
set sidebar_indent_string="  "
set sidebar_sort_method = 'unsorted'
#
# status bar, index, date format, finding stuff etc.
#set status_chars = " *%A"
#set flag_chars = "*!DdrONon- " tagged, important, for deletion, att. for deletion, old, new, old thread, new thread, read
#set to_chars =  " +TCFLR" to you only,to you, in cc, from you, 
set flag_chars = " "
set to_chars =  " L"
set status_format = "[ Folder: %f ] [%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]%>─%?p?( %p postponed )?"
set status_on_top 
set date_format = "%d.%m.%Y %H:%M"
#set index_format = "[%Z] %?X?A&-? %D  %-20.20F  (%?l?%4l&%4c?) %s"
#set index_format = "[ %Z ] %?X? & -?  (%?l?%4l&%4c?) %D  %-35.45F %s"
set index_format = "%S   %T   %?X? & -?  (%?l?%4l&%4c?) %D  %-35.45F %s"
set sort = reverse-threads
set sort_aux = last-date
set uncollapse_jump
set sort_re
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
set send_charset = "utf-8"
set charset = "utf-8"

#
# Pager View Options
set pager_index_lines = 10  # Shows 10 lines of index when pager is active
set pager_context = 3
set pager_stop
set menu_scroll
set tilde
unset markers
#
# email headers and attachments
ignore *
unignore from: to: cc: bcc: date: subject:
unhdr_order *
hdr_order from: to: cc: bcc: date: subject:


# Mailboxes to show in the sidebar.
#named-mailboxes "======YAHOO========" "+div-yahoo"
named-mailboxes "YAHOO INBOX" "+yahoo/Inbox"
named-mailboxes "  Received" "+yahoo/Received"
named-mailboxes "  Sent" "+yahoo/Sent"
named-mailboxes "  Draft" "+yahoo/Draft"
named-mailboxes "  Trash" "+yahoo/Trash"
named-mailboxes "  Junk Mail" "+yahoo/Bulk"
#named-mailboxes "  Archive" "+yahoo/Archive""
#mailboxes =yahoo/Inbox =yahoo/Received =yahoo/Sent =yahoo/Draft =yahoo/Trash ="yahoo/Bulk Mail" =yahoo/Archive
#named-mailboxes "======GOOGLE=======" "+div-google"
named-mailboxes "GOOGLE INBOX" "+google/Inbox" 
named-mailboxes "  Received" "+google/Received" 
named-mailboxes "  Sent" "+google/[Google Mail]/Sent Mail"
named-mailboxes "  Drafts" "+google/Drafts" 
named-mailboxes "  Trash" "+google/Trash" 
named-mailboxes "  Junk Mail" "+google/[Google Mail]/Spam" 
#same for account3

virtual-mailboxes "TODAY" "notmuch://?query=date:today"
virtual-mailboxes "THIS WEEK" "notmuch://?query=date:this-week"
virtual-mailboxes "GLOBAL MAIL" "notmuch://?query=tag:new"


# by default, use yahoo
set realname = "my yahoo name"
set spoolfile = "+yahoo/Inbox"
source ~/.config/mutt/accounts/yahoo



source ~/.config/mutt/bindings
source ~/.config/mutt/colors

#source ~/.config/mutt/accounts/yahoo
folder-hook +yahoo/* 'source ~/.config/mutt/accounts/yahoo'

#source ~/.config/mutt/accounts/google
folder-hook +google/* 'source ~/.config/mutt/accounts/google'

Offline

Board footer

Powered by FluxBB