I've installed SOGo 2.2.7 and all worked as expected when setting it up to work
through the web interface using my OpenLDAP server as user source and my
existing dovecot and postfix servers.

Now I'm in the process of setting up the Outlook compatibility; initially my
plan was to use a SAMBA 4 server that is sync'ed with my LDAP server using LSC
(http://lsc-project.org/) and some password syncronization hacks.

I tried to use the SAMBA server from a dedicated SOGo server, but I failed to
configure things to work against a remote server (almost all documents assume
that all the services run on the same host, but I would like to be able to 
use different hosts)

To avoid the problem I installed a SAMBA server on the SOGo machine and joined
it to the existing domain as a DC; the SAMBA part worked fine but I had some
troubles when installing and configuring the openchange schema and after
multiple tries I've decided to install SOGo and Openchange on the original SAMBA
machine and once that works I'll look again into the two SAMBA servers
configuration.

In any case, now I have a SOGo machine that validates the users against the 
SAMBA 4 server (as it is a replica of my LDAP I'm using the SAMBA AD server as
the LDAP source) and has the openchange packages installed.

The system is configured to use my original IMAP and SMTP servers with
authentication and I've adjusted the dovecot authentication to use a static
mapping when the connection comes from the sogo machine as described in the
documentation.

With that configuration everything works for postfix and dovecot, as both use
the dovecot authentication system and if I use a different password on the SAMBA
server the IMAP and SMTP services act as if I gave them the LDAP one (that is,
the mapping works as expected).

With that working from the Web interface I tried from an Outlook 2013 client and
the IMAP client worked fine, but I was unable to send messages until I removed
the SMTP AUTH settings.

I'm using plain SMTP for now and Outlook works, but I would prefer the original
configuration, as I have rate controls on the postfix server that use the SMTP
username as one of its inputs (we did that after a mail user password was
obtained by a spammer, probably using some phishing system; the user sent 16.000
messages on a weekend and all of them were sent using a secure connection and a
valid password)

I have not looked at the code and I'm unsure if the problem is in SOGo or in
Openchange, but it is clear that when openchange tries to send a message it
does not use the SOGoSMTPAuthenticationType... I thought that it would use the
same call as SOGo, but it is clear that the setting is ignored.

Could someone that knows SOGo internals see where the problem lies? My guess is
that a fix should be easy, but I don't have experience with Objective C or the
SOGo source code.

Thanks in advance,

  Sergio

-- 
Sergio Talens-Oliag <[email protected]>               <http://www.iti.es/>
Key fingerprint = FF77 A16B 9D09 FC7B 6656 CFAD 261D E19A 578A 36F2
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to