配置Rmail
;; Reading Mail
(setq rmail-preserve-inbox t)
;;(setq rmail-movemail-flags '("--tls"))
(setq rmail-primary-inbox-list
'("imaps://abst.proc.do:[email protected]:993"
)
(setq rmail-movemail-program "/usr/bin/movemail")
(setq rmail-movemail-search-path "/usr/bin/movemail")
M-x Rmail后报错:
rmail-convert-file-maybe: Invalid mbox file
从命令行手工运行movemail可以正常工作
$ movemail -v "imaps://abst.proc.do:[email protected]:993" ~/RMAIL
movemail: number of messages in source mailbox: 2
movemail: number of processed messages: 2
movemail: number of errors: 0 / 0
在~/RMAIL中开启rmail-mode, 能够正常工作
rmail-mbox-format
是默认设置的 “mboxrd”
Rmail的文档中有一句
=mbox=
Usual Unix mailbox format. In this case, user, pass and port are not used, and host-or-file-name denotes the file name of the mailbox file, e.g., =mbox:///var/spool/mail/smith=.
mbox:///var/spool/mail/smith
应该怎样放进配置里?