Imapsync
imapsync:NO APPEND 錯誤保存消息
我正在使用 imapsync 1.525 將郵件遷移到 ubuntu 12.04 上的 zarafa 7.1.4。對於相當多的消息(大約 32000 條),我收到以下錯誤:
Sent 7021 bytes Read: 219 NO APPEND error saving message ERROR: 219 NO APPEND error saving message at /usr/share/perl5/Mail/IMAPClient.pm line 1363 Mail::IMAPClient::_get_response('Mail::IMAPClient=HASH(0x225e3b0)', 219, undef) called at /usr/share/perl5/Mail/IMAPClient.pm line 1310 Mail::IMAPClient::_imap_command_do('Mail::IMAPClient=HASH(0x225e3b0)', 'HASH(0x22c1eb8)', 'APPEND "INBOX/My Folder " () "25-Aug-2010 14:58:31...') called at /usr/share/perl5/Mail/IMAPClient.pm line 1209 Mail::IMAPClient::_imap_command('Mail::IMAPClient=HASH(0x225e3b0)', 'HASH(0x22c1eb8)', 'APPEND "INBOX/My Folder " () "25-Aug-2010 14:58:31...') called at /usr/share/perl5/Mail/IMAPClient.pm line 2920 Mail::IMAPClient::append_string('Mail::IMAPClient=HASH(0x225e3b0)', 'INBOX/My Folder ', 'Return-Path: <sender@senderdomain.com>\x{d}\x{a}Delivery-Date: Wed, 25 Au...', '', '"25-Aug-2010 14:58:31 +0000"') called at /root/imapsync-1.525/imapsync line 3009 main::copy_message(2, 'My Folder ', 'INBOX/My Folder ', 'HASH(0x2292128)', '\Seen \Draft \Deleted \Flagged \Answered $Forwarded', '/tmp/imapsync_cache/imap.acme.de/my.name@mydomain.com/l...') called at /root/imapsync-1.525/imapsync line 1490 ERROR: 219 NO APPEND error saving message at /usr/share/perl5/Mail/IMAPClient.pm line 1258 Mail::IMAPClient::_imap_command('Mail::IMAPClient=HASH(0x225e3b0)', 'HASH(0x22c1eb8)', 'APPEND "INBOX/My Folder " () "25-Aug-2010 14:58:31...') called at /usr/share/perl5/Mail/IMAPClient.pm line 2920 Mail::IMAPClient::append_string('Mail::IMAPClient=HASH(0x225e3b0)', 'INBOX/My Folder ', 'Return-Path: <sender@senderdomain.com>\x{d}\x{a}Delivery-Date: Wed, 25 Au...', '', '"25-Aug-2010 14:58:31 +0000"') called at /root/imapsync-1.525/imapsync line 3009 main::copy_message(2, 'My Folder ', 'INBOX/My Folder ', 'HASH(0x2292128)', '\Seen \Draft \Deleted \Flagged \Answered $Forwarded', '/tmp/imapsync_cache/imap.acme.de/my.name@mydomain.com/l...') called at /root/imapsync-1.525/imapsync line 1490 - msg My Folder /2 {7019} couldn't append (Subject:[=?iso-8859-1?Q?AW=3A_my_subject?=]) to folder INBOX/My Folder : 219 NO APPEND error saving message msg My Folder /3 copying to INBOX/My Folder internal date from host1: [29-Aug-2010 22:17:42 +0000] internal date from host1: ["29-Aug-2010 22:17:42 +0000"] (fixed) msg My Folder /3 date ["29-Aug-2010 22:17:42 +0000"] flags [] size [1341]
其他消息已正常遷移。附件目錄有 zarafa 的權限,大約 150G 大,所以我假設 zarafa 成功地在那裡儲存了附件。文件系統上也有足夠的空間。
Zarafa 網關告訴我(日誌級別 6):
Thu Apr 4 13:44:30 2013: [28997] < 219 APPEND "INBOX/My Folder " () "25-Aug-2010 14:5 8:31 +0000" {7019} Thu Apr 4 13:44:30 2013: [28997] > + Ready for literal data Thu Apr 4 13:44:30 2013: [28997] < <7019 bytes data> Return-Path: <REMOVED MAIL DATA FOR PRIVACY> Thu Apr 4 13:44:30 2013: [28997] Trying to parse alternative multipart 1 of mail body Thu Apr 4 13:44:30 2013: [28997] > 219 NO APPEND error saving message
文件夾名稱以空格結尾(“收件箱/我的文件夾”)似乎很奇怪,但這似乎不是問題,其他消息已成功遷移到該文件夾。
我想知道“$Forwarded”標誌,這似乎很奇怪,因為所有其他標誌都以反斜杠開頭。但是在測試帳戶中,此標誌遷移得很好。
關於如何解決這個問題的任何想法?
事實證明,我達到了 zarafa 配額。我用 Thunderbird 看了之後才發現(Gilles LAMIRAL 在 imapsync maillinglist 上建議 - 謝謝)。在那裡我看到了配額。所以在zarafa提高配額後,問題就解決了。
如果不是這樣,請升級到最後一個 Mail::IMAPClient perl 模組。
什麼給出了 df 命令?
df /tmp df -i /tmp
/tmp 可以被 inode 或空格填滿。