Re: [SOGo] Choose login domain based on DNS domain used to access the server.

2015-07-27 Thread Chris Coleman
What you want to do is possible (auto select from a set of Sogo login 
domains, on a multi tenant multi DNS domain Sogo webmail server, based 
on http host header).  The .WOX template file is a template based on 
Objective-C and with Objective-C you should be able to do anything, such 
as, in this case, get the http headers from the http request.  Look for 
the http header called Host. Verify that it's a valid dns domain that 
you're hosting the Sogo webmail for, and then set the login domain to 
that Host value.


Have a look here:
http://sope.opengroupware.org/en/docs/snippets/wox.html



On 7/27/2015 7:26 AM, Steve Ankeny wrote:

On 07/27/2015 05:42 AM, Nils Fredrik Gjerull wrote:

Hi,

Any thoughts please. Would appreciate at least an acknowledgement 
that the e-mail was read, so I know I am not sending e-mails into the 
void :)


I also had a proposal/question about using a http header to set the 
login domain. I guess that it is not supported so I should create a 
proposal for it?



Den 22. juli 2015 15:32, skrev Nils Fredrik Gjerull:

Hi,

I have a use case were I want to make the SOGo webmail client 
accessible through different DNS domains, and based on which DNS 
domain is used a login domain is automatically chosen. I want to use 
SOGo as a multi-tenant system without users having to choose a login 
domain.


Let say that SOGo is available on mail.domain1.com and 
mail.domain2.com, and in SOGo I have domain1 and domain2 as separate 
login domains. If a user access the SOGo webmail client through 
mail.domain1.com, domain1 will be used as the login domain. That way 
the user do not have to select the domain or append it to the username.


I am primarily thinking about the SOGo webmail client and not 
CardDAV and CalDAV, but I would not mind if it were possible to do 
it for them as well. I understand that there is some kind of 
template overriding system for the .wox templates. Would I be able 
to get the current URL/domain and be able to set a login domain 
within such a template?


I appreciate any suggestions.

Regards



It sounds to me like you're mixing technologies --

domain login (whether Windows or Samba AD) and SOGo webmail

Perhaps no one has responded simply because they are unsure what 
you're trying to do.


IF you already have SOGo webmail available via two domains, are you 
running two instances of SOGo and two instances of your mail server 
(Dovecot/Postfix, etc.) or have you configured one instance to work 
for both?


And, IF you have two domain logins are you running two AD servers?

Does domain login come before webmail login, etc?  I may be totally 
off-base (sorry)





--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Choose login domain based on DNS domain used to access the server.

2015-07-27 Thread Tanstaafl
On 7/27/2015 7:26 AM, Steve Ankeny stev...@cinergymetro.net wrote:
 It sounds to me like you're mixing technologies --
 
 domain login (whether Windows or Samba AD) and SOGo webmail
 
 Perhaps no one has responded simply because they are unsure what you're 
 trying to do.
 
 IF you already have SOGo webmail available via two domains, are you 
 running two instances of SOGo and two instances of your mail server 
 (Dovecot/Postfix, etc.) or have you configured one instance to work for 
 both?
 
 And, IF you have two domain logins are you running two AD servers?
 
 Does domain login come before webmail login, etc?  I may be totally 
 off-base (sorry)

It sounds to me like he is running a single SOGo instance hosting
multiple email domains, and has unique URLs (ie, his reference to 'DNS')
for each email domain, and wants SOGo to be able to append a fqdn to the
end of the username based on the URL of the login page?

If I understand this correctly, I'd love to see this ability as well.

So, depending on if a user goes to:

https://sogo.example1.com/SOGo/so/
or
https://sogo.example2.com/SOGo/so/

and entered a username of user1

SOGo would pass us...@example1.com or us...@example2.com as the
login username to whatever the backend auth mechanism is using.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Choose login domain based on DNS domain used to access the server.

2015-07-27 Thread Steve Ankeny

On 07/27/2015 05:42 AM, Nils Fredrik Gjerull wrote:

Hi,

Any thoughts please. Would appreciate at least an acknowledgement that 
the e-mail was read, so I know I am not sending e-mails into the void :)


I also had a proposal/question about using a http header to set the 
login domain. I guess that it is not supported so I should create a 
proposal for it?



Den 22. juli 2015 15:32, skrev Nils Fredrik Gjerull:

Hi,

I have a use case were I want to make the SOGo webmail client 
accessible through different DNS domains, and based on which DNS 
domain is used a login domain is automatically chosen. I want to use 
SOGo as a multi-tenant system without users having to choose a login 
domain.


Let say that SOGo is available on mail.domain1.com and 
mail.domain2.com, and in SOGo I have domain1 and domain2 as separate 
login domains. If a user access the SOGo webmail client through 
mail.domain1.com, domain1 will be used as the login domain. That way 
the user do not have to select the domain or append it to the username.


I am primarily thinking about the SOGo webmail client and not CardDAV 
and CalDAV, but I would not mind if it were possible to do it for 
them as well. I understand that there is some kind of template 
overriding system for the .wox templates. Would I be able to get the 
current URL/domain and be able to set a login domain within such a 
template?


I appreciate any suggestions.

Regards



It sounds to me like you're mixing technologies --

domain login (whether Windows or Samba AD) and SOGo webmail

Perhaps no one has responded simply because they are unsure what you're 
trying to do.


IF you already have SOGo webmail available via two domains, are you 
running two instances of SOGo and two instances of your mail server 
(Dovecot/Postfix, etc.) or have you configured one instance to work for 
both?


And, IF you have two domain logins are you running two AD servers?

Does domain login come before webmail login, etc?  I may be totally 
off-base (sorry)



--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] SOGo shows empty folders

2015-07-27 Thread Daniel Guillermo Bareiro
Hi all!

Yesterday I installed SOGo on a test server with OpenSUSE 13.2. For this I used 
the packages of this [1] repository (Versión: 2.3.0-1.1).

The mail server is on a remote host (Postfix + Cyrus IMAP with TLS access).

The web interface shows INBOX with all its subfolders, but none of them (even 
INBOX) shows emails. I was researching possible causes for this on Internet, 
but I could not fix it. I would appreciate any contribution that might help.

On the default configuration file in /etc/sysconfig/SOGo I did the following 
changes:

SOGO_IMAP_RUNNING=0
SOGO_SMTP_RUNNING=0
SOGO_USED_DB=MySQL
SOGO_USED_DB_RCSCRIPT=rcmysql
SOGO_USED_IMAP=Cyrus (This already coincided with my settings)

I'm not sure if it is related to this problem, but on /var/log/SOGo/sogod.log I 
see something like the following:


Jul 27 07:18:59 sogod [1198]: version 2.3.0 (build abuild@build24 201507241309) 
-- starting
Jul 27 07:18:59 sogod [1198]: vmem size check enabled: shutting down app when 
vmem  384 MB
Jul 27 07:19:00 sogod [1198]: 0x0xf8b638[SOGoProductLoader] SOGo products 
loaded from '/usr/lib/GNUstep/SOGo':
Jul 27 07:19:00 sogod [1198]: 0x0xf8b638[SOGoProductLoader]   
MailPartViewers.SOGo, Contacts.SOGo, Appointments.SOGo, CommonUI.SOGo, 
MailerUI.SOGo, Mailer.SOG
o, ContactsUI.SOGo, SchedulerUI.SOGo, AdministrationUI.SOGo, 
PreferencesUI.SOGo, MainUI.SOGo
Jul 27 07:19:01 sogod [1198]: 0x0x1165368[WOWatchDog] listening on 
127.0.0.1:2
Jul 27 07:19:01 sogod [1198]: 0x0x1165368[WOWatchDog] watchdog process pid: 
1198
Jul 27 07:19:01 sogod [1198]: 0x0x7f1ccfea0100[WOWatchDogChild] watchdog 
request timeout set to 10 minutes
Jul 27 07:19:01 sogod [1198]: 0x0x1165368[WOWatchDog] preparing 1 children
Jul 27 07:19:01 sogod [1198]: 0x0x1165368[WOWatchDog] child spawned with pid 
1200
Jul 27 07:52:00 sogod [1200]: 0x0xe73e48[SOGoCache] Cache cleanup interval 
set every 300.00 seconds
Jul 27 07:52:00 sogod [1200]: 0x0xe73e48[SOGoCache] Using host(s) 'localhost' 
as server(s)
Jul 27 07:52:01 sogod [1200]: [WARN] 0x0x7f1ccfec0a60[WOxElemBuilder] could 
not locate builders: WOxExtElemBuilder,WOxExtElemBuilder
Jul 27 07:52:01 sogod [1200]: SOGoRootPage successful login from '10.1.0.40' 
for user 'dbareiro' - expire = -1  grace = -1
Jul 27 07:52:01 sogod [1200]: [WARN] 0x0x1446808[SOGoWebDAVAclManager] entry 
'{DAV:}write' already exists in DAV permissions table
Jul 27 07:52:01 sogod [1200]: [WARN] 0x0x1446808[SOGoWebDAVAclManager] entry 
'{DAV:}write-properties' already exists in DAV permissions table
Jul 27 07:52:01 sogod [1200]: [WARN] 0x0x1446808[SOGoWebDAVAclManager] entry 
'{DAV:}write-content' already exists in DAV permissions table
Jul 27 07:52:01 sogod [1200]: 10.1.0.40 POST /SOGo/connect HTTP/1.1 200 27/60 
2.114 - - 7M
Jul 27 07:52:02 sogod [1200]: 10.1.0.40 GET /SOGo/so/dbareiro HTTP/1.1 302 
0/0 0.004 - - 16K
Jul 27 07:52:02 sogod [1200]: 10.1.0.40 GET /SOGo/so/dbareiro/view HTTP/1.1 
302 0/0 0.037 - - 8K
Jul 27 07:52:02 sogod [1200]: 10.1.0.40 GET /SOGo/so/dbareiro/Calendar 
HTTP/1.1 302 0/0 0.042 - - 0
Jul 27 07:52:02 sogod [1200]: 10.1.0.40 GET /SOGo/so/dbareiro/Calendar/view 
HTTP/1.1 200 13906/0 0.571 53087 73% 2M
Jul 27 07:52:03 sogod [1200]: 10.1.0.40 POST 
/SOGo/so/dbareiro/Calendar/personal/canAccessContent HTTP/1.1 204 0/0 0.008 - 
- 0
Jul 27 07:52:03 sogod [1200]: 10.1.0.40 POST 
/SOGo/so/dbareiro/Calendar/weekview HTTP/1.1 200 2501/0 0.056 54885 95% 0
Jul 27 07:52:03 sogod [1198]: [ERROR] 0x0x1165368[WOWatchDog] No child 
available to handle incoming request!
Jul 27 07:52:03 sogod [1200]: 10.1.0.40 POST 
/SOGo/so/dbareiro/Calendar/alarmslist?browserTime=1437994323 HTTP/1.1 200 2/0 
0.050 - - 0
Jul 27 07:52:03 sogod [1198]: [ERROR] 0x0x1165368[WOWatchDog] No child 
available to handle incoming request!
Jul 27 07:52:04 sogod [1198]: [ERROR] 0x0x1165368[WOWatchDog] No child 
available to handle incoming request!
Jul 27 07:52:04 sogod [1200]: 10.1.0.40 POST 
/SOGo/so/dbareiro/Calendar/activeTasks HTTP/1.1 200 15/0 0.009 - - 0
Jul 27 07:52:04 sogod [1200]: 10.1.0.40 POST 
/SOGo/so/dbareiro/Calendar/taskslist?show-completed=0asc=truesort=endfilterpopup=view_today
 HTTP/1.1 200 2/0 0.010 - - 0
Jul 27 07:52:04 sogod [1200]: 10.1.0.40 POST 
/SOGo/so/dbareiro/Calendar/eventsblocks?sd=20150727ed=20150802view=weekview 
HTTP/1.1 200 64/0 0.009 - - 0
Jul 27 07:52:06 sogod [1200]: 10.1.0.40 GET /SOGo/so/dbareiro/Mail HTTP/1.1 
302 0/0 0.029 - - 0
Jul 27 07:52:07 sogod [1200]: [ERROR] 0x0x167d468[NGImap4Connection] could 
not select URL: imaps://dbareiro@mail.freesoftware:993/?tls=YES/INBOX/?tls=YES: 
(null)
Jul 27 07:52:07 sogod [1200]: 10.1.0.40 GET /SOGo/so/dbareiro/Mail/view 
HTTP/1.1 200 10484/0 1.038 37931 72% 3M
Jul 27 07:52:08 sogod [1200]: 10.1.0.40 POST 
/SOGo/so/dbareiro/Calendar/alarmslist?browserTime=1437994328 HTTP/1.1 200 2/0 
0.007 - - 0
Jul 27 07:52:09 sogod [1200]: 10.1.0.40 POST 
/SOGo/so/dbareiro/Mail/0/mailboxes HTTP/1.1 200 

RE: [SOGo] SOGo fails to start on fresh installation after reboot

2015-07-27 Thread Peter Trifonov
Hello,


 2015-07-23 15:27:54.346 sogod[5522] File NSData.m: 1436. In -[NSData
 writeToFile:options:error:] Open (/var/run/sogo/sogo.pid) failed - No such
 file or directory Jul 23 15:27:54 sogod [5522]: [ERROR]
 0x0x7f6ab8ebb0a0[NSUserDefaults]
 unable to open pid file: /var/run/sogo/sogo.pid
 Has anyone experienced this?

I have the same problem on FreeBSD 9.1.   In my case it helps to run
touch /var/run/sogo/sogo.pid ; chown sogo /var/run/sogo/sogo.pid

before starting sogod.  I am still looking for a better solution.


With best regards,
P. Trifonov

-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Choose login domain based on DNS domain used to access the server.

2015-07-27 Thread Sven Nielsen

Am 27.07.2015 um 15:29 schrieb Nils Fredrik Gjerull:

Den 27. juli 2015 15:02, skrev Tanstaafl:

It sounds to me like he is running a single SOGo instance hosting
multiple email domains, and has unique URLs (ie, his reference to 'DNS')
for each email domain, and wants SOGo to be able to append a fqdn to the
end of the username based on the URL of the login page?

If I understand this correctly, I'd love to see this ability as well.

So, depending on if a user goes to:

https://sogo.example1.com/SOGo/so/
or
https://sogo.example2.com/SOGo/so/

and entered a username of user1

SOGo would pass us...@example1.com or us...@example2.com as the
login username to whatever the backend auth mechanism is using.


This is exactly what I have in mind :)

Regards


+1 for this!

Is it already possible, or would this need to be added as feature request?

Regards
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Choose login domain based on DNS domain used to access the server.

2015-07-27 Thread Nils Fredrik Gjerull

Hi.

Thanks for a reply :)

Den 27. juli 2015 13:26, skrev Steve Ankeny:

It sounds to me like you're mixing technologies --

domain login (whether Windows or Samba AD) and SOGo webmail
What I mean by login domain is the domain directive in the sogo.conf 
file. Perhaps SOGo domain is a better word for it? Currently you can 
log in to the webmail client (in multi-domain setup) by either appending 
the domain to the username (e.g user@domain) or using the 
SOGoLoginDomains directive which gives you a drop-down of the available 
domains. It is not related to domain login through an AD server.
Perhaps no one has responded simply because they are unsure what 
you're trying to do.

Sure :)
IF you already have SOGo webmail available via two domains, are you 
running two instances of SOGo and two instances of your mail server 
(Dovecot/Postfix, etc.) or have you configured one instance to work 
for both?
I am running one instance of SOGo and of Dovecot/Postifix. I use nginx 
as a reverse proxy to make SOGo available on more than one DNS domain. I 
would like use an HTTP header set by nginx to select which SOGo domain 
to use. So that when a user logins through mail.customer1.com the SOGo 
domain customer1 is used. I would like to avoid having the user select 
customer1 with a drop-down or by appending it to the user-name (e.g. 
username@customer1).


sogo.conf:

domains = {
customer1 = {
...
};
customer2 = {
...
};
}


The idea is to be able to use the same SOGo instance for several small 
customers, and make it look like they have their own instance. So that 
the same user-name can be used by different customers without a name 
conflict.


And, IF you have two domain logins are you running two AD servers?

Does domain login come before webmail login, etc?  I may be totally 
off-base (sorry)
AD do not come into this at all. I realize now that the term login 
domain can be confused with domain login. I am talking about what the 
SOGo installation Guide 
(http://www.sogo.nu/files/docs/SOGo%20Installation%20Guide.pdf) calls 
Multi-domains Configuration.


I hope this clarifies what I am trying to do.

--
Nils Fredrik Gjerull
-
Ministry of Eternal Affairs
Computer Department
( Not an official title :) )

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Choose login domain based on DNS domain used to access the server.

2015-07-27 Thread Nils Fredrik Gjerull

Den 27. juli 2015 15:02, skrev Tanstaafl:

It sounds to me like he is running a single SOGo instance hosting
multiple email domains, and has unique URLs (ie, his reference to 'DNS')
for each email domain, and wants SOGo to be able to append a fqdn to the
end of the username based on the URL of the login page?

If I understand this correctly, I'd love to see this ability as well.

So, depending on if a user goes to:

https://sogo.example1.com/SOGo/so/
or
https://sogo.example2.com/SOGo/so/

and entered a username of user1

SOGo would pass us...@example1.com or us...@example2.com as the
login username to whatever the backend auth mechanism is using.


This is exactly what I have in mind :)

Regards

--
Nils Fredrik Gjerull
-
Ministry of Eternal Affairs
Computer Department
( Not an official title :) )

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Choose login domain based on DNS domain used to access the server.

2015-07-27 Thread Steve Ankeny

On 07/27/2015 09:29 AM, Nils Fredrik Gjerull wrote:

Den 27. juli 2015 15:02, skrev Tanstaafl:

It sounds to me like he is running a single SOGo instance hosting
multiple email domains, and has unique URLs (ie, his reference to 'DNS')
for each email domain, and wants SOGo to be able to append a fqdn to the
end of the username based on the URL of the login page?

If I understand this correctly, I'd love to see this ability as well.

So, depending on if a user goes to:

https://sogo.example1.com/SOGo/so/
or
https://sogo.example2.com/SOGo/so/

and entered a username of user1

SOGo would pass us...@example1.com or us...@example2.com as the
login username to whatever the backend auth mechanism is using.


This is exactly what I have in mind :)

Regards



Does the other suggestion work?

https://lists.inverse.ca/sogo/arc/users/2015-07/msg00247.html

What you want to do is possible (auto select from a set of Sogo login 
domains, on a multi tenant multi DNS domain Sogo webmail server, based 
on http host header). The .WOX template file is a template based on 
Objective-C and with Objective-C you should be able to do anything, such 
as, in this case, get the http headers from the http request. Look for 
the http header called Host. Verify that it's a valid dns domain that 
you're hosting the Sogo webmail for, and then set the login domain to 
that Host value.


Have a look here:
http://sope.opengroupware.org/en/docs/snippets/wox.html



--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Active Sync and Outlook

2015-07-27 Thread André Schild

What mailserver in wich version?

The IMAP Server needs to support some commands
which older Dovecot  Cyrus don't have.

André

Am 27.07.2015 um 18:27 schrieb db...@gmx.net:

I have about 80 mail folders, but Outlook does not show me any emails. If I
want to show the emails with SOGo 2.2.17a, after a long time the server
crashes with a out of memory message. With 2.3.0 this doesn't happen, but
emails won't be showed. I use Outlook 2013 (15.0.4649.1000).


--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Activesync - Mailfolders

2015-07-27 Thread Infoo Matic
Hi,

I have a fresh installation with sogo 2.3.0 and although I can see the folders 
on my android 5.0 device (Account via Activesync) when I enter them in the 
standard mail application there are no emails inside.
(the emails were moved via thunderbird from my old imap account to my local 
installation). Marking the mails as unread does not change the behaviour, an 
update to 2.3.1 also did not change anything concerning this.

Is this normal behaviour due to the limitations of Activesync or is there a 
possible way to resync the folders?

regards,
infoomatic
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Active Sync and Outlook

2015-07-27 Thread dbet1
I have about 80 mail folders, but Outlook does not show me any emails. If I
want to show the emails with SOGo 2.2.17a, after a long time the server
crashes with a out of memory message. With 2.3.0 this doesn't happen, but
emails won't be showed. I use Outlook 2013 (15.0.4649.1000).
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Aw: [SOGo] SOGo shows empty folders

2015-07-27 Thread Daniel Guillermo Bareiro
Hi again.

 Here I see these messages of could not select URL and No child available 
 to handle incoming request!.
 
 Regarding No child available to handle incoming request, can this be due to 
 SOGo is starting with a single child (preparing 
 1 children)? Regarding could not select URL, I see twice ?tls=YES. This 
 construction is correct?

The current configuration of SOGoIMAPserver is this:

defaults write sogod SOGoIMAPServer 'mail.freesoftware:993/?tls=YES'


I also tried the following, but in this case not even get the folders:

defaults write sogod SOGoIMAPServer imaps://mail.freesoftware:993/?tls=YES


I am also using this configuration for the separator, which I think is correct:

defaults write sogod NGImap4ConnectionStringSeparator '.'


I would appreciate any advice.

Thank you very much.

Best regards,
Daniel
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] OpenChange 'dcerpc' calls stop Samba domain services

2015-07-27 Thread Steve Ankeny

This was initially sent to the wrong mailing list.  Updated at bottom.
--

Over the weekend, I configured OpenChange, OCS Manager  RPC Proxy in 
the manner described in the Outlook Configuration Guide to work with 
Samba in anticipation of setting up my first Outlook 2010 profile.


Specifically, I followed the instructions on pg. 10-17 with reference to 
'smb.conf'  'ocsmanager.ini'


When I initially configured Samba AD DC, I inserted the language on pg. 
10  13 in 'smb.conf' but commented it out so Samba-AD-DC would work 
correctly.  That was prior to the upgrade to SOGo  OpenChange 2.3


I also initially provisioned OpenChange  created the 'openchange' DB in 
MySQL


When I completed my configuration of OpenChange  OCS Manager, my Samba 
services stopped running.


The only working solution is to comment out the OpenChange lines in 
'smb.conf'


Here's my 'smb.conf' --

[global]
workgroup = SMBDOMAIN
realm = smbdomain.com
netbios name = SOGO
server role = active directory domain controller
dns forwarder = 192.168.121.1
idmap_ldb:use rfc2307 = yes
passdb backend = samba
allow dns updates = nonsecure

### Configuration required by OpenChange server ###
#dsb:shema update allowed = true
#dcerpc endpoint servers = +epmapper, +mapiproxy
#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 = $passwd
#namedproperties:mysql_host = localhost
#namedproperties:mysql_db = openchange
#mapistore:indexing_backend = 
mysql://openchange-user:$passwd@localhost/openchange
#mapiproxy:openchangedb = 
mysql://openchange-user:$passwd@localhost/openchange


[netlogon]
path = /var/lib/samba/sysvol/smbdomain.com/scripts
read only = No

[sysvol]
path = /var/lib/samba/sysvol
read only = No

And, my 'ocsmanager.ini' --

[DEFAULT]
debug = true
email_to = valid.u...@smbdomain.com
smtp_server = localhost
error_email_from = paste@localhost

[main]
auth = ldap
mapistore_root = /var/lib/samba/private
mapistore_data = /var/lib/samba/private/mapistore
debug = yes

[auth:file]

[auth:ldap]
host = ldap://127.0.0.1
port = 389
bind_dn = cn=Administrator,cn=Users,dc=smbdomain,dc=com
bind_pw = $passwd
basedn = cn=Users,dc=smbdomain,dc=com

[auth:single]
username = openchange
# password is test
*#password = {SSHA}I6Hy5Wv0wuxyXvMBFWFQDVVN12_CLaX9* *(Is this a problem?)*
password = $passwd

[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=example,DC=com   (Is this a problem?)*
set debug = true

[autodiscover]

[autodiscover:rpcproxy]
enabled = true

[outofoffice]

[outofoffice:file]
sieve_script_path = /var/vmail/$domain/$user/sieve-script
sieve_script_path_mkdir = false

[outofoffice:managesieve]
secret = secret

[loggers]
keys = root

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
level = INFO
handlers = console

[handler_console]
class = StreamHandler
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



Notice the *em**boldened* lines in 'ocsmanager.ini'

*Could those errors turn off my Samba services?*


With the OpenChange lines uncommented in 'smb.conf,' I see the following --

adam@sogo:~$ sudo initctl list | egrep 'samba|smb|nmb|winbind'
nmbd start/running
winbind stop/waiting
smbd stop/waiting
reload-smbd stop/waiting
samba-ad-dc stop/running
adam@sogo:~$

With those same lines commented out, I see the following --

adam@sogo:~$ sudo initctl list | egrep 'samba|smb|nmb|winbind'
nmbd start/running
winbind stop/waiting
smbd stop/waiting
reload-smbd stop/waiting
samba-ad-dc start/running, process 875
adam@sogo:~$

Here's my package selections --

adam@sogo:~$ sudo dpkg --get-selections | egrep 'samba|smb|nmb|winbind'
libnss-winbind:amd64install
libpam-winbind:amd64install
libsmbclient:amd64  install
python-samba

[SOGo] Openchange: cannot show the calendar in Outlook

2015-07-27 Thread dbet1
I have installed Openchange with SOGo 2.3.0 and the documentation of this
version.

After starting Outlook the first time I created events in the Outlook
calendar. The events were synchronized to my SOGo Server. All seems be OK. But
events that I created in the SOGo Webinterface were not synched to Outlook.

After closing Outlook and reopen it, the calendar was empty. Before showing
the empty calender Outlook says: Cannot show the calendar. But this is a not
really somthing saying error message. From this point it was't possible to
sync any event between Outlook and SOGo.

The command openchange_user_cleanup helps to bring away the message Cannot
show the calendar in Outlook. But still there is no synchronisation any more.
New events in Outlook were not saved anymore.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Problem with WebDAV collaborator

2015-07-27 Thread raido
Hello,

I have problem with WebDav syncronization.

Every time sync starts I get error message.

Here is WebDAV log:

Added: 0 Updated: 3 Deleted: 1
2015-07-27 11:20:41.069  0x2008  Synchronizing changes between '\
\Erakaustad\Kalender' and
'http://sogo.metec.ee/SOGo/dav/tambet/Calendar/personal'.
2015-07-27 11:20:44.360  0x2128  *** ERROR *** Unable to update item
04008200E00074C5B7101A82E008104482A42146D0011000DE4903BFC38B614DAAB7A561EA8FDCBB.ics
in Source 'http://sogo.metec.ee/SOGo/dav/tambet/Calendar/personal'.  The
action was not allowed by the server. [0x0307] (0x0307)
2015-07-27 11:20:44.360  0x2128  *** WARNING *** Update Item error but
attempting to continue.
2015-07-27 11:20:51.040  0x2008  *** ERROR *** Unable to add item
04008200E00074C5B7101A82E00880A3FDABFD03D00110009BA931902398C8478CB6E37ED1856CBD
in Source 'http://sogo.metec.ee/SOGo/dav/tambet/Calendar/personal'.  Internal
Error: Internal state wrong for current operation. [0x0003] (0x0003)
2015-07-27 11:20:51.040  0x2008  *** WARNING *** Add Item error but
attempting to continue.
2015-07-27 11:20:51.040  0x2008  Errors occurred: Failed to add the item
to the source. [0x000C]
2015-07-27 11:20:51.040  0x2008  Changes made to
http://sogo.metec.ee/SOGo/dav/tambet/Calendar/personal:
   Added: 0 Updated: 3 Deleted: 0
2015-07-27 11:20:58.016  0x2008  '\\Erakaustad\Kontaktid' and
'http://sogo.metec.ee/SOGo/dav/tambet/Contacts/personal' are up to date.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Choose login domain based on DNS domain used to access the server.

2015-07-27 Thread Nils Fredrik Gjerull

Hi,

Any thoughts please. Would appreciate at least an acknowledgement that 
the e-mail was read, so I know I am not sending e-mails into the void :)


I also had a proposal/question about using a http header to set the 
login domain. I guess that it is not supported so I should create a 
proposal for it?



Den 22. juli 2015 15:32, skrev Nils Fredrik Gjerull:

Hi,

I have a use case were I want to make the SOGo webmail client 
accessible through different DNS domains, and based on which DNS 
domain is used a login domain is automatically chosen. I want to use 
SOGo as a multi-tenant system without users having to choose a login 
domain.


Let say that SOGo is available on mail.domain1.com and 
mail.domain2.com, and in SOGo I have domain1 and domain2 as separate 
login domains. If a user access the SOGo webmail client through 
mail.domain1.com, domain1 will be used as the login domain. That way 
the user do not have to select the domain or append it to the username.


I am primarily thinking about the SOGo webmail client and not CardDAV 
and CalDAV, but I would not mind if it were possible to do it for them 
as well. I understand that there is some kind of template overriding 
system for the .wox templates. Would I be able to get the current 
URL/domain and be able to set a login domain within such a template?


I appreciate any suggestions.

Regards

--
Nils Fredrik Gjerull
-
Ministry of Eternal Affairs
Computer Department
( Not an official title :) )

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] BTS activities for Monday, July 27 2015

2015-07-27 Thread SOGo reporter
Title: BTS activities for Monday, July 27 2015





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Monday, July 27 2015

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
3294
	2015-07-27 17:01:21
	updated (open)
	ActiveSync
	IMAP LIST loop while ActiveSync a large (many folders) mailbox
	
	  
	
3292
	2015-07-27 09:35:52
	updated (open)
	Backend Calendar
	cannot insert content: value too long
	
	  
	
3295
	2015-07-27 11:54:29
	updated (open)
	Web Calendar
	String values of "Category" and "Calendar" elements are not translated
	
	  
	
3152
	2015-07-27 12:29:23
	feedback (reopened)
	ActiveSync
	Sent email breaks mail thread on BlackBerry 10 smartphone
	
	  
	
3211
	2015-07-27 07:45:09
	assigned (reopened)
	Backend General
	"[ERROR] descriptor is not a socket descriptor" by using gnustep-base1.24
	
	  
	
3146
	2015-07-27 12:32:11
	resolved (suspended)
	ActiveSync
	HTML emails are not pushed to Blackberry 10 devices