# apt-get install mutt
Gmail
$ cat ~/.muttrc
set imap_user = "leetschau@gmail.com"
set imap_pass = "v..."
set smtp_url = "smtp://leetschau@smtp.gmail.com:587/"
set smtp_pass = "v..."
set from = "leetschau@gmail.com"
set realname = "Li Chao"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts"
set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
$ mutt
BOCO
$ mutt -v|grep POP
// you should get "+USE_POP", which means your mutt support POP3 protocol
$ mkdir ~/.mutt
$ touch ~/.mutt/Mail
$ export MAIL=/home/chad/Mail
$ cat ~/.muttrc
set pop_host = "boco.com.cn"
set pop_user = "lichao1@boco.com.cn"
set pop_pass = "abaqus67"
set smtp_url = "smtp://boco.com.cn:25"
set smtp_pass = "abaqus67"
set from = "lichao1@boco.com.cn"
set realname = "Li Chao"
set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
$ mutt
G // receive mails