2007年1月27日星期六

Mutt配置手记

1、先搞定fetchmail
安装好fetchmail后,建立~/.fetchmailrc
set postmaster "rui"
set bouncemail
set no spambounce
set properties ""
#set daemon 300
poll pop.126.com with proto POP3 and options uidl
       user 'user1' there with password 'pass1' is 'rui' here options keep
    user 'user1' there with password 'pass2' is 'rui' here options keep

poll pop.163.com with proto POP3 and options uidl
       user 'user1' there with password 'pass1' is 'rui' here options keep
    fetchdomains  mail5.codeproject.com
poll pop.gmail.com with proto POP3 and options no dns
user 'username' with pass "password"
is 'localname' here options ssl
keep


用 fetchmail -v  已经可以看到可以正常收信了。

2、Mutt设置
把昨天的.muttrc文件中的
#set spoolfile="~/Mail/inbox"
注释,这样就可以看到 fetchmail 收到的mail了, 在/var/spool/rui 中

没有评论: