Movemail 报告错误“无法打开:来自远程主机的无效答复”

Movemail 报告错误“无法打开:来自远程主机的无效答复”

我尝试使用 imap 上的 movemail 作为

movemail imap://[email protected]:993 nivfomuguessme ~/RMAIL

或者

movemail imap://abst.proc.do:[email protected]:993 ~/RMAIL

但报错:

movemail: mailbox `imap://abst.proc.do:***@imap.qq.com:993': cannot open: Invalid reply from the remote host
movemail: mailbox `imap://[email protected]:993': cannot open: Invalid reply from the remote host

有什么问题?

修正错误:

$ movemail -v imap://[email protected]:993 nivfguessmecii ~/RMAIL
movemail: mu_imap_connect: invalid server response: 
movemail: mailbox `imap://[email protected]:993': cannot open: Invalid reply from the remote host

它现在可以工作,但错误结果超出范围:

$ movemail -vv imaps://abst.proc.do:[email protected]:993 ~/RMAIL
movemail: number of messages in source mailbox: 52
movemail: cannot append message 13: Numerical result out of range
movemail: number of processed messages: 12
movemail: number of errors: 0 / 1

答案1

请尝试在 URL 末尾不添加端口号,如下所示:

movemail -v imap://[email protected] nivfguessmecii ~/RMAIL

它对我有用。

然后你可能需要使用 --debug-level='mailbox.prot' 进行检查

相关内容