Greetings.

I've followed the OpenChange cookbook and SOGo's PDFs and I am getting the 
impression that I'm dangerously close to a working solution.

Status:
Samba is running fine as AD DC, LDAP backend and DNS
SOGo WebMail is working fine (send/receive/folders/etc.)
Autodiscover is working fine
I can add an Exchange account to Outlook and connect
I can send email through Outlook

Outlook can not see old content (from SOGo/IMAP) and new mail is only visible 
from SOGo WebMail. Samba logs show:

S[0x7f0c54059a50]: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR 
LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready.
C[0x7f0c5442d1a0]: 1 login "username" "username"
S[0x7f0c54059a50]: 1 NO [AUTHENTICATIONFAILED] Authentication failed.
<0x0x7f0c52b6d200[NGImap4ConnectionManager]> IMAP4 login failed:
<0x0x7f0c5442d1a0[NGImap4Client]: login=username(pwd) 
socket=<NGActiveSocket[0x0x7f0c53d6a980]: mode=rw 
address=<0x0x7f0c52cbf2a0[NGInternetSocketAddress]: host=localhost 
port=45170> connectedTo=<0x0x7f0c52d77470[NGInternetSocketAddress]: 
host=localhost port=143>>>

For some reason OCSManager tries to log in with "username" as both username 
and password which is what I figured is preventing content sync. I tried 
changing "usernames" password to "username" and of course the error went 
away. Unfortunately content/mail is still not synced between Outlook and 
SOGo, the only thing getting synced is folders that I create in SOGo showing 
up in Outlook (without content). Samba logs show:

S[0x7efd401b13a0]: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR 
LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready.
C[0x7efd408d8710]: 1 login "username" "username"
S[0x7efd401b13a0]: 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR 
LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES 
THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT 
CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC 
ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY 
MOVE QUOTA] Logged in
C[0x7efd408d8710]: 2 ENABLE QRESYNC
S[0x7efd401b13a0]: * ENABLED QRESYNC
S[0x7efd401b13a0]: 2 OK Enabled.
C[0x7efd408d8710]: 3 LIST "" ""
S[0x7efd401b13a0]: * LIST (\Noselect) "." ""
S[0x7efd401b13a0]: 3 OK List completed.
C[0x7efd408d8710]: 4 LIST "" "%"
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Drafts) "." Drafts
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Sent) "." Sent
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." Spam
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Trash) "." Trash
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." rtrtrtrt
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." INBOX
S[0x7efd401b13a0]: 4 OK List completed.
C[0x7efd408d8710]: 5 capability
S[0x7efd401b13a0]: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID 
ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS 
THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN 
NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT 
SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA
S[0x7efd401b13a0]: 5 OK Capability completed.
C[0x7efd408d8710]: 6 namespace
S[0x7efd401b13a0]: * NAMESPACE (("" ".")) NIL NIL
S[0x7efd401b13a0]: 6 OK Namespace completed.
C[0x7efd408d8710]: 7 LIST "" "%"
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Drafts) "." Drafts
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Sent) "." Sent
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." Spam
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Trash) "." Trash
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." rtrtrtrt
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." INBOX
S[0x7efd401b13a0]: 7 OK List completed.
C[0x7efd408d8710]: 8 LIST "" "%"
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Drafts) "." Drafts
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Sent) "." Sent
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." Spam
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Trash) "." Trash
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." rtrtrtrt
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." INBOX
S[0x7efd401b13a0]: 8 OK List completed.
C[0x7efd408d8710]: 9 LIST "" "%"
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Drafts) "." Drafts
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Sent) "." Sent
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." Spam
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Trash) "." Trash
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." rtrtrtrt
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." INBOX
S[0x7efd401b13a0]: 9 OK List completed.
<0x0x7efd3ff68d00[MAPIStoreMailContext]> found path 
'username:username@mail/folderINBOX/' for fmid 0xf503000000000001
C[0x7efd408d8710]: 10 status "INBOX" (UIDVALIDITY)
S[0x7efd401b13a0]: * STATUS INBOX (UIDVALIDITY 1444134049)
S[0x7efd401b13a0]: 10 OK Status completed.
C[0x7efd408d8710]: 11 LIST "" "INBOX.%"
S[0x7efd401b13a0]: 11 OK List completed.
C[0x7efd408d8710]: 12 LIST "" "%"
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Drafts) "." Drafts
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Sent) "." Sent
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." Spam
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Trash) "." Trash
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." rtrtrtrt
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." INBOX
S[0x7efd401b13a0]: 12 OK List completed.
<0x0x7efd400d0e80[MAPIStoreMailContext]> found path 
'username:username@mail/folderINBOX/' for fmid 0xf503000000000001
C[0x7efd408d8710]: 13 LIST "" "INBOX.%"
S[0x7efd401b13a0]: 13 OK List completed.
C[0x7efd408d8710]: 14 LIST "" "%"
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Drafts) "." Drafts
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Sent) "." Sent
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." Spam
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Trash) "." Trash
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." rtrtrtrt
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." INBOX
S[0x7efd401b13a0]: 14 OK List completed.
<0x0x7efd3f34eae0[MAPIStoreOutboxContext]> found path 
'username:username@outbox/folderDrafts/' for fmid 0xf603000000000001
C[0x7efd408d8710]: 15 status "Drafts" (UIDVALIDITY)
S[0x7efd401b13a0]: * STATUS Drafts (UIDVALIDITY 1444134050)
S[0x7efd401b13a0]: 15 OK Status completed.
C[0x7efd408d8710]: 16 LIST "" "Drafts.%"
S[0x7efd401b13a0]: 16 OK List completed.
C[0x7efd408d8710]: 17 LIST "" "%"
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Drafts) "." Drafts
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Sent) "." Sent
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." Spam
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Trash) "." Trash
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." rtrtrtrt
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." INBOX
S[0x7efd401b13a0]: 17 OK List completed.
<0x0x7efd3f706850[MAPIStoreOutboxContext]> found path 
'username:username@outbox/folderDrafts/' for fmid 0xf603000000000001
C[0x7efd408d8710]: 18 LIST "" "Drafts.%"
S[0x7efd401b13a0]: 18 OK List completed.
C[0x7efd408d8710]: 19 LIST "" "%"
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Drafts) "." Drafts
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Sent) "." Sent
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." Spam
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Trash) "." Trash
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." rtrtrtrt
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." INBOX
S[0x7efd401b13a0]: 19 OK List completed.
<0x0x7efd3f8d2fb0[MAPIStoreMailContext]> found path 
'username:username@mail/folderSent/' for fmid 0xf703000000000001
C[0x7efd408d8710]: 20 status "Sent" (UIDVALIDITY)
S[0x7efd401b13a0]: * STATUS Sent (UIDVALIDITY 1444134051)
S[0x7efd401b13a0]: 20 OK Status completed.
C[0x7efd408d8710]: 21 LIST "" "Sent.%"
S[0x7efd401b13a0]: 21 OK List completed.
C[0x7efd408d8710]: 22 LIST "" "%"
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Drafts) "." Drafts
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Sent) "." Sent
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." Spam
S[0x7efd401b13a0]: * LIST (\HasNoChildren \Trash) "." Trash
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." rtrtrtrt
S[0x7efd401b13a0]: * LIST (\HasNoChildren) "." INBOX
S[0x7efd401b13a0]: 22 OK List completed.
<0x0x7efd4168fc90[MAPIStoreMailContext]> found path 
'username:username@mail/folderSent/' for fmid 0xf703000000000001
C[0x7efd408d8710]: 23 LIST "" "Sent.%"
S[0x7efd401b13a0]: 23 OK List completed.
.... and so on and soforth

Why is OCSManager trying to log in with "username" as password (and how can I 
change that)? I did supply Outlook with valid AD credentials, otherwise it 
would not connect? And why is content not synced?

Any help will be highly appreciated.
_______________________________________________
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel

Reply via email to