Hello!

I am using davmail because some [smart guy] thought that everybody in
the world would be happy to use Microsoft mailers.

I am using vm 8.2.0b, I applied the patch for bug 722014, and got
a little improvement vm logs on correctly but fails to fetch the
messages.

I get

Retrieval from smarties:inbox signaled: (vm-imap-protocol-error expected 
(RFC822.SIZE number) in FETCH response)

where smarties:inbox is the mailbox I am trying to get the messages
from.

The trace of the IMAP session is this:

---------------------------------8<---------------------------------
Starting IMAP session Tue Feb 13 15:42:03 2018

-- connecting to localhost:1143

* OK [CAPABILITY IMAP4REV1 AUTH=LOGIN MOVE] IMAP4rev1 DavMail 4.8.3-2554 server 
ready

-- connected for checkmail

VM CAPABILITY

* CAPABILITY IMAP4REV1 AUTH=LOGIN MOVE

VM OK CAPABILITY completed

VM LOGIN <parameters omitted>

VM OK Authenticated

VM SELECT "inbox"

* 4 EXISTS

* 1 RECENT

* OK [UIDVALIDITY 1]

* OK [UIDNEXT 12747]

* FLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded Junk)

* OK [PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded Junk 
\*)]

VM OK [READ-WRITE] SELECT completed

VM LOGOUT

* BYE Closing connection

VM OK LOGOUT completed


Process IMAP<1> connection broken by remote peer
ending IMAP session Tue Feb 13 15:42:03 2018

---------------------------------8<---------------------------------

while the davmail log is that:

---------------------------------8<---------------------------------
2018-02-13 15:42:32,681 DEBUG [davmail.imap.ImapServer] davmail  - Connection 
from /127.0.0.1 on port 1143
2018-02-13 15:42:32,681 INFO  [davmail.imap.ImapServer] davmail.connection  - 
CONNECT - 127.0.0.1:43620 
2018-02-13 15:42:32,749 DEBUG [ImapConnection-43620] 
davmail.exchange.ExchangeSession  - Test configuration status: 302
2018-02-13 15:42:32,749 DEBUG [ImapConnection-43620] davmail  - > * OK 
[CAPABILITY IMAP4REV1 AUTH=LOGIN MOVE] IMAP4rev1 DavMail 4.8.3-2554 server ready
2018-02-13 15:42:32,749 DEBUG [ImapConnection-43620] davmail  - < VM CAPABILITY
2018-02-13 15:42:32,750 DEBUG [ImapConnection-43620] davmail  - > * CAPABILITY 
IMAP4REV1 AUTH=LOGIN MOVE
2018-02-13 15:42:32,750 DEBUG [ImapConnection-43620] davmail  - > VM OK 
CAPABILITY completed
2018-02-13 15:42:32,788 DEBUG [ImapConnection-43620] davmail  - < LOGIN ********
2018-02-13 15:42:32,788 DEBUG [ImapConnection-43620] 
davmail.exchange.ExchangeSession  - Got session 
davmail.exchange.ews.EwsExchangeSession@504b98b5 from cache
2018-02-13 15:42:32,840 INFO  [ImapConnection-43620] davmail.connection  - 
LOGON - 127.0.0.1:43620 domain\username
2018-02-13 15:42:32,840 DEBUG [ImapConnection-43620] davmail  - > VM OK 
Authenticated
2018-02-13 15:42:32,841 DEBUG [ImapConnection-43620] davmail  - < VM SELECT 
"inbox"
2018-02-13 15:42:33,008 DEBUG [ImapConnection-43620] 
davmail.exchange.ExchangeSession  - Folder inbox - Search items current count: 
4 fetchCount: 500 highest uid: 12746 lowest uid: 12738
2018-02-13 15:42:33,009 DEBUG [ImapConnection-43620] 
davmail.exchange.ExchangeSession  - Message IMAP uid: 12738 uid: 
AAAAAA7fCW8jh2dOmx/lsnokJ5cBAOVkB+TURUxBtcGI8FNCgQQAAWHVeLgAAA== ItemId: 
AAMkADZiNTM0OTRhLTJhZTUtNDU4MS1hMzM0LTQ1NGUwZWEzYjU1MwBGAAAAAAAO3wlvI4dnTpsf5bJ6JCeXBwDlZAfk1EVMQbXBiPBTQoEEAAAAAAEMAADlZAfk1EVMQbXBiPBTQoEEAAFh1Xi4AAA=
 ChangeKey: CQAAABYAAADlZAfk1EVMQbXBiPBTQoEEAAFh5l6J
2018-02-13 15:42:33,009 DEBUG [ImapConnection-43620] 
davmail.exchange.ExchangeSession  - Message IMAP uid: 12739 uid: 
AAAAAA7fCW8jh2dOmx/lsnokJ5cBAOVkB+TURUxBtcGI8FNCgQQAAWHVeLkAAA== ItemId: 
AAMkADZiNTM0OTRhLTJhZTUtNDU4MS1hMzM0LTQ1NGUwZWEzYjU1MwBGAAAAAAAO3wlvI4dnTpsf5bJ6JCeXBwDlZAfk1EVMQbXBiPBTQoEEAAAAAAEMAADlZAfk1EVMQbXBiPBTQoEEAAFh1Xi5AAA=
 ChangeKey: CQAAABYAAADlZAfk1EVMQbXBiPBTQoEEAAFh5l6K
2018-02-13 15:42:33,009 DEBUG [ImapConnection-43620] 
davmail.exchange.ExchangeSession  - Message IMAP uid: 12741 uid: 
AAAAAA7fCW8jh2dOmx/lsnokJ5cBAOVkB+TURUxBtcGI8FNCgQQAAWHVeLsAAA== ItemId: 
AAMkADZiNTM0OTRhLTJhZTUtNDU4MS1hMzM0LTQ1NGUwZWEzYjU1MwBGAAAAAAAO3wlvI4dnTpsf5bJ6JCeXBwDlZAfk1EVMQbXBiPBTQoEEAAAAAAEMAADlZAfk1EVMQbXBiPBTQoEEAAFh1Xi7AAA=
 ChangeKey: CQAAABYAAADlZAfk1EVMQbXBiPBTQoEEAAFh5l6M
2018-02-13 15:42:33,010 DEBUG [ImapConnection-43620] 
davmail.exchange.ExchangeSession  - Message IMAP uid: 12746 uid: 
AAAAAA7fCW8jh2dOmx/lsnokJ5cBAOVkB+TURUxBtcGI8FNCgQQAAWHVeL4AAA== ItemId: 
AAMkADZiNTM0OTRhLTJhZTUtNDU4MS1hMzM0LTQ1NGUwZWEzYjU1MwBGAAAAAAAO3wlvI4dnTpsf5bJ6JCeXBwDlZAfk1EVMQbXBiPBTQoEEAAAAAAEMAADlZAfk1EVMQbXBiPBTQoEEAAFh1Xi+AAA=
 ChangeKey: CQAAABYAAADlZAfk1EVMQbXBiPBTQoEEAAFh5l6j
2018-02-13 15:42:33,010 DEBUG [ImapConnection-43620] davmail  - > * 4 EXISTS
2018-02-13 15:42:33,010 DEBUG [ImapConnection-43620] davmail  - > * 1 RECENT
2018-02-13 15:42:33,010 DEBUG [ImapConnection-43620] davmail  - > * OK 
[UIDVALIDITY 1]
2018-02-13 15:42:33,010 DEBUG [ImapConnection-43620] davmail  - > * OK [UIDNEXT 
12747]
2018-02-13 15:42:33,010 DEBUG [ImapConnection-43620] davmail  - > * FLAGS 
(\Answered \Deleted \Draft \Flagged \Seen $Forwarded Junk)
2018-02-13 15:42:33,010 DEBUG [ImapConnection-43620] davmail  - > * OK 
[PERMANENTFLAGS (\Answered \Deleted \Draft \Flagged \Seen $Forwarded Junk \*)]
2018-02-13 15:42:33,010 DEBUG [ImapConnection-43620] davmail  - > VM OK 
[READ-WRITE] SELECT completed
2018-02-13 15:42:33,049 DEBUG [ImapConnection-43620] davmail  - < VM FETCH 1:4 
(UID RFC822.SIZE FLAGS)
2018-02-13 15:42:33,097 DEBUG [ImapConnection-43620] 
davmail.imap.ImapConnection  - * 1 FETCH (UID 12738
2018-02-13 15:42:33,197 DEBUG [ImapConnection-43620] 
davmail.exchange.ExchangeSession  - Downloaded full message content for IMAP 
UID 12738 (22679 bytes)
2018-02-13 15:42:33,197 DEBUG [ImapConnection-43620] davmail  - >  RFC822.SIZE 
22679 FLAGS (\Seen))
2018-02-13 15:42:33,197 DEBUG [ImapConnection-43620] 
davmail.imap.ImapConnection  - * 2 FETCH (UID 12739
2018-02-13 15:42:33,270 DEBUG [ImapConnection-43620] 
davmail.exchange.ExchangeSession  - Downloaded full message content for IMAP 
UID 12739 (22886 bytes)
2018-02-13 15:42:33,270 DEBUG [ImapConnection-43620] davmail  - >  RFC822.SIZE 
22886 FLAGS (\Seen))
2018-02-13 15:42:33,270 DEBUG [ImapConnection-43620] 
davmail.imap.ImapConnection  - * 3 FETCH (UID 12741
2018-02-13 15:42:34,396 DEBUG [ImapConnection-43620] 
davmail.exchange.ExchangeSession  - Downloaded full message content for IMAP 
UID 12741 (24025 bytes)
2018-02-13 15:42:34,397 DEBUG [ImapConnection-43620] davmail  - >  RFC822.SIZE 
24025 FLAGS (\Seen))
2018-02-13 15:42:34,398 DEBUG [ImapConnection-43620] 
davmail.imap.ImapConnection  - * 4 FETCH (UID 12746
2018-02-13 15:42:34,564 DEBUG [ImapConnection-43620] davmail  - Downloaded 131 
KBytes from /ews/exchange.asmx
2018-02-13 15:42:34,582 DEBUG [ImapConnection-43620] davmail  - Downloaded 259 
KBytes from /ews/exchange.asmx
2018-02-13 15:42:34,584 DEBUG [ImapConnection-43620] davmail  - Downloaded 387 
KBytes from /ews/exchange.asmx
2018-02-13 15:42:34,587 DEBUG [ImapConnection-43620] davmail  - Downloaded 519 
KBytes from /ews/exchange.asmx
2018-02-13 15:42:34,590 DEBUG [ImapConnection-43620] davmail  - Downloaded 649 
KBytes from /ews/exchange.asmx
2018-02-13 15:42:34,594 DEBUG [ImapConnection-43620] davmail  - Downloaded 778 
KBytes from /ews/exchange.asmx
2018-02-13 15:42:34,627 DEBUG [ImapConnection-43620] davmail  - Downloaded 907 
KBytes from /ews/exchange.asmx
2018-02-13 15:42:34,634 DEBUG [ImapConnection-43620] 
davmail.exchange.ExchangeSession  - Downloaded full message content for IMAP 
UID 12746 (700053 bytes)
2018-02-13 15:42:34,634 DEBUG [ImapConnection-43620] davmail  - >  RFC822.SIZE 
700053 FLAGS (\Recent))
2018-02-13 15:42:34,634 DEBUG [ImapConnection-43620] davmail  - > VM OK FETCH 
completed
2018-02-13 15:42:34,635 DEBUG [ImapConnection-43620] davmail  - < VM FETCH 1:1 
(RFC822.SIZE)
2018-02-13 15:42:34,693 DEBUG [ImapConnection-43620] 
davmail.imap.ImapConnection  - * 1 FETCH (UID 12738
2018-02-13 15:42:35,807 DEBUG [ImapConnection-43620] 
davmail.exchange.ExchangeSession  - Downloaded full message content for IMAP 
UID 12738 (22679 bytes)
2018-02-13 15:42:35,807 DEBUG [ImapConnection-43620] davmail  - >  RFC822.SIZE 
22679)
2018-02-13 15:42:35,812 DEBUG [ImapConnection-43620] davmail  - > VM OK FETCH 
completed
---------------------------------8<---------------------------------

The mailbox is configured this way

(setq vm-imap-account-alist
          
'(("imap-ssl:outlook.office365.com:993:inbox:login:gianuberto.la...@eng.it:*" 
"gianuberto.la...@eng.it:*")
                ("imap:localhost:1143:inbox:login:domain\\username:*" 
"smarties"))
          ) 

What could I have done wrong?

-- 
                                                Gian
                                       Friends will be friends
                                          right to the end!

Reply via email to