Mutt 不知道哪里设置错了,总是等一段时间就断开了。

平台是opensuse13.1, 只下载了mutt,然后设置步骤如下

mkdir -p ~/.mutt/cache/headers
mkdir ~/.mutt/cache/bodies
touch ~/.mutt/certificates


emacs ~/.muttrc


[quote] # A basic .muttrc for use with Gmail # Change the following six lines to match your Gmail account details set imap_user = “×××××” set imap_pass = “PASSWORD” set smtp_url = “smtp://” set smtp_pass = “PASSWORD” set from = "" set realname = “YOUR NAME” # Change the following line to a different editor you prefer. set editor = “nano” # Basic config, you can leave this as is set folder = “imaps://” set spoolfile = “+INBOX” set imap_check_subscribed set hostname = set mail_check = 120 set timeout = 300 set imap_keepalive = 300 set postponed = “+[GMail]/Drafts” set record = “+[GMail]/Sent Mail” set header_cache=~/.mutt/cache/headers set message_cachedir=~/.mutt/cache/bodies set certificate_file=~/.mutt/certificates set move = no set include set sort = ‘threads’ set sort_aux = ‘reverse-last-date-received’ set auto_tag = yes ignore “Authentication-Results:” ignore “DomainKey-Signature:” ignore “DKIM-Signature:” hdr_order Date From To Cc alternative_order text/plain text/html * auto_view text/html bind editor complete-query bind editor ^T complete bind editor noop # Gmail-style keyboard shortcuts macro index,pager y "unset trash\n " “Gmail archive message” macro index,pager d "set trash=


quot;\n " “Gmail delete message” macro index,pager gi “=INBOX” “Go to inbox” macro index,pager ga “=[Gmail]/All Mail” “Go to all mail” macro index,pager gs “=[Gmail]/Starred” “Go to starred messages” macro index,pager gd “=[Gmail]/Drafts” “Go to drafts” [/quote]


把 “imap_keepalive” 注释掉试试~

建议配合 offlineimap 或 fetchmail+procmail 使用 mutt

嗯,貌似就是我 offlineimap 设置错误了