我正在使用 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:
<[email protected]>\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/[email protected]/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:
<[email protected]>\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/[email protected]/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
文件夹名称以空格结尾(“INBOX/My Folder”)似乎很奇怪,但这似乎不是问题,其他消息已成功迁移到该文件夹。
我对“$Forwarded”标志感到疑惑,这似乎很奇怪,因为所有其他标志都以反斜杠开头。但在测试帐户中,此标志迁移正常。
关于如何解决这个问题有什么想法吗?
答案1
原来我达到了 zarafa 配额。我是在用 thunderbird 查看后才发现的(Gilles LAMIRAL 在 imapsync 邮件列表中建议这样做 - 谢谢)。在那里我看到了配额。因此在提高 zarafa 的配额后,问题就解决了。
答案2
如果不是这种情况,请升级至最后的 Mail::IMAPClient perl 模块。
df 命令有何作用?
df /tmp
df -i /tmp
/tmp 可能被 inode 或空间填满。