Problem with mutt

I’m so tired with Gmail and i switch to mutt for faster track mail, i complete set up mutt and successfully run it, but all mail in it is out of date, its mail from several year ago, i don’t really understand what happend, this is my .muttrc

set imap_user = "[email protected]"
set imap_pass = "my_app_password"
set smtp_url = "smtp://[email protected]@smtp.gmail.com:587/"
set smtp_pass = "my_app_password"
set from = "[email protected]"
set realname = "My Name"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set ssl_force_tls = yes
# Optionally configure where sent mail is stored
set record="+[Gmail]/Sent Mail"
set postponed="+[Gmail]/Drafts"
set trash="+[Gmail]/Trash"

i configure password is app password i already setting in 2 Step Verification on Google account, i’m sure IMAP is enable in my Gmail, shift 2 ($) to force mutt refresh is not use, nothing change.

Did you ever try looking through manpage for mutt and/or muttrc? There’s plenty of places mention sort there.

3 Likes

Its work, as you mention, i follow some guide about sort, i add some line onto my .muttrc set sort = 'reverse-date' set sort_aux = 'last-date-received' and now its display the newest mail for me, thank a lot!. And i also add some line to make mutt more colorful and easy to readable `ignore *
unignore from: to: subject:

set markers=no

Color definitions

color hdrdefault white black
color header brightyellow black ^From:
color header brightcyan black ^Subject:
color body brightblue black https://
color body brightyellow black “(ftp|http)://[^ ]+”
color body green black “^[0-9A-Za-z]+>”

Color for quoted text in emails

color quoted green black
color quoted1 yellow black
color quoted2 brightblue black
color quoted3 brightmagenta black
color quoted4 brightcyan black
color quoted5 brightwhite black

Color for signatures

color signature brightblack black

Color for indicators (like the + at the beginning of wrapped lines)

color indicator black white

Color for the status bar

color status brightwhite blue

Color for the tree structure (threading)

color tree brightwhite blue

Color for tilde (~) lines after the end of a message

color tilde brightyellow black`

1 Like

Dude. Use Vietnamese XD. Why do you post this in daynhahoc site while people can understand your problem much better in Stackoverflow :joy:

I will try that way.

1 Like
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?