### Sample MuttRC file (working condition) for gmail users
root@sincity:~# pwd
/root
root@sincity:~# ls -ltr .muttrc
-rw------- 1 root root 1201 Dec 3 10:00 .muttrc
root@sincity:~# cat .muttrc
set folder = imaps://imap.gmail.com/
set imap_user = myemail@gmail.com
set imap_pass = mygooglepassword
set spoolfile = +INBOX
mailboxes = +INBOX
# 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 even more up.
set header_cache = ~/.cache/mutt
#
# # 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"
#
# # Specify where to save and/or look for postponed messages.
set postponed = +[Gmail]/Drafts
#
# # Allow Mutt to open new imap connection automatically.
unset imap_passive
#
# # Keep IMAP connection alive by polling intermittently (time in seconds).
set imap_keepalive = 300
#
# # How often to check for new mail (time in seconds).
set mail_check = 120
#SMTP Config
set my_pass='mygooglepassword'
set my_user=myemail@gmail.com
set realname = 'Real Name'
set from = myemail@gmail.com
set use_from = yes
set smtp_url=smtps://mygoogleuser:mygooglepassword@smtp.gmail.com
set ssl_force_tls = yes
root@sincity:~# pwd
/root
root@sincity:~# ls -ltr .muttrc
-rw------- 1 root root 1201 Dec 3 10:00 .muttrc
root@sincity:~# cat .muttrc
set folder = imaps://imap.gmail.com/
set imap_user = myemail@gmail.com
set imap_pass = mygooglepassword
set spoolfile = +INBOX
mailboxes = +INBOX
# 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 even more up.
set header_cache = ~/.cache/mutt
#
# # 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"
#
# # Specify where to save and/or look for postponed messages.
set postponed = +[Gmail]/Drafts
#
# # Allow Mutt to open new imap connection automatically.
unset imap_passive
#
# # Keep IMAP connection alive by polling intermittently (time in seconds).
set imap_keepalive = 300
#
# # How often to check for new mail (time in seconds).
set mail_check = 120
#SMTP Config
set my_pass='mygooglepassword'
set my_user=myemail@gmail.com
set realname = 'Real Name'
set from = myemail@gmail.com
set use_from = yes
set smtp_url=smtps://mygoogleuser:mygooglepassword@smtp.gmail.com
set ssl_force_tls = yes
No comments:
Post a Comment