Hi,

I'm trying to push to an IMAP server and the connection is reset by peer. I'm 
wondering if this can be avoided. The configuration is added below and the 
redacted output of running with -D is attached.

Cheers,
Jos

```
$ mbsync -D --config mbsyncrc --push --full MAIL
new message 1213 on slave
  -> pair(-2,1213) exists
  -> pushing message, TUID fFzb1tNbHJO+
synchronizing flags
propagating new messages
>>> 5 APPEND "INBOX" (\Seen \Deleted) "30-Jun-2016 08:40:53 +0200" {8355}
+ send literal data
(1 in progress) >>> 6 APPEND "INBOX" (\Deleted) "30-Jun-2016 08:40:53 +0200" 
{9806}
Socket error from _____._______.nl (__.___.___.___:993): Connection reset by 
peer
```

`mbsyncrc`
```
IMAPAccount MAIL
Host _____._______.nl
User user
Pass pass
Port 993
SSLType IMAPS 
AuthMechs * 

IMAPStore MAIL-remote 
Account MAIL
  
MaildirStore MAIL-local
Path ~/imap/MAIL/
Inbox ~/imap/MAIL/Inbox
Trash ~/imap/MAIL/Trash
  
Channel MAIL
Master :MAIL-remote:
Slave :MAIL-local:
Patterns *
Patterns % !Trash
Create Both
ExpireUnread no
CopyArrivalDate yes
```
Reading configuration file mbsyncrc
Channel MAIL
Opening master store MAIL-remote...
Resolving _____._______.nl... ok
Connecting to _____._______.nl (__.___.___.___:993)... 
Opening slave store MAIL-local...
pattern '%' (effective '%'): Path, no INBOX
pattern '*' (effective '*'): Path, no INBOX
got mailbox list from slave:
  Unsent Messages
  Trash/oasisnews
  Sent
  Junk
  INBOX/
  INBOX/_________
  INBOX/____________
  INBOX/____
  INBOX/_______
  INBOX/___
  INBOX/__/________
  INBOX/__
  INBOX/______/_____/_______
  INBOX/______/_____
  INBOX/______/___/_________
  INBOX/______/___/______________
  INBOX/______/___
  INBOX/______/____________
  INBOX/______/________
  INBOX/______/_________
  INBOX/______/_______
  INBOX/______/________
  INBOX/______
  INBOX/_________
  INBOX/__-____
  INBOX/_______/____________
  INBOX/_______
  INBOX/@____/___
  INBOX/@____
  INBOX
  Drafts
  Archives/2016
  Archives/2015
  Archives/2014
  Archives
Connection is now encrypted
* OK [CAPABILITY IMAP4REV1 AUTH=LOGIN MOVE] IMAP4rev1 DavMail 4.7.2-2427 server ready
Logging in...
>>> 1 LOGIN <user> <pass>
1 OK Authenticated
pattern '%' (effective '%'): Path, no INBOX
pattern '*' (effective '*'): Path, no INBOX
>>> 2 LIST "" "*"
* LIST (\HasChildren) "/" "Archives"
...
...
2 OK LIST completed
got mailbox list from master:
  Sent
  Trash/oasisnews
  Trash
  Trash
  Unsent Messages
  INBOX/_________
  INBOX/____________
  INBOX/____
  INBOX/_______
  INBOX/___
  INBOX/__/________
  INBOX/__
  INBOX/______/_____/_______
  INBOX/______/_____
  INBOX/______/___/_________
  INBOX/______/___/______________
  INBOX/______/___
  INBOX/______/____________
  INBOX/______/________
  INBOX/______/_________
  INBOX/______/_______
  INBOX/______/________
  INBOX/______
  INBOX/_________
  INBOX/______
  INBOX/__-____
  INBOX/_______/____________
  INBOX/_______
  INBOX/@____/___
  INBOX/@____
  INBOX
  Junk
  Drafts
  Archives/2016
  Archives/2015
  Archives/2014
  Archives
reading sync state /home/_____/.mbsync/:MAIL-remote:INBOX_:MAIL-local:INBOX ...
...
...
recovering journal ...
...
...
Opening master box INBOX...
>>> 3 SELECT "INBOX"
Opening slave box INBOX...
* 111 EXISTS
* 46 RECENT
* OK [UIDVALIDITY 1]
* OK [UIDNEXT 12948]
* FLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded Junk)
* OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded Junk \*)]
3 OK [READ-WRITE] SELECT completed
Loading master...
loading master [12946,inf]
>>> 4 UID FETCH 12946:12947 (UID)
Loading slave...
loading slave [1,inf]
slave: 1397 messages, 124 recent
matching messages on slave against sync records
...
...
4 OK UID FETCH completed
master: 111 messages, 46 recent
matching previously copied messages on master
...
...
Warning: lost track of 927 pushed message(s)
matching messages on master against sync records
Synchronizing...
synchronizing old entries
...
...
  pushing flags: + -
synchronizing new entries
synchronizing flags
...
...
propagating new messages
>>> 5 APPEND "INBOX" (\Seen \Deleted) "30-Jun-2016 08:40:53 +0200" {8355}
+ send literal data
(1 in progress) >>> 6 APPEND "INBOX" (\Deleted) "30-Jun-2016 08:40:53 +0200" {9806}
Socket error from _______._____.nl (__.___.___.___:993): Connection reset by peer
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to