2014-10-04 138 views
-2

我需要fetchmail來檢測Gmail帳戶文件夾內的電子郵件。但是我從郵件中收到錯誤信息。IMAP gmail上的Fetchmail錯誤

fetchmail的文件:

poll 'imap.gmail.com' 
with protocol IMAP service 993 
user "[email protected]" 
password 'Pass' 
folder '*' 
fetchmail -c 
keep 
ssl 

fetchmail的錯誤:

5 messages (5 seen) for [email protected] at imap.gmail.com (folder *). 
fetchmail: mailbox selection failed 
fetchmail: client/server synchronization error while fetching from [email protected]@imap.gmail.com 
fetchmail: Query status=7 (ERROR) 

到底是什麼問題?

+1

在fetchmail文件中啓用調試。請,堆棧溢出是一個編程站點。不要在這裏發佈與編程無關的問題。 – arnt 2014-10-04 13:18:47

回答

1

沒有在Gmail上的郵箱叫'*'文件夾。將folder '*'更改爲folder '[Gmail]/Starred'可能會做你想做的。

欲瞭解更多信息,請閱讀Gmail folders in your mail client