运行 getmail 后,启动 mutt,直接提示「不是信箱」!
代码: 全选
~$ file mail/inbox
mail/inbox: smtp mail text
~/.getmail/getmailrc
[bash]
[options]
read_all=false
delete=false
delete_after=15
#message_log=
[retriever]
type=SimpleIMAPSSLRetriever
server=imap.gmail.com
port=993
username=[email protected]
password=***
#move_on_delete=sent
[destination]
type=MDA_external
path=/usr/bin/procmail
[/bash]
~/.procmailrc
[bash]
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
MAILDIR="${HOME}/mail"
DEFAULT="${MAILDIR}/inbox"
LOGFILE="${MAILDIR}/procmail.log"
LOCKFILE="/var/lock/${USER}-procmail.${LOCKEXT}"
:0:
* ^To.*vim-cn@googlegroups\.com
vim
:0:
* ^To.*(fcitx|sunpinyin-developers)@googlegroups\.com
ime
[/bash]