Mutt错误“ / home / user / mail /不是邮箱”,但配置为与gmail imap / smtp一起使用


6

我已经成功配置了mutt,以便与gmail imap一起使用。但是,当我尝试通过gmail smtp发送邮件时,出现此错误:

/home/user/Mail/ is not a mailbox

我不明白为什么我不尝试将邮件发送给本地UNIX用户时/ home / user / Mail为何起作用。仅当我尝试将邮件发送给本地unix用户并且以某种方式里面的/home/user/Mail/内容不是有效的mbox时,这才有意义

该错误对我来说毫无意义,而且我不知道该如何摆脱它,因此我最终可以使用mutt使用gmail的smtp服务来处理我的日常电子邮件任务。

配置看起来像这样:

set from            = "gmail_user@gmail.com"
set folder          = "imaps://gmail_user@imap.gmail.com"
set smtp_url        = "smtps://gmail_user@smtp.gmail.com"
#set imap_pass       = "PASSWORD"
#set smtp_pass       = "PASSWORD"

set my_spoolfile    = "INBOX"
set my_mbox         = "Archieves"
set my_record       = "Sent"
set my_postponed    = "Drafts"
set my_spam         = "Junk"

没人知道吗?
2012年

Answers:


0

尝试设置邮箱的路径。

set folder = "~/log"
set mbox = "~/log/in.mbox"
set record = "~/log/out.mbox"
set postponed = "~/log/postponed.mbox"
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.