使用mutt+msmpt收發Gmail

  这几天一直在xfce, gnome, kde间跳来跳去以决定机器最终的GUI界面,后来选了gnome作界面,就重装了一下debian(testing etch)。重装基本上都是用最简的包(x-window-system-core, gnome-core),装邮件客户端的时候忽然就想试试看传说中的mutt,搞了半天算是把gmail配上了,我用的是简单的mutt+msmtp,配置如下:
.muttrc

set pop_last=yes
set pop_pass=你的Gmail密码
set pop_user=你的帐号@gmail.com
set pop_host=pops://pop.gmail.com

set sendmail=”/usr/bin/msmtp”

.msmtprc

account default
host smtp.gmail.com
from 你的帐号@gmail.com
tls on
auth on
port 587
user 你的帐号@gmail.com
password 你的Gmail密码

  这样进入mutt就可以用shift+g来收信,用m也可以正常发信了。要注意的是因为密码是明文保存,所以chmod +600这两个配置文件也是必要的(msmtp如果不是600的权限也会提示你)。

Technorati Tags: , , ,

7 Responses to “使用mutt+msmpt收發Gmail”

Leave a Reply

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).