Hello all,

 

I have  installed sogo using apt-get. 

Followed the guide below. SOGo Native Microsoft Outlook Configuration.pdf 
<http://www.sogo.nu/files/docs/SOGo%20Native%20Microsoft%20Outlook%20Configuration.pdf>
  (PDF)

 

Can someone analyse and let me know. I have tried installing from scratch 
(formatting and installing) 2 or 3 times same situation.

 

Outlook 2007/2010 is not able to connect either through IP or name (via hosts 
file) using native MAPI.
Outlook 2007/2010 not connecting using Outlook Anywhere either.
The certificate is a valid paid cert

 

Activesync in 2013 works but I don’t want that.

 

Regards

DP

 

From: [email protected] [mailto:[email protected]] On Behalf Of Martin 
Simovic
Sent: 05 October 2015 15:59
To: [email protected]
Subject: Re: [SOGo] rpcproxy not working with outlook 2007 / 2010

 

Hi,

 

 

On 04 Oct 2015, at 16:13, <[email protected]> <[email protected]> 
wrote:

 

Hello all,
Ive checked thoroughly that outlook is not able to wotj with sogo using native
mode.
below are the facts.

Environment
Ubuntu LTS trusty, Samba4 native mode., dovecot, postfix,sogo, ocsmanager with
rpcproxy installed.
Webmail  - working
Activesync - working
IMAP/POP3 - working.

Outlook 2007/2010 is not able to connect either through IP or name (via hosts
file) using native MAPI. (does this work on LAN only)
Outlook 2007/2010 not connecting using Outlook Anywhere either.
The certificate is a valid paid cert
this is what I get in the access.log of apache2

[04/Oct/2015:19:34:51 +0530] "RPC_IN_DATA /rpc/rpcproxy.dll?
mail.mydomain.com:6004 HTTP/1.1" 401 5757 "-" "MSRPC"
[04/Oct/2015:19:34:52 +0530] "RPC_OUT_DATA /rpc/rpcproxy.dll?
mail.mydomain.com:6004 HTTP/1.1" 401 5757 "-" "MSRPC"

mail.mydomain.com is a placeholder. the 6004 used to be 6002 an hour back so
it might not be relavent.

when I use activesync the username is seen
POST /Microsoft-Server-ActiveSync?
[email protected]&DeviceId=JF48EU1D7D0LL5QBAWWS3EVDQ0&DeviceType=iPhone&Cmd=Ping
HTTP/1.1" 200 825 "-" "Apple-iPhone7C1/1301.404"

Can someone through some light on this?

 

I order to help you please post your smb.conf and ocsmanager.ini files. It’d 
also help if you stated how you installed your environment (compiling from 
source, installing from packages - if so, wha is package source (sogo , 
zentyal?)

 

Regards

Martin.

 

root@mail:~# cat /etc/samba/smb.conf
# Global parameters
[global]
        workgroup = YYYYYY
        realm = YYYYYY.in
        netbios name = mail
        passdb backend = samba4
        server role = active directory domain controller
        dns forwarder = 8.8.8.8

### Configuration required by OpenChange server ###
dsdb:schema update allowed = true
dcerpc endpoint servers = +epmapper, +mapiproxy, +dnsserver
dcerpc_mapiproxy:server = true
dcerpc_mapiproxy:interfaces = exchange_emsmdb, exchange_nsp, exchange_ds_rfr
### Configuration required by OpenChange server ###

mapistore:namedproperties = mysql
namedproperties:mysql_user = openchange-user
namedproperties:mysql_pass = YYYYYYxxxx
namedproperties:mysql_host = localhost
namedproperties:mysql_db = openchange

mapistore:indexing_backend = 
mysql://openchange-user:YYYYYYxxxx@localhost/openchange
mapiproxy:openchangedb = mysql://openchange-user:YYYYYYxxxx@localhost/openchange


load printers = No
printing = bsd
printcap name = /dev/null
disable spoolss = Yes

[netlogon]
        path = /var/lib/samba/sysvol/YYYYYY.in/scripts
        read only = No

[sysvol]
        path = /var/lib/samba/sysvol
        read only = No
root@mail:~#

######################################################

root@mail:~# cat /etc/ocsmanager/ocsmanager.ini
#
# ocsmanager - Pylons configuration
#
# The %(here)s variable will be replaced with the parent directory of this file
#
[DEFAULT]
debug = true
email_to = [email protected]
smtp_server = localhost
error_email_from = paste@localhost

[main]
# Possible authentication system
# auth = file
#auth = ldap
auth = ldap
mapistore_root = /var/lib/samba/private
mapistore_data = /var/lib/samba/private/mapistore
debug = yes

[auth:file]
#file =

[auth:ldap]
host = ldap://127.0.0.1
port = 389
bind_dn = cn=Administrator,cn=Users,dc=YYYYYY,dc=in
bind_pw = MYLDAPPASS
basedn = cn=Users,dc=YYYYYY,dc=in
#filter = (cn=%s)
#attrs = userPassword, x-isActive

[auth:single]
username = openchange
# password is test
password = {SSHA}I6Hy5Wv0wuxyXvMBFWFQDVVN12_CLaX9

[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 5000
protocol_version = HTTP/1.1

[app:main]
use = egg:ocsmanager
full_stack = true
static_files = true
cache_dir = %(here)s/data
beaker.session.key = ocsmanager
beaker.session.secret = SDyKK3dKyDgW0mlpqttTMGU1f
app_instance_uuid = {ee533ebc-f266-49d1-ae10-d017ee6aa98c}
NTLMAUTHHANDLER_WORKDIR = /var/cache/ntlmauthhandler
SAMBA_HOST = 127.0.0.1

[rpcproxy:ldap]
host = localhost
port = 389
basedn = CN=Users,DC=YYYYYY,DC=in

# If you'd like to fine-tune the individual locations of the cache data dirs
# for the Cache data, or the Session saves, un-comment the desired settings
# here:
#beaker.cache.data_dir = %(here)s/data/cache
#beaker.session.data_dir = %(here)s/data/sessions

# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
# execute malicious code after an exception is raised.
set debug = true

[autodiscover]
# The client address that is not in these networks have RPC/Proxy
# prioritaised. It only works for Outlook 2010 or higher. Delimiter: ,
# internal_networks = 0.0.0.0/0

[autodiscover:rpcproxy]
# Enabled RPC/Proxy or not
enabled = true
external_hostname = mail.YYYYYY.in
# We assume the autodiscover host and the EWS (Free/Busy) are in the same host
# external_hostname = hostname
# Require SSL to logon. Default value is false
 ssl = true

[outofoffice]
# Set the backend.
# Possible backends: file, managesieve
# file makes sieve and OCSManager lives in the same host
# managesieve indicates the server to put/get the sieve script
# backend = file

[outofoffice:file]
# Path of the sieve script for the user
#   Expansion variables (example [email protected]):
#       $domain   = example.com
#       $user     = user.name
#       $fulluser = [email protected]
sieve_script_path = /home/vmail/$domain/$user/sieve-script
# If the sieve script directory hierarchy does not exist, it will be created
sieve_script_path_mkdir = false

[outofoffice:managesieve]
# It requires to have a master password to get into every account
# server = 127.0.0.1
# SSL on/off
# ssl = true
# Master password
secret = secret

# Logging configuration
[loggers]
keys = root

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
level = INFO
handlers = console

[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic

[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s
root@mail:~#

Reply via email to