这个不是信箱,那是什么
发表于 : 2012-03-18 1:46
事先 inbox 是空文件。
运行 getmail 后,启动 mutt,直接提示「不是信箱」!
请问有谁知道这是怎么回事?
~/.getmail/getmailrc
[bash]
[options]
read_all=false
delete=false
delete_after=15
#message_log=
[retriever]
type=SimpleIMAPSSLRetriever
server=imap.gmail.com
port=993
username=XXX@gmail.com
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]
运行 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=XXX@gmail.com
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]