[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Courier -- Trying command when NOT connected!


From Ameir Abdeldayem <ameirh at gmail dot com>
Subject Courier -- Trying command when NOT connected!
Date Wed, 2 Nov 2011 13:24:26 -0400

Hello,

I am doing a transfer from Gmail to Courier, and am running into some issues.

Courier seems to be configured to only allow messages up to 10MB.  As soon as a 10MB+ email is attempted to be transferred, that message and all other messages afterwards fail with IMAPClient error messages.  If imapsync reconnects, it retries that very same message and fails again.

1.  Are these IMAPClient error messages recognized by imapsync?
2.  Can logic be added to skip troublesome messages (e.g. if a particular message fails 2 times, skip to the next one)?

I've posted relevant connection/module information, and the output of two different syncs on two different accounts on the same hosts below.

Thanks for your help!

-Ameir
------------------------

$RCSfile: imapsync,v $ $Revision: 1.452 $ $Date: 2011/07/11 00:29:06 $ 
Command line used:
../bin/imapsync --buffersize 8192000 --nosyncacls --syncinternaldates --noauthmd5 --skipsize --allow3xx --allowsizemismatch --reconnectretry1 3 --reconnectretry2 3 --skipheader ^(?!Message-ID) --nofoldersizes --usecache --ssl1 --folder [Gmail]/All Mail --prefix2=Migration. --host1 imap.gmail.com --user1 user at domain dot tld --passfile1 ../creds/1320-2439-1170-source --host2 mail.server.org --user2 user at dest dot org --passfile2 ../creds/1320-2439-1170-dest
Modules version list:
Mail::IMAPClient     3.29
IO::Socket           1.31
IO::Socket::INET     1.31
IO::Socket::SSL      1.48
Digest::MD5          2.51
Digest::HMAC_MD5     1.01
Term::ReadKey        2.30
Authen::NTLM         1.09
Banner: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution information.

msg [Gmail]/All Mail/1986 {897}          copied to INBOX.Migration.[Gmail].All Mail/1736      
msg [Gmail]/All Mail/1987 {779}          copied to INBOX.Migration.[Gmail].All Mail/1737      
- msg [Gmail]/All Mail/1988 {14662010} couldn't append  (Subject:[Banners]) to folder INBOX.Migration.[Gmail].All Mail: Error appending message: Write failed 'Broken pipe'
Trying command when NOT connected! at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 117
Mail::IMAPClient::LastError('Mail::IMAPClient=HASH(0xa065038)', 'NO not connected') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1327
Mail::IMAPClient::_send_line('Mail::IMAPClient=HASH(0xa065038)', '121 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1318
Mail::IMAPClient::_send_line('Mail::IMAPClient=HASH(0xa065038)', '121 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr...', 1) called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1177
Mail::IMAPClient::_imap_command_do('Mail::IMAPClient=HASH(0xa065038)', 'HASH(0xa8f2ea0)', 'APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr-200...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1086
Mail::IMAPClient::_imap_command('Mail::IMAPClient=HASH(0xa065038)', 'HASH(0xa8f2ea0)', 'APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr-200...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 2786
Mail::IMAPClient::append_string('Mail::IMAPClient=HASH(0xa065038)', 'INBOX.Migration.[Gmail].All Mail', 'Return-Path: <user at domain dot tld>\x{d}\x{a}Received: from ?10.0.0...', '\Seen', '"20-Apr-2009 20:04:09 +0000"') called at ../bin/imapsync line 2694
main::copy_message(1989, '[Gmail]/All Mail', 'INBOX.Migration.[Gmail].All Mail', 'HASH(0xa074560)', '', '/tmp/imapsync_cache/imap.gmail.com/user at domain dot tld/mai...') called at ../bin/imapsync line 1293
- msg [Gmail]/All Mail/1989 {7207} couldn't append  (Subject:[hope]) to folder INBOX.Migration.[Gmail].All Mail: Error sending '121 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr-2009 20:04:09 +0000" {7207}': NO not connected
Trying command when NOT connected! at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 117
Mail::IMAPClient::LastError('Mail::IMAPClient=HASH(0xa065038)', 'NO not connected') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1327
Mail::IMAPClient::_send_line('Mail::IMAPClient=HASH(0xa065038)', '122 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1318
Mail::IMAPClient::_send_line('Mail::IMAPClient=HASH(0xa065038)', '122 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr...', 1) called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1177
Mail::IMAPClient::_imap_command_do('Mail::IMAPClient=HASH(0xa065038)', 'HASH(0xa1c3f48)', 'APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr-200...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1086
Mail::IMAPClient::_imap_command('Mail::IMAPClient=HASH(0xa065038)', 'HASH(0xa1c3f48)', 'APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr-200...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 2786
Mail::IMAPClient::append_string('Mail::IMAPClient=HASH(0xa065038)', 'INBOX.Migration.[Gmail].All Mail', 'Return-Path: <user at domain dot tld>\x{d}\x{a}Received: from ?10.0.0...', '\Seen', '"20-Apr-2009 20:04:11 +0000"') called at ../bin/imapsync line 2694
main::copy_message(1990, '[Gmail]/All Mail', 'INBOX.Migration.[Gmail].All Mail', 'HASH(0xa074560)', '', '/tmp/imapsync_cache/imap.gmail.com/user at domain dot tld/mai...') called at ../bin/imapsync line 1293
- msg [Gmail]/All Mail/1990 {7192} couldn't append  (Subject:[hope]) to folder INBOX.Migration.[Gmail].All Mail: Error sending '122 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr-2009 20:04:11 +0000" {7192}': NO not connected
Trying command when NOT connected! at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 117
Mail::IMAPClient::LastError('Mail::IMAPClient=HASH(0xa065038)', 'NO not connected') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1327
Mail::IMAPClient::_send_line('Mail::IMAPClient=HASH(0xa065038)', '123 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1318
Mail::IMAPClient::_send_line('Mail::IMAPClient=HASH(0xa065038)', '123 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr...', 1) called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1177
Mail::IMAPClient::_imap_command_do('Mail::IMAPClient=HASH(0xa065038)', 'HASH(0xa065d48)', 'APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr-200...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1086
Mail::IMAPClient::_imap_command('Mail::IMAPClient=HASH(0xa065038)', 'HASH(0xa065d48)', 'APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "20-Apr-200...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 2786
Mail::IMAPClient::append_string('Mail::IMAPClient=HASH(0xa065038)', 'INBOX.Migration.[Gmail].All Mail', 'Return-Path: <user at domain dot tld>\x{d}\x{a}Received: from ?10.0.0...', '\Seen', '"20-Apr-2009 20:04:13 +0000"') called at ../bin/imapsync line 2694
main::copy_message(1991, '[Gmail]/All Mail', 'INBOX.Migration.[Gmail].All Mail', 'HASH(0xa074560)', '', '/tmp/imapsync_cache/imap.gmail.com/user at domain dot tld/mai...') called at ../bin/imapsync line 1293


-------------------------------------------------------------------------------------------

msg [Gmail]/All Mail/1715 {3703}         copied to INBOX.Migration.[Gmail].All Mail/1485      
msg [Gmail]/All Mail/1716 {3720}         copied to INBOX.Migration.[Gmail].All Mail/1486      
- msg [Gmail]/All Mail/1717 {10772684} couldn't append  (Subject:[Easter Artwork]) to folder INBOX.Migration.[Gmail].All Mail: Error appending message: Write failed 'Broken pipe'
Trying command when NOT connected! at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 117
Mail::IMAPClient::LastError('Mail::IMAPClient=HASH(0x9dce038)', 'NO not connected') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1327
Mail::IMAPClient::_send_line('Mail::IMAPClient=HASH(0x9dce038)', '1498 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "29-Ma...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1318
Mail::IMAPClient::_send_line('Mail::IMAPClient=HASH(0x9dce038)', '1498 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "29-Ma...', 1) called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1177
Mail::IMAPClient::_imap_command_do('Mail::IMAPClient=HASH(0x9dce038)', 'HASH(0xa731d90)', 'APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "29-Mar-200...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1086
Mail::IMAPClient::_imap_command('Mail::IMAPClient=HASH(0x9dce038)', 'HASH(0xa731d90)', 'APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "29-Mar-200...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 2786
Mail::IMAPClient::append_string('Mail::IMAPClient=HASH(0x9dce038)', 'INBOX.Migration.[Gmail].All Mail', 'Delivered-To: office at domain dot tld\x{d}\x{a}Received: by 10.100.1...', '\Seen', '"29-Mar-2009 23:34:24 +0000"') called at ../bin/imapsync line 2694
main::copy_message(1718, '[Gmail]/All Mail', 'INBOX.Migration.[Gmail].All Mail', 'HASH(0x9e6ff90)', '', '/tmp/imapsync_cache/imap.gmail.com/office at domain dot tld/m...') called at ../bin/imapsync line 1293
- msg [Gmail]/All Mail/1718 {3766} couldn't append  (Subject:[Successful Report.]) to folder INBOX.Migration.[Gmail].All Mail: Error sending '1498 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "29-Mar-2009 23:34:24 +0000" {3766}': NO not connected
Trying command when NOT connected! at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 117
Mail::IMAPClient::LastError('Mail::IMAPClient=HASH(0x9dce038)', 'NO not connected') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1327
Mail::IMAPClient::_send_line('Mail::IMAPClient=HASH(0x9dce038)', '1499 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "30-Ma...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1318
Mail::IMAPClient::_send_line('Mail::IMAPClient=HASH(0x9dce038)', '1499 APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "30-Ma...', 1) called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1177
Mail::IMAPClient::_imap_command_do('Mail::IMAPClient=HASH(0x9dce038)', 'HASH(0x9dcdf48)', 'APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "30-Mar-200...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 1086
Mail::IMAPClient::_imap_command('Mail::IMAPClient=HASH(0x9dce038)', 'HASH(0x9dcdf48)', 'APPEND "INBOX.Migration.[Gmail].All Mail" (\Seen) "30-Mar-200...') called at /usr/local/share/perl/5.10.1/Mail/IMAPClient.pm line 2786
Mail::IMAPClient::append_string('Mail::IMAPClient=HASH(0x9dce038)', 'INBOX.Migration.[Gmail].All Mail', 'Delivered-To: office at domain dot tld\x{d}\x{a}Received: by 10.100.1...', '\Seen', '"30-Mar-2009 09:32:40 +0000"') called at ../bin/imapsync line 2694
main::copy_message(1719, '[Gmail]/All Mail', 'INBOX.Migration.[Gmail].All Mail', 'HASH(0x9e6ff90)', '', '/tmp/imapsync_cache/imap.gmail.com/office at domain dot tld/m...') called at ../bin/imapsync line 1293