[SOGo] BTS activities for Wednesday, July 15 2015

2015-07-15 Thread SOGo reporter
Title: BTS activities for Wednesday, July 15 2015





  
BTS Activities

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

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
3275
	2015-07-15 03:04:36
	updated (open)
	ActiveSync
	sogo segfault on active sync
	
	  
	
1651
	2015-07-15 06:15:50
	updated (open)
	Web Address Book
	Contact lists are not imported correctly
	
	  
	
3260
	2015-07-15 06:15:50
	updated (open)
	Web Address Book
	Unable to import contact lists from ldif files
	
	  
	
69
	2015-07-15 09:03:16
	updated (open)
	Web Calendar
	Repeating events are not shown in "All Events" or "All Future Events"
	
	  
	
3263
	2015-07-15 09:03:16
	updated (open)
	Web Calendar
	event list and search in web calendar incomplete
	
	  
	
3282
	2015-07-15 10:12:24
	updated (open)
	Web Mail
	Error "Message doesn't exist anymore" when clicking Message in "Other Users" section
	
	  
	
  
  




[SOGo] how exclude a mail address from global address list

2015-07-15 Thread Yavuz Maşlak

 i have 3 domains  ( for example  a.com  b.comc.com ).

Users of A.com  and b.com  can see eachother but c.com
C.com ¹s users can only see eachother but other domains.

How can i do that ?

Could you give me an example?



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

[SOGo] Two users sources

2015-07-15 Thread user sogo
Hello,
I'd like to use two users sources : one SQL and one LDAP (AD).
To do this, I've set up in sogo.conf :
SOGoUserSources =
(
{
type = ldap;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = sAMAccountName;
baseDN = cn=Users,dc=domain,dc=lan;
bindDN = cn=binder,cn=Users,dc=domain,dc=lan;
bindPassword = binder_passwd;
bindFields = (mail);
canAuthenticate = YES;
displayName = LDAP users;
hostname = 192.168.xxx.xxx;
id = directoryldap;
isAddressBook = YES;
port = 389;
MailFieldNames = (mail);
IMAPLoginFieldName = mail;
}
);
SOGoUserSources =
(
{
type = sql;
id = directorysql;
viewURL = mysql://sogo:sogo_pas...@192.168.xxx.xxx
:3306/vmail/users;
canAuthenticate = YES;
userPasswordAlgorithm = ssha;
isAddressBook = YES;
displayName = SQL users;
}
);

If I comment LDAP source, SQL source works as expected.
If I comment SQL source, LDAP works as expected.
If I uncomment all (activate both sources), only the second source works.
So if I put SQL source in second place (from the top of the conf file)(like
above), only SQL works and vice-versa.

Users are in the same domain but with different sources. Some are in the
LDAP directory (AD), some in a SQL database.

How can I make the two sources working together ?

Thanks

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

[SOGo] Encoding TB38, Lightning 4

2015-07-15 Thread Jiří František
Hello list,
I have problem with encoding of special chars in invitation e-mail to
meeting. If I create meeting in TB 31 and Lightning 3.3.3 I received this
correct header information:
From: =?UTF-8?B?SmnFmcOtIEZyYW50acWhZWs=?= jiri.franti...@example.com

But if I create in TB38 with Lightning 4.0.0.1:
from: =?utf-8?q?Ing._JiY=EF=BF=BD_Frantiaek?= jiri.franti...@example.com
Every occurrence of name with special characters in e-mail is badly
presented.

In both cases I use Connector and Integrator v. 31.0.1.
Does anybody have same problem or do you use TB v38 with SOGo plugins?

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

[SOGo] Re: 2.3.0 Update problems

2015-07-15 Thread Sam

Hello,
No one got the same problem?
Sam

Le 13/07/2015 11:46, Sam a écrit :

Hello,

I try to update from v2.2.17a to v2.3.0, the yum update sogo command 
works great but when I launch the script sql-update-2.2.17_to_2.3.0.sh 
an error occurs :


# bash sql-update-2.2.17_to_2.3.0.sh
sogo-tool: error while loading shared libraries: libSOGo.so.2: cannot 
open shared object file: No such file or directory

Couldn't fetch OCSFolderInfoURL value, aborting

I can see the libSOGo.so.2 file here :
/usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.
/usr/lib/sogo/libSOGo.so.2

It's a CentOS release 6.5 (Final)

Thanks for helping!

Sam


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


Re: [SOGo] 2.3.0 Update problems

2015-07-15 Thread Steve Boley
Look at your ld.so.conf and see if /usr/lib/sogo is defined and if it is 
run ldconfig and if not add it and run ldconfig and try again.


This is how libraries outside of system paths are sourced out.
Steve



On 7/15/2015 11:07 AM, Sam wrote:

Same result... :/

# sudo -u sogo bash sql-update-2.1.17_to_2.3.0.sh
sogo-tool: error while loading shared libraries: libSOGo.so.2: cannot 
open shared object file: No such file or directory

Couldn't fetch OCSFolderInfoURL value, aborting



Le 15/07/2015 15:37, Francis Lachapelle a écrit :

On Jul 15, 2015, at 9:27 AM, Sam sr42...@gmail.com wrote:

Hello Francis,

No, I run under the root user. I can't do a su - sogo on my 
system... The sogo user is a nologin account. Is there another way 
to do this?

I had also try to modify this parameters :
defaultusername=sogo
defaultdatabase=sogo
directly  in the script sql-update-2.2.17_to_2.3.0.sh  without 
succes.

Try with sudo:

sudo -u sogo bash sql-update-2.2.17_to_2.3.0.sh


Le 15/07/2015 15:00, Francis Lachapelle a écrit :

Hello Sam


On Jul 15, 2015, at 5:18 AM, Sam sr42...@gmail.com wrote:

I try to update from v2.2.17a to v2.3.0, the yum update sogo 
command works great but when I launch the script 
sql-update-2.2.17_to_2.3.0.sh an error occurs :


# bash sql-update-2.2.17_to_2.3.0.sh
sogo-tool: error while loading shared libraries: libSOGo.so.2: 
cannot open shared object file: No such file or directory

Couldn't fetch OCSFolderInfoURL value, aborting

I can see the libSOGo.so.2 file here :
/usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so. 


/usr/lib/sogo/libSOGo.so.2


Do you execute the script as the sogo user?


Francis


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





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


Re: [SOGo] 2.3.0 Update problems

2015-07-15 Thread Laz C. Peterson
Hey there Francis,

An issue on Ubuntu side as well.  Running 14.04.2 here, I decided to upgrade 
SOGo this morning using the packages supplied by Inverse.  After the update, 
users can log in and view email, etc.  But none of the WebDAV-based items were 
working.  Calendars were missing to the web client and general access to the 
CalDAV would not let any modifications happen.

I was not aware of a script that needed to be run — is that true for Ubuntu 
package as well?

We had to restore a system image of the SOGo server that was running 2.2.17a in 
order to regain functionality.

~ Laz Peterson
Paravis, LLC

 On Jul 15, 2015, at 6:37 AM, Francis Lachapelle flachape...@inverse.ca 
 wrote:
 
 
 On Jul 15, 2015, at 9:27 AM, Sam sr42...@gmail.com wrote:
 
 Hello Francis,
 
 No, I run under the root user. I can't do a su - sogo on my system... The 
 sogo user is a nologin account. Is there another way to do this?
 I had also try to modify this parameters :
 defaultusername=sogo
 defaultdatabase=sogo
 directly  in the script sql-update-2.2.17_to_2.3.0.sh  without succes.
 
 Try with sudo:
 
 sudo -u sogo bash sql-update-2.2.17_to_2.3.0.sh
 
 Le 15/07/2015 15:00, Francis Lachapelle a écrit :
 Hello Sam
 
 On Jul 15, 2015, at 5:18 AM, Sam sr42...@gmail.com wrote:
 
 I try to update from v2.2.17a to v2.3.0, the yum update sogo command 
 works great but when I launch the script sql-update-2.2.17_to_2.3.0.sh an 
 error occurs :
 
 # bash sql-update-2.2.17_to_2.3.0.sh
 sogo-tool: error while loading shared libraries: libSOGo.so.2: cannot 
 open shared object file: No such file or directory
 Couldn't fetch OCSFolderInfoURL value, aborting
 
 I can see the libSOGo.so.2 file here :
 /usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.
 /usr/lib/sogo/libSOGo.so.2
 
 Do you execute the script as the sogo user?
 
 
 Francis
 
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists

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

Re: [SOGo] EWS Support

2015-07-15 Thread FoxNET Support
hello Gerald

It is a question?
Or did you do a search via Microsoft concerning the EWS via Outlook 2011/2016 
Preview also?
For I also did a search on the subject and I have not found, the only thing 
that works, and unfortunately I do not find either, is create an account on an 
Exchange under openchange Mail account Mac OS X or Outlook 2011.

Michel
 Le 14 juil. 2015 à 20:07, Gerald Brandt g...@majentis.com a écrit :
 
 Hi,
 
 I have some users with Outlook for Mac 2011.  It requires full EWS support.  
 I can see that OCSManager has some EWS support, but is it complete enough for 
 Outlook to work?
 
 Gerald
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists

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

Re: [SOGo] Sogo - dovecot - shared mailboxes

2015-07-15 Thread Frank Soyer
Well, I've found something today : the folder appears on my android 
phone because on the webmail, in my tests I unchecked Show subscribed 
mailboxes only... Checked it and the folder appears, empty as on the 
phone, but it is there.
The thing that have changed is that (during my tests, again) I've played 
with the syntax of the location = parameter in 10-mail.conf file of 
dovecot. It seems that if something here doesn't fit with the real 
folders (on local user part or destination user part), it does'nt 
complain but simply doesn't display the other users folder. So with 
this syntax for example :

  location = maildir:/home/vmail/%%d/%%u:INDEX=/home/vmail/%d/%u/shared/%%u
the folder Other users appears.
Now, I don't know why it is empty... To be continued... But if someone 
has an idea...


Frank

Le 10/07/2015 14:03, Frank Soyer a écrit :
Strange... I discover that on my Android phone, 2 folders are visibles 
when I display all folders : share and shared/. OK, they are empty 
(I don't see the folders shared to me by another user) but they are 
present...



Frank

Le 27/06/2015 01:54, Frank Soyer a écrit :

Hi all,
I have a fresh install of Postfix-Dovecot-SOGo on CentOs-MariaDB. All 
works fine except one thing : I can't see shared mailboxes between 
users. Other User never appear in user mailboxes, nor on webUI or 
Thunderbird. Anybody seeing what I'm doing wrong ? I'm not sure what 
is needed in Sogo config for handle that ?


The ACL of Dovecot seems OK :
# telnet localhost 143
. login usersharingfol...@domain.com myPassword
. GETACL SharedFolder
* ACL SharedFolder userusingfol...@domain.com ilrtd 
usersharingfol...@domain.com lrwstipekxacd


In SOGo, ACLs are correctly kept in Share box, when I reopen it.
/home/vmail/shared-mailboxes contains :
shared/shared-boxes/user/userusingfol...@domain.com/usersharingfol...@domain.com 


1

/home/vmail/domain.com/userSharingFolder/dovecot-acl-list contains :

1435271252 SharedFolder


userUsingFolder is in delegation on mailbox of userSharingFolder.

Here is my dovecot config:

dict {
  quotadict = mysql:/etc/dovecot/dovecot-dict-quota.conf
}
first_valid_gid = 12
first_valid_uid = 101
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lmtp_save_to_detail_mailbox = yes
mail_location = maildir:/home/vmail/%d/%n
mail_plugins = quota trash
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date
mbox_write_locks = fcntl
namespace {
  inbox = yes
  location =
  prefix =
  separator = /
  type = private
}
namespace {
  list = children
  location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = no
  type = shared
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  acl = vfile
  acl_shared_dict = file:/home/vmail/shared-mailboxes
  quota = dict:user::proxy::quotadict
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_global_dir = /var/lib/dovecot/sieve/
  sieve_global_path = /var/lib/dovecot/sieve/default.sieve
  sieve_max_script_size = 1M
  trash = /etc/dovecot/trash.conf
}
protocols = imap lmtp sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
mode = 0666
  }
  unix_listener auth-userdb {
group = mail
mode = 0600
user = vmail
  }
}
service dict {
  unix_listener dict {
group = mail
mode = 0600
user = vmail
  }
}
service imap-login {
  inet_listener imap {
port = 143
  }
  inet_listener imaps {
port = 993
ssl = yes
  }
}
service imap {
  vsz_limit = 256 M
}
service managesieve-login {
  inet_listener sieve {
port = 4190
  }
  process_min_avail = 0
  service_count = 1
  vsz_limit = 64 M
}
service pop3-login {
  inet_listener pop3 {
port = 110
  }
  inet_listener pop3s {
port = 995
ssl = yes
  }
}
ssl_cert = /etc/pki/dovecot/certs/dovecot.pem
ssl_key = /etc/pki/dovecot/private/dovecot.pem
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocol lmtp {
  mail_plugins = quota trash
}
protocol lda {
  mail_plugins = sieve acl
}
protocol imap {
  imap_client_workarounds = delay-newmail
  mail_plugins = quota trash acl imap_acl
}
protocol sieve {
  managesieve_implementation_string = Dovecot Pigeonhole
  managesieve_max_compile_errors = 5
  managesieve_max_line_length = 65536
}
protocol pop3 {
  mail_plugins = quota trash
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}



Thank you !
Frank




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


Re: [SOGo] SOGO ZEG VM, missing webmin?

2015-07-15 Thread France
I guess it should not be a problem to install it by myself, but I am wondering 
what else did not install or is missing from this ZEG VM.
Can someone explain or point me to a script, which installs these packages 
after the VM is spool up? Or is Webmin by default not installed in latest ZEG 
image and is that expected?

F.
On 14 Jul 2015, at 15:54, Steve Ankeny stev...@cinergymetro.net wrote:

 Can you install it yourself?
 
 On 07/14/2015 09:19 AM, France wrote:
 Any1?
 
 On 03 Jul 2015, at 13:44, France mailingli...@isg.si wrote:
 
 Hi guys,
 
 i wanted to show SOGO to our business directors.
 So i went the easiest path possible. Downloaded ZEG OVA from: 
 http://www.sogo.nu/downloads/zeg.html.
 Converted it to VHD using VBoxManage. Created it as template for our 
 XenServer 6.0.2 cluster and spun it up.
 After it booted, I also installed XEN tools. It is working as PV guest, as 
 expected.
 
 After install I could open webpage and login with sogo1 test user without 
 any problems.
 Then I tried webmin, but got connection refused. Checked IPtables to see 
 that there are no lmits.
 I tried to restart webmin but found there is none installed. Shouldn’t 
 there be webmin installed?
 
 root@vagrant-ubuntu-trusty-64:~# /etc/init.d/webmin status
 bash: /etc/init.d/webmin: No such file or directory
 root@vagrant-ubuntu-trusty-64:~# dpkg --get-selections | grep webmin
 root@vagrant-ubuntu-trusty-64:~# netstat -apltn | grep 1
 root@vagrant-ubuntu-trusty-64:~# 
 
 
 Is webmin installed after the VM is started for the first time, using some 
 strange script magic?
 
 Tnx for help in locating webmin and best regards.
 France
 
 

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

Re: [SOGo] SOGO ZEG VM, missing webmin?

2015-07-15 Thread Francis Lachapelle
Hello France

 On Jul 15, 2015, at 8:23 AM, France mailingli...@isg.si wrote:
 
 I guess it should not be a problem to install it by myself, but I am 
 wondering what else did not install or is missing from this ZEG VM.
 Can someone explain or point me to a script, which installs these packages 
 after the VM is spool up? Or is Webmin by default not installed in latest ZEG 
 image and is that expected?

We developed in the past a Webmin module for SOGo 
(https://github.com/inverse-inc/sogo-webmin). However, it hasn't been updated 
yet to support the new configuration file (/etc/sogo/sogo.conf) and that's why 
we haven't installed Webmin in the last ZEG release.

You can still install Webmin to help you configuring the surrounding components 
but you'll need to configure SOGo manually by editing its configuration file.

 On 14 Jul 2015, at 15:54, Steve Ankeny stev...@cinergymetro.net wrote:
 
 Can you install it yourself?
 
 On 07/14/2015 09:19 AM, France wrote:
 Any1?
 
 On 03 Jul 2015, at 13:44, France mailingli...@isg.si wrote:
 
 Hi guys,
 
 i wanted to show SOGO to our business directors.
 So i went the easiest path possible. Downloaded ZEG OVA from: 
 http://www.sogo.nu/downloads/zeg.html.
 Converted it to VHD using VBoxManage. Created it as template for our 
 XenServer 6.0.2 cluster and spun it up.
 After it booted, I also installed XEN tools. It is working as PV guest, as 
 expected.
 
 After install I could open webpage and login with sogo1 test user without 
 any problems.
 Then I tried webmin, but got connection refused. Checked IPtables to see 
 that there are no lmits.
 I tried to restart webmin but found there is none installed. Shouldn’t 
 there be webmin installed?
 
 root@vagrant-ubuntu-trusty-64:~# /etc/init.d/webmin status
 bash: /etc/init.d/webmin: No such file or directory
 root@vagrant-ubuntu-trusty-64:~# dpkg --get-selections | grep webmin
 root@vagrant-ubuntu-trusty-64:~# netstat -apltn | grep 1
 root@vagrant-ubuntu-trusty-64:~# 
 
 
 Is webmin installed after the VM is started for the first time, using some 
 strange script magic?
 
 Tnx for help in locating webmin and best regards.
 France
 
 
 

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

[SOGo] Sogo webmail mime type unknown

2015-07-15 Thread Frank Soyer

Hi,
I've a problem with attached files in the webmail. In fact, all 
attachements appears as unknown type, even pdf or png or txt files. In 
Firefox in other web pages this files are correctly opened, the problem 
only appears in the Sogo webmail.

Any idea ?

Sogo 2.3.0-1 rpm on CentOS6.6, Postfix 2.6.6-6, dovecot 2.0.9-8.

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


Re: [SOGo] Two users sources

2015-07-15 Thread Francis Lachapelle
Hello Nicolas

 On Jul 15, 2015, at 4:45 AM, user sogo users...@gmail.com wrote:
 
 Hello,
 I'd like to use two users sources : one SQL and one LDAP (AD).
 To do this, I've set up in sogo.conf :
 SOGoUserSources =
 (
 {
 type = ldap;
 CNFieldName = cn;
 IDFieldName = cn;
 UIDFieldName = sAMAccountName;
 baseDN = cn=Users,dc=domain,dc=lan;
 bindDN = cn=binder,cn=Users,dc=domain,dc=lan;
 bindPassword = binder_passwd;
 bindFields = (mail);
 canAuthenticate = YES;
 displayName = LDAP users;
 hostname = 192.168.xxx.xxx;
 id = directoryldap;
 isAddressBook = YES;
 port = 389;
 MailFieldNames = (mail);
 IMAPLoginFieldName = mail;
 }
 );
 SOGoUserSources =
 (
 {
 type = sql;
 id = directorysql;
 viewURL = mysql://sogo:sogo_pas...@192.168.xxx.xxx:3306/vmail/users;
 canAuthenticate = YES;
 userPasswordAlgorithm = ssha;
 isAddressBook = YES;
 displayName = SQL users;
 }
 );

SOGoUserSources is an array, so you must group the two definitions:

SOGoUserSources =
(
   {
  type = ldap;
  ..

   },
   {
  type = sql;
  ..
   }
);

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

Re: [SOGo] how exclude a mail address from global address list

2015-07-15 Thread Francis Lachapelle
Hello Yavuz

 On Jul 15, 2015, at 3:23 AM, Yavuz Maşlak yavuz.mas...@ihlas.com.tr wrote:
 
 
 i have 3 domains  ( for example  a.com  b.comc.com ).
 
 Users of A.com  and b.com  can see eachother but c.com
 C.com ¹s users can only see eachother but other domains.
 
 How can i do that ?
 
 Could you give me an example?

This should do it:

SOGoDomainsVisibility = ( (a.com, b.com), (c.com) );


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

Re: [SOGo] 2.3.0 Update problems

2015-07-15 Thread Sam

Hello Francis,

No, I run under the root user. I can't do a su - sogo on my system... 
The sogo user is a nologin account. Is there another way to do this?

I had also try to modify this parameters :
defaultusername=sogo
defaultdatabase=sogo
directly  in the script sql-update-2.2.17_to_2.3.0.sh  without succes.

Sam

Le 15/07/2015 15:00, Francis Lachapelle a écrit :

Hello Sam


On Jul 15, 2015, at 5:18 AM, Sam sr42...@gmail.com wrote:


I try to update from v2.2.17a to v2.3.0, the yum update sogo command works 
great but when I launch the script sql-update-2.2.17_to_2.3.0.sh an error occurs :

# bash sql-update-2.2.17_to_2.3.0.sh
sogo-tool: error while loading shared libraries: libSOGo.so.2: cannot open 
shared object file: No such file or directory
Couldn't fetch OCSFolderInfoURL value, aborting

I can see the libSOGo.so.2 file here :
/usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.
/usr/lib/sogo/libSOGo.so.2


Do you execute the script as the sogo user?


Francis



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


Re: [SOGo] SOGO ZEG VM, missing webmin?

2015-07-15 Thread Steve Ankeny
Webmin has been installed in the ZEG in the past, but apparently, it's 
not installed in the current version.


Why?  I do not know (that's a question for Inverse), but it should not 
keep me from installing it IF I wanted it.


The ZEG is intended to be a demo only (although I paid Inverse to modify 
one to use in production -- I have since built my own from scratch)  I 
know of no scripts that run after the ZEG is launched as a VM  It just is.


On 07/15/2015 08:23 AM, France wrote:
I guess it should not be a problem to install it by myself, but I am 
wondering what else did not install or is missing from this ZEG VM.
Can someone explain or point me to a script, which installs these 
packages after the VM is spool up? Or is Webmin by default not 
installed in latest ZEG image and is that expected?


F.



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


Re: [SOGo] 2.3.0 Update problems

2015-07-15 Thread Francis Lachapelle

 On Jul 15, 2015, at 9:27 AM, Sam sr42...@gmail.com wrote:
 
 Hello Francis,
 
 No, I run under the root user. I can't do a su - sogo on my system... The 
 sogo user is a nologin account. Is there another way to do this?
 I had also try to modify this parameters :
 defaultusername=sogo
 defaultdatabase=sogo
 directly  in the script sql-update-2.2.17_to_2.3.0.sh  without succes.

Try with sudo:

sudo -u sogo bash sql-update-2.2.17_to_2.3.0.sh

 Le 15/07/2015 15:00, Francis Lachapelle a écrit :
 Hello Sam
 
 On Jul 15, 2015, at 5:18 AM, Sam sr42...@gmail.com wrote:
 
 I try to update from v2.2.17a to v2.3.0, the yum update sogo command 
 works great but when I launch the script sql-update-2.2.17_to_2.3.0.sh an 
 error occurs :
 
 # bash sql-update-2.2.17_to_2.3.0.sh
 sogo-tool: error while loading shared libraries: libSOGo.so.2: cannot open 
 shared object file: No such file or directory
 Couldn't fetch OCSFolderInfoURL value, aborting
 
 I can see the libSOGo.so.2 file here :
 /usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.
 /usr/lib/sogo/libSOGo.so.2
 
 Do you execute the script as the sogo user?
 
 
 Francis
 
 
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists

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

Re: [SOGo] 2.3.0 Update problems

2015-07-15 Thread Francis Lachapelle
Hello Sam

 On Jul 15, 2015, at 5:18 AM, Sam sr42...@gmail.com wrote:
 
 I try to update from v2.2.17a to v2.3.0, the yum update sogo command works 
 great but when I launch the script sql-update-2.2.17_to_2.3.0.sh an error 
 occurs :
 
 # bash sql-update-2.2.17_to_2.3.0.sh
 sogo-tool: error while loading shared libraries: libSOGo.so.2: cannot open 
 shared object file: No such file or directory
 Couldn't fetch OCSFolderInfoURL value, aborting
 
 I can see the libSOGo.so.2 file here :
 /usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.
 /usr/lib/sogo/libSOGo.so.2
 

Do you execute the script as the sogo user?


Francis

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

Re: [SOGo] Two users sources

2015-07-15 Thread User SOGo

  
  
Works perfectly.
  
  Merci beaucoup Francis ;)
  
  Nicolas

Le 15/07/2015 15:12, Francis Lachapelle
  a écrit :


  Hello Nicolas


  
On Jul 15, 2015, at 4:45 AM, user sogo users...@gmail.com wrote:

Hello,
I'd like to use two users sources : one SQL and one LDAP (AD).
To do this, I've set up in sogo.conf :
SOGoUserSources =
(
{
type = ldap;
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = sAMAccountName;
baseDN = "cn=Users,dc=domain,dc=lan";
bindDN = "cn=binder,cn=Users,dc=domain,dc=lan";
bindPassword = binder_passwd;
bindFields = (mail);
canAuthenticate = YES;
displayName = "LDAP users";
hostname = 192.168.xxx.xxx;
id = directoryldap;
isAddressBook = YES;
port = 389;
MailFieldNames = (mail);
IMAPLoginFieldName = mail;
}
);
SOGoUserSources =
(
{
type = sql;
id = directorysql;
viewURL = "mysql://sogo:sogo_pas...@192.168.xxx.xxx:3306/vmail/users";
canAuthenticate = YES;
userPasswordAlgorithm = ssha;
isAddressBook = YES;
displayName = "SQL users";
}
);

  
  
SOGoUserSources is an array, so you must group the two definitions:

SOGoUserSources =
(
   {
  type = ldap;
  ..

   },
   {
  type = sql;
  ..
   }
);




  



Re: [SOGo] how exclude a mail address from global address list

2015-07-15 Thread Christian M. Jensen

Hi,

On 15-07-2015 16:56, Yavuz Maşlak wrote:


On 15/07/15 16:25, Francis Lachapelle flachape...@inverse.ca wrote:


Hello Yavuz


On Jul 15, 2015, at 3:23 AM, Yavuz Maşlak yavuz.mas...@ihlas.com.tr
wrote:


i have 3 domains  ( for example  a.com  b.comc.com ).

Users of A.com  and b.com  can see eachother but c.com
C.com ¹s users can only see eachother but other domains.

How can i do that ?

Could you give me an example?

This should do it:

SOGoDomainsVisibility = ( (a.com, b.com), (c.com) );


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

I tried now. Unfortunately, it does not work.
Whan can be the problem ?



How do you define your domains in SOGo configuration?

if your just set all your configuration in  'SOGoUserSources' then SOGo 
has no way of detecting what user source belong to what domain
but if you use the 'Domains' value then 'SOGoDomainsVisibility' will 
work as expected


using the domain parameter:

 domains = {
domain.com = {
SOGoMailDomain = domain.com;
SOGoSuperUsernames = (
postmas...@domain.com
);
SOGoUserSources = (
{
type = sql;
id = sql-auth;
isAddressBook = NO;
.
},
{
type = sql;
id = sql_addressbook;
isAddressBook = YES;
.
}
);
};
domain1.com = {
SOGoMailDomain = domain1.com;
SOGoSuperUsernames = (
postmas...@domain1.com
);
SOGoUserSources = (
{
type = ldap;
id = ldap_auth;
isAddressBook = NO;
.
},
{
type = ldap;
id = ldap_addressbook;
isAddressBook = YES;
.
}
);
};
};


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


Re: [SOGo] how exclude a mail address from global address list

2015-07-15 Thread Yavuz Maşlak


On 15/07/15 16:25, Francis Lachapelle flachape...@inverse.ca wrote:

Hello Yavuz

 On Jul 15, 2015, at 3:23 AM, Yavuz Maşlak yavuz.mas...@ihlas.com.tr
wrote:
 
 
 i have 3 domains  ( for example  a.com  b.comc.com ).
 
 Users of A.com  and b.com  can see eachother but c.com
 C.com ¹s users can only see eachother but other domains.
 
 How can i do that ?
 
 Could you give me an example?

This should do it:

SOGoDomainsVisibility = ( (a.com, b.com), (c.com) );


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

I tried now. Unfortunately, it does not work.
Whan can be the problem ?

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

Re: [SOGo] Sogo - dovecot - shared mailboxes

2015-07-15 Thread Frank Soyer

Hi Johannes,
I'll try the mail_debug=yes and tell what I see, but for now, the 
problem is the doveadm acl command. I see that this command was added 
on 2.1, and on CentOS (even in the EPEL repos), the version is only 2.0.9.



Frank

Le 10/07/2015 15:11, Johannes Faber a écrit :

Hi Frank,

increase Dovecot logging with

mail_debug=yes

and look if you maybe have some permission problems.

You could also try

doveadm acl debug -u userUsingFolder shared/userSharingFolder/Folder

to get more information.

Regards,

Johannes



Am 10.07.2015 um 14:03 schrieb Frank Soyer fso...@systea.fr:

Strange... I discover that on my Android phone, 2 folders are visibles when I display all folders : 
share and shared/. OK, they are empty (I don't see the folders shared to me 
by another user) but they are present...


Frank

Le 27/06/2015 01:54, Frank Soyer a écrit :

Hi all,
I have a fresh install of Postfix-Dovecot-SOGo on CentOs-MariaDB. All works fine except 
one thing : I can't see shared mailboxes between users. Other User never 
appear in user mailboxes, nor on webUI or Thunderbird. Anybody seeing what I'm doing 
wrong ? I'm not sure what is needed in Sogo config for handle that ?

The ACL of Dovecot seems OK :
# telnet localhost 143
. login usersharingfol...@domain.com myPassword
. GETACL SharedFolder
* ACL SharedFolder userusingfol...@domain.com ilrtd 
usersharingfol...@domain.com lrwstipekxacd

In SOGo, ACLs are correctly kept in Share box, when I reopen it.
/home/vmail/shared-mailboxes contains :

shared/shared-boxes/user/userusingfol...@domain.com/usersharingfol...@domain.com
1

/home/vmail/domain.com/userSharingFolder/dovecot-acl-list contains :

1435271252 SharedFolder

userUsingFolder is in delegation on mailbox of userSharingFolder.

Here is my dovecot config:

dict {
  quotadict = mysql:/etc/dovecot/dovecot-dict-quota.conf
}
first_valid_gid = 12
first_valid_uid = 101
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lmtp_save_to_detail_mailbox = yes
mail_location = maildir:/home/vmail/%d/%n
mail_plugins = quota trash
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date
mbox_write_locks = fcntl
namespace {
  inbox = yes
  location =
  prefix =
  separator = /
  type = private
}
namespace {
  list = children
  location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = no
  type = shared
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  acl = vfile
  acl_shared_dict = file:/home/vmail/shared-mailboxes
  quota = dict:user::proxy::quotadict
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_global_dir = /var/lib/dovecot/sieve/
  sieve_global_path = /var/lib/dovecot/sieve/default.sieve
  sieve_max_script_size = 1M
  trash = /etc/dovecot/trash.conf
}
protocols = imap lmtp sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
mode = 0666
  }
  unix_listener auth-userdb {
group = mail
mode = 0600
user = vmail
  }
}
service dict {
  unix_listener dict {
group = mail
mode = 0600
user = vmail
  }
}
service imap-login {
  inet_listener imap {
port = 143
  }
  inet_listener imaps {
port = 993
ssl = yes
  }
}
service imap {
  vsz_limit = 256 M
}
service managesieve-login {
  inet_listener sieve {
port = 4190
  }
  process_min_avail = 0
  service_count = 1
  vsz_limit = 64 M
}
service pop3-login {
  inet_listener pop3 {
port = 110
  }
  inet_listener pop3s {
port = 995
ssl = yes
  }
}
ssl_cert = /etc/pki/dovecot/certs/dovecot.pem
ssl_key = /etc/pki/dovecot/private/dovecot.pem
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocol lmtp {
  mail_plugins = quota trash
}
protocol lda {
  mail_plugins = sieve acl
}
protocol imap {
  imap_client_workarounds = delay-newmail
  mail_plugins = quota trash acl imap_acl
}
protocol sieve {
  managesieve_implementation_string = Dovecot Pigeonhole
  managesieve_max_compile_errors = 5
  managesieve_max_line_length = 65536
}
protocol pop3 {
  mail_plugins = quota trash
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}


Thank you !
Frank

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


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


Re: [SOGo] 2.3.0 Update problems

2015-07-15 Thread Sam

Same result... :/

# sudo -u sogo bash sql-update-2.1.17_to_2.3.0.sh
sogo-tool: error while loading shared libraries: libSOGo.so.2: cannot 
open shared object file: No such file or directory

Couldn't fetch OCSFolderInfoURL value, aborting



Le 15/07/2015 15:37, Francis Lachapelle a écrit :

On Jul 15, 2015, at 9:27 AM, Sam sr42...@gmail.com wrote:

Hello Francis,

No, I run under the root user. I can't do a su - sogo on my system... The 
sogo user is a nologin account. Is there another way to do this?
I had also try to modify this parameters :
defaultusername=sogo
defaultdatabase=sogo
directly  in the script sql-update-2.2.17_to_2.3.0.sh  without succes.

Try with sudo:

sudo -u sogo bash sql-update-2.2.17_to_2.3.0.sh


Le 15/07/2015 15:00, Francis Lachapelle a écrit :

Hello Sam


On Jul 15, 2015, at 5:18 AM, Sam sr42...@gmail.com wrote:


I try to update from v2.2.17a to v2.3.0, the yum update sogo command works 
great but when I launch the script sql-update-2.2.17_to_2.3.0.sh an error occurs :

# bash sql-update-2.2.17_to_2.3.0.sh
sogo-tool: error while loading shared libraries: libSOGo.so.2: cannot open 
shared object file: No such file or directory
Couldn't fetch OCSFolderInfoURL value, aborting

I can see the libSOGo.so.2 file here :
/usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.
/usr/lib/sogo/libSOGo.so.2


Do you execute the script as the sogo user?


Francis


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


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