Comments (4)
Hmm, I solved it by using --ssl1
even though the first server doesn't actually have a valid certificate as far as I know. But it works which is good enough for me.
from imapsync.
Hi Jelmer,
It looks like the host1 server disconnects when imapsync try to fetch a message.
Look at the host1 imap log.
Add --debugimap1 and see if it helps.
++++ Looping on each folder
[.procmailrc] -> [_procmailrc]
[Clienten] -> [Clienten]
- msg Clienten/1 {0} S[2054] F[\Seen] I[23-Feb-2011 20:04:38 +0100] could not be fetched: socket closed while reading data from server (4x)
- msg Clienten/1 skipped. Could not be fetched
Au revoir, 09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06
from imapsync.
Hi Gilles,
Thanks for the quick reply!
Regretably I don't have access to all the logs on the first host. But with --debugimap1 I get a lot of the following:
msg Trash/21 copying to Trash
Sending: 427 UID FETCH 21 BODY.PEEK[]
Sent 30 bytes
ERROR: socket closed while reading data from server at Mail/IMAPClient.pm line 1629.
Mail::IMAPClient::_read_line('Mail::IMAPClient=HASH(0x313563c)', 'GLOB(0x31d2b7c)') called at Mail/IMAPClient.pm line 1381
Mail::IMAPClient::_get_response('Mail::IMAPClient=HASH(0x313563c)', 'HASH(0x319925c)', 427, undef) called at Mail/IMAPClient.pm line 1315
Mail::IMAPClient::_imap_command_do('Mail::IMAPClient=HASH(0x313563c)', 'HASH(0x319a214)', 'UID FETCH 21 BODY.PEEK[]') called at Mail/IMAPClient.pm line 1214
Mail::IMAPClient::_imap_command('Mail::IMAPClient=HASH(0x313563c)', 'HASH(0x319a214)', 'UID FETCH 21 BODY.PEEK[]') called at Mail/IMAPClient.pm line 1425
Mail::IMAPClient::_imap_uid_command('Mail::IMAPClient=HASH(0x313563c)', 'HASH(0x319a214)', 'FETCH', 21, 'BODY.PEEK[]') called at Mail/IMAPClient.pm line 927
Mail::IMAPClient::message_to_file('Mail::IMAPClient=HASH(0x313563c)', 'SCALAR(0x2cb8324)', 21) called at Mail/IMAPClient.pm line 852
Mail::IMAPClient::message_string('Mail::IMAPClient=HASH(0x313563c)', 21) called at script/imapsync line 3654
main::message_for_host2(21, 'Trash', 6398, '\Seen', '11-Aug-2011 17:12:52 +0200', 'HASH(0x2cb1d8c)') called at script/imapsync line 3590
main::copy_message(21, 'Trash', 'Trash', 'HASH(0x2cb1d8c)', '', 'C:\Users\...\AppData\Local\Temp/imapsync_cache/...') called at script/imapsync line 1619
require main called at c:/strawberry/perl/vendor/lib/PAR.pm line 636
PAR::_run_member('Archive::Zip::ZipFileMember=HASH(0x2b4e3f4)', 1) called at script/main.pl line 26
require main called at c:/strawberry/perl/vendor/lib/PAR.pm line 636
PAR::_run_member('Archive::Zip::ZipFileMember=HASH(0x2b4e5c4)') called at c:/strawberry/perl/vendor/lib/PAR.pm line 428
PAR::import('PAR') called at -e line 953
eval {...} called at -e line 209
__par_pl::BEGIN() called at script/imapsync line 0
eval {...} called at script/imapsync line 0
reconnecting to xx.xx.xx.xx, last error: socket closed while reading data from server
Connecting with IO::Socket::INET PeerAddr xx.xx.xx.xx PeerPort 143 Proto tcp Timeout 120 Debug 1
Connected to xx.xx.xx.xx errno(Er is een verbindingsaanvraag gedaan voor socket dat al verbonden is.)
Read: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot ready.
Sending: 428 LOGIN <<<REMOVED>>>
Sent 56 bytes
Read: 428 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
Sending: 429 SELECT Trash
Sent 18 bytes
Read: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
* 21 EXISTS
* 0 RECENT
* OK [UNSEEN 2] First unseen.
* OK [UIDVALIDITY 1298903262] UIDs valid
* OK [UIDNEXT 22] Predicted next UID
* OK [HIGHESTMODSEQ 1] Highest
429 OK [READ-WRITE] Select completed.
reconnect success(1) on try #1/3
Sending: 430 UID FETCH 21 BODY.PEEK[]
Sent 30 bytes
The error in Dutch Er is een verbindingsaanvraag gedaan voor socket dat al verbonden is.
translates as "There was a connection request for a socket that is already connected."
from imapsync.
Good but strange.
Le 10/08/2014 14:19, Jelmer Schreuder a écrit :
Hmm, I solved it by using |--ssl1| even though the first server doesn't actually have a valid certificate as far as I know. But it works which is good enough for me.
Au revoir, 09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06
from imapsync.
Related Issues (20)
- Imapsync webserver and Debian 12 HOT 1
- could not be fetched: socket closed while reading data from server (4x) The most frequent error is ERR_Host1_FETCH. HOT 3
- After losing network connection, imapsync appears to not be able to sync ~2000 missed emails. HOT 3
- imapsync parallel command HOT 5
- mapsync Ended by a signal TERM HOT 1
- Handling slashes "/" in folder names HOT 6
- Install on M1 via brew HOT 1
- Syncing Imap Sync from Imap account to Mail Plus ? HOT 24
- log duplicates HOT 1
- Ignore "ERR_APPEND" HOT 4
- Website is down HOT 3
- Resync recommandations and Duplicates HOT 5
- Error with sieve/managesieve.sieve file and the .dovecot.sieve symlink
- Authentication failed only on host1 issue HOT 4
- Docker: Store logs on a different volume outside of the container HOT 1
- Special characters in foldernames HOT 1
- delete mail host1 based on space\quota HOT 3
- Total on host2 greater than on host1 although size is lesser HOT 1
- Invalid Perl type for string HOT 1
- line 13: 36766 Killed: 9 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imapsync.