Samba4&Openchange+SOPE&SOGo appliance and Dovecot !
At the moment I try to cross the Appliance and Dovecot 2.0.x version and used built-in Samba4 LDAP server only without other LDAP servers.
I have done that Dovecot can authorize users by this schema.
But there is some new change in SOGo (in it self) .
Now some details on order.
There are 2 ways of user authorization in Dovecot:
- Password lookups;
- Authentication binds.
It has been tested:
- telnet server 143
$ 1 login user pass
successful (information about Dovecot)
$ 2 logout
Dovecot creates now user mail folder (mailboxes is set uo as maildir) where it creates also folders I specified (such as Sent, Drafts, Trash) .
But it doesn' t create Inbox folders in user mail folder (Inbox in Dovecot with maildir = 3 folder: new, cur, tmp) .
And follow I get error in MS Outlook: Can' t open default mail storage.
There is successful authorization in dovecot log.
I don' t know why so by now.
What logs are needed ? Does anybody know why so happens ?
I have made one investigation.
I have installed Samba4 beta1+Openchange 4026 + SOPE&SOGo, Dovecot 2.0.19, Exim 4.76, MS Outlook 2010 as clients.
I have added two users (exept administrator) to Samba4 and as following to Openchange:
first user: /usr/local/samba/bin/samba-tool user add test test (user pass)
second user: /usr/local/samba/bin/samba-tool user add new newUser (user pass) .
and added two this users to MS Outlook, that is have made two profiles.
So, if I open MS Outlook as user with the same password as login name (user test, password test) , Dovecot is authorized succsessfully in Samba4 LDAP server and creates all mailbox folders (including Inbox set) , but if I open MS Outlook as any user what password differs from its login name (in my example it is new user with newUser password) , Dovecot authorization is failed and Dovecot doesn' t create mailbox folders at all, even if I login as administrator (password differs from administrator)
In previous post I talked about login By MS Outlook only, without logging in via Sogo web interface before or after login by MS Outlook.
In case of logging in via Sogo web interface is doesn' t matter what pass has a user, equal to user (login) name or different, folders are created anyway.
And if I log in by MS Outlook as user with pass = user (login) name folders are created not during user adding to MS Outlook, but while first MS Outlook starting with this user after adding it.
I have found one more feature or issue of working Samba4&Openchange&SOPE+SOGo&Dovecot&Exim & MS Outlook 2010 as client.
For example, user logs to its mailbox account and sends e-mail to yourselves via Web GUI or MS Outlook.
Concerning Web GUI:
After user has sent e-mail to yourselves, it is not displayed in Inbox folder just after sending but is displayed in Sent folder just after sending. This message will be displayed in this session in Inbox folder, after that user presses to other folder (for example goes to Drafts) and then presses back to Inbox (goes back to Inbox) , or logs out and then logs in again.
Concerning MS Outlook:
After user has sent e-mail to yourselves, it is not displayed in Inbox folder just after sending but is displayed in Sent folder just after sending. This message will be displayed in this session in Inbox folder, after that user goes to Inbox folder and presses to "synchronize this folder" button at MS Outlook, or logs out and then logs in again.
So, is it SOGo or Openchange issue ?
I think it is SOGo issue, but may be it needs to set something (Samba4 or SOGo or Dovevot) more up ?