Re: [SOGo] survey question for Debian users

2012-10-24 Thread Покотиленко Константин Александрович
В Срд, 24/10/2012 в 07:58 -0400, Wolfgang Sourdeau пишет: 
 Hi,
 
 
 We are considering dropping support for Lenny, as it is not even 
 supported by Debian anymore. Who among you would be affected if we 
 stopped plublishing SOGo packages for that distribution?

We have some of Lenny installations with sogo, but we don't have the
need to update often. If there is a need to update we usually updating
to the current stable.

So, not a problem if there is still some old version available.


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


Re: [SOGo] Integrating jabber chat with SOGo

2012-04-19 Thread Покотиленко Константин Александрович
В Чтв, 19/04/2012 в 10:04 -0300, Federico Alberto Sayd пишет: 
 Hello
 
 I am trying to integrate a jabber chat client into SOGo[1]. Both jabber 
 server (openfire) and SOGo uses the same authentication backend (ldap).
 
 I load the chat client that is a javascript aplication modifying the 
 UIxPageFrame.wox template in the sogo user home and including the javascript
 
 My question is if is there any method to retrieve user and password from 
 session and then pass them to javascript to authenticate the user in the 
 chat server?
 
 Thanks for any answer

Passing username/password server-side to client-side (sogo-js) is a bad
idea because of the security of js.

We've recently implemented js chat client in portal, we used this
technic:

1. Loging to portal, retrieve OTP
2. Use this OTP to login to XMPP
3. Rewrite auth plugin to check OTP first and in case of failure also
check pass

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


Re: [SOGo] Integrating jabber chat with SOGo

2012-04-19 Thread Покотиленко Константин Александрович
В Чтв, 19/04/2012 в 12:50 -0300, Federico Alberto Sayd пишет: 
 On 19/04/12 12:19, Покотиленко Константин Александрович wrote:
  В Чтв, 19/04/2012 в 10:04 -0300, Federico Alberto Sayd пишет:
  Hello
 
  I am trying to integrate a jabber chat client into SOGo[1]. Both jabber
  server (openfire) and SOGo uses the same authentication backend (ldap).
 
  I load the chat client that is a javascript aplication modifying the
  UIxPageFrame.wox template in the sogo user home and including the 
  javascript
 
  My question is if is there any method to retrieve user and password from
  session and then pass them to javascript to authenticate the user in the
  chat server?
 
  Thanks for any answer
  Passing username/password server-side to client-side (sogo-js) is a bad
  idea because of the security of js.
 I know but the jabber clients that I found are implemented in client 
 side javascript

That's why I suggest OTP as secure solution. You use portal's security
to login and generate OTP and since it's one-time you can use it in JS
securely.

Once you are logged to XMPP - OTP is not longer valid.

If you'll need to reconnect to XMPP you'll need to request OTP again.

 
  We've recently implemented js chat client in portal, we used this
  technic:
 
  1. Loging to portal, retrieve OTP
 By portal do you mean SOGo? I do not know nothing about SOGo 
 implementing OTP.

The portal I was talking about is Drupal. Don't know how difficult this
will be to implement in SOGo.

 What chat client do you use in your application?

Client side is strophe.js

  2. Use this OTP to login to XMPP
  3. Rewrite auth plugin to check OTP first and in case of failure also
  check pass
 
 Thanks
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists


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


Re: [SOGo] Integrating jabber chat with SOGo

2012-04-19 Thread Покотиленко Константин Александрович
В Чтв, 19/04/2012 в 18:15 +0200, Martin Rabl пишет: 
 Hi,
  
 Am 19. April 2012 17:50 CEST, Federico Alberto Sayd fs...@uncu.edu.ar 
 schrieb: 
   Passing username/password server-side to client-side (sogo-js) is a bad
   idea because of the security of js.
  I know but the jabber clients that I found are implemented in client 
  side javascript
 You want to implement a type of Single-Sign-On for the jabber client.
 Compare the architecture of SOGo with your clients - all stuff in SOGo will 
 be done at the server side, which is by definition a secure site. The user 
 (and its client aka browser ) never will see a password again after login - 
 thats makes it a bit secure.
 For your problem I would suggest searching a serverside driven solution with 
 a lightweight browser client.
 Then look if this solution accepts login via htaccess-logon-dialogs AND 
 switch SOGo to accept this one instead using the form-login (there is a 
 documentet switch in the configuration, please search for it).
 Give it a try if this could be a way. If not - maybe you have a look for CAS 
 (when your Jabber-Client speaks CAS).

The main reason for client-side (JS) xmpp client - it's the only
lightweight way to make chat instant.

 My personal opinion: stop try to integrate your jabber with SOGo. I think it 
 is better to use a platform client for Win, Unix etc., which authenticates 
 against the source SOGo uses.

Platform client is better if you are using it everyday, this is not the
case for majority of nowadays' visitors.

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


Re: [SOGo] Webservers other than Apache

2012-03-30 Thread Покотиленко Константин Александрович
В Птн, 30/03/2012 в 09:59 +0100, Ed W пишет: 
 On 28/03/2012 14:44, Lukas Pirl wrote:
  Has anyone ever tried to setup SOGo with a web server other than Apache?
  Especially I am interested in running SOGo with the Cherokee [1] web
  server.
 
  I found a post that said that SOGo relies on mod_ngobjweb [2]. Is it
  part of the project philosophy to get SOGo portable for web servers
  (and other required technology)?
 
  [1] http://www.cherokee-project.com/
  [2] http://mail.opengroupware.org/pipermail/sogo/2007-November/000254.html
 
 I'm not sure if your message is a spam?  I'm sure cherokee is great though
 
 Just as a datapoint, I use nginx on nearly all my servers.  The install 
 size is literally a couple of hundred KB, memory usage is lower than 
 apache, configuration is sane (to me at least).  I'm even using it on an 
 embedded solution that I'm working on right now - install really is 
 quite tiny...
 
 I'm not sure what mod_ngobjweb is, but I can confirm that sogo is 
 running here on nginx.

I also run SOGo on nginx. Not as out of the box as on apache, but not
difficult. Performance and especially memory footprint is not
comparable.


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


Re: [SOGo] SOGo EXCEPTION on login

2012-03-19 Thread Покотиленко Константин Александрович
В Птн, 16/03/2012 в 17:50 +0200, Покотиленко Константин Александрович
пишет: 
 В Птн, 16/03/2012 в 16:23 +0200, Покотиленко Константин Александрович
 пишет: 
  В Птн, 16/03/2012 в 13:10 +0200, Покотиленко Константин Александрович
  пишет: 
   В Чтв, 15/03/2012 в 13:34 -0400, Ludovic Marcotte пишет: 
On 15/03/12 11:57, Покотиленко Константин Александрович wrote:
 I've googled and found one post with exactly same error, the author 
 said
 he solved the problem by fixing LDAP configuration and did not
 provided any details.
Show your complete SOGo configuration.
   
   Here is .GNUstepDefaults:
  
  I've found my problem.
  
   keyMailFieldNames/key
   stringmail/string
  
  First, MailFieldNames should be array and since it defaults to mail I
  just removed this block.
  
  Second, It was not working until I explicitly specified type=ldap for
  SOGoUserSources. It's not clear in the docs that it should be specified,
  docs doesn't mention type in defaults write sogod
  SOGoUserSources ... command, but mentions it in config samples.
  
  And third, I have to TRUNCATE all SOGo tables in MySQL to get rid of
  SOGo EXCEPTION.
 
 Actually, problem not solved.
 
 After some time being logged in I get internal server error if I'm
 logged in and An unhandled error occurred. if I try to login with this
 log messages:
 
 =
 2012-03-16 17:22:31.127 sogod[3445] WARNING(-[NSNull(misc) count]):
 called NSNull -count (returns 0) !!!
 192.168.*.* - - [16/Mar/2012:17:22:31 GMT] GET /SOGo/so/ HTTP/1.1 200
 5126/0 0.025 14845 65% 12K
 2012-03-16 17:36:31.361 sogod[3445] WARNING(-[NSNull(misc) count]):
 called NSNull -count (returns 0) !!!
 192.168.*.* - - [16/Mar/2012:17:36:31 GMT] GET /SOGo/so/ HTTP/1.1 200
 5126/0 0.031 14845 65% 0
 Mar 16 17:37:46 sogod [3445]: SOGoRootPage successful login for user
 'casper' - expire = -1  grace = -1
 EXCEPTION: NSException: 0x2392278 NAME:NSInvalidArgumentException
 REASON:NSDataMalloc(instance) does not recognize
 stringByReplacingString:withString: INFO:(null)
 Mar 16 17:37:46 sogod [27289]: 0x0x1f2b208[WOWatchDogChild] child 3445
 exited
 Mar 16 17:37:46 sogod [27289]: 0x0x1f2b208[WOWatchDogChild]
 (terminated due to signal 6)
 Mar 16 17:37:46 sogod [27289]: 0x0x1d66968[WOWatchDog] child spawned
 with pid 8424
 =
 
 If I remove profile of my user
 
 DELETE FROM `sogo`.`sogo_user_profile` WHERE `sogo_user_profile`.`c_uid`
 = 'casper'
 
 I'm able to login and use SOGo for some time and then it happens again.

Found similar bug report and a solution. Changed mysql database and it's
table's collation from utf8_bin to utf8_unicode_ci. And now it's working
without exceptions.


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


Re: [SOGo] SOGo EXCEPTION on login

2012-03-16 Thread Покотиленко Константин Александрович
В Чтв, 15/03/2012 в 13:34 -0400, Ludovic Marcotte пишет: 
 On 15/03/12 11:57, Покотиленко Константин Александрович wrote:
  I've googled and found one post with exactly same error, the author said
  he solved the problem by fixing LDAP configuration and did not
  provided any details.
 Show your complete SOGo configuration.

Here is .GNUstepDefaults:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN
http://www.gnustep.org/plist-0_9.xml;
plist version=0.9
dict
keyNSGlobalDomain/key
dict
/dict
keysogod/key
dict
keyOCSFolderInfoURL/key
stringmysql://sogo:sogo:3306/sogo/sogo_folder_info/string
keyOCSSessionsFolderURL/key
stringmysql://sogo:sogo@localhost:3306/sogo/sogo_sessions_folder/string
keyOGoIMAPServer/key
stringimap.mydomain.com/string
keyOGoTrashFolderName/key
stringTrash/string
keySOGoACLsSendEMailNotifications/key
stringYES/string
keySOGoAppointmentSendEMailNotifications/key
stringYES/string
keySOGoDraftsFolderName/key
stringDraft/string
keySOGoFoldersSendEMailNotifications/key
stringYES/string
keySOGoForceIMAPLoginWithEmail/key
stringYES/string
keySOGoLanguage/key
stringRussian/string
keySOGoMailDomain/key
stringmydomain.com/string
keySOGoMailingMechanism/key
stringsmtp/string
keySOGoProfileURL/key
stringmysql://sogo:sogo@localhost:3306/sogo/sogo_user_profile/string
keySOGoSMTPServer/key
stringsmtp.mydomain.com/string
keySOGoSentFolderName/key
stringSent/string
keySOGoSuperUsernames/key
array
stringcasper/string
/array
keySOGoTimeZone/key
stringEurope/Kyiv/string
keySOGoUserSources/key
array
dict
keyCNFieldName/key
stringcn/string
keyIMAPLoginFieldName/key
stringmail/string
keyMailFieldNames/key
stringmail/string
keyUIDFieldName/key
stringsAMAccountName/string
keybaseDN/key

stringou=usersamp;admins,dc=office,dc=mydomain,dc=com/string
keybindAsCurrentUser/key
stringYES/string
keybindDN/key
stringcn=authman,ou=usersamp;admins,dc=office,dc=mydomain,dc=com/string
keybindFields/key
array
stringsAMAccountName/string
/array
keybindPassword/key
stringldappass/string
keycanAuthenticate/key
stringYES/string
keydisplayName/key
stringActive Directory/string
keyhostname/key
string192.168.*.*/string
keyid/key
stringAD/string
keyisAddressBook/key
stringYES/string
keyport/key
string3268/string
/dict
/array
/dict
/dict
/plist


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


Re: [SOGo] SOGo EXCEPTION on login

2012-03-16 Thread Покотиленко Константин Александрович
В Птн, 16/03/2012 в 13:10 +0200, Покотиленко Константин Александрович
пишет: 
 В Чтв, 15/03/2012 в 13:34 -0400, Ludovic Marcotte пишет: 
  On 15/03/12 11:57, Покотиленко Константин Александрович wrote:
   I've googled and found one post with exactly same error, the author said
   he solved the problem by fixing LDAP configuration and did not
   provided any details.
  Show your complete SOGo configuration.
 
 Here is .GNUstepDefaults:

I've found my problem.

 keyMailFieldNames/key
 stringmail/string

First, MailFieldNames should be array and since it defaults to mail I
just removed this block.

Second, It was not working until I explicitly specified type=ldap for
SOGoUserSources. It's not clear in the docs that it should be specified,
docs doesn't mention type in defaults write sogod
SOGoUserSources ... command, but mentions it in config samples.

And third, I have to TRUNCATE all SOGo tables in MySQL to get rid of
SOGo EXCEPTION.

Well, each time I install SOGo I'm getting certain that SOGo itself is a
great software, BUT Gnustep configuration is a nightmare b/c it's hard
to debug.

Thanks.

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


Re: [SOGo] SOGo EXCEPTION on login

2012-03-16 Thread Покотиленко Константин Александрович
В Птн, 16/03/2012 в 16:23 +0200, Покотиленко Константин Александрович
пишет: 
 В Птн, 16/03/2012 в 13:10 +0200, Покотиленко Константин Александрович
 пишет: 
  В Чтв, 15/03/2012 в 13:34 -0400, Ludovic Marcotte пишет: 
   On 15/03/12 11:57, Покотиленко Константин Александрович wrote:
I've googled and found one post with exactly same error, the author said
he solved the problem by fixing LDAP configuration and did not
provided any details.
   Show your complete SOGo configuration.
  
  Here is .GNUstepDefaults:
 
 I've found my problem.
 
  keyMailFieldNames/key
  stringmail/string
 
 First, MailFieldNames should be array and since it defaults to mail I
 just removed this block.
 
 Second, It was not working until I explicitly specified type=ldap for
 SOGoUserSources. It's not clear in the docs that it should be specified,
 docs doesn't mention type in defaults write sogod
 SOGoUserSources ... command, but mentions it in config samples.
 
 And third, I have to TRUNCATE all SOGo tables in MySQL to get rid of
 SOGo EXCEPTION.

Actually, problem not solved.

After some time being logged in I get internal server error if I'm
logged in and An unhandled error occurred. if I try to login with this
log messages:

=
2012-03-16 17:22:31.127 sogod[3445] WARNING(-[NSNull(misc) count]):
called NSNull -count (returns 0) !!!
192.168.*.* - - [16/Mar/2012:17:22:31 GMT] GET /SOGo/so/ HTTP/1.1 200
5126/0 0.025 14845 65% 12K
2012-03-16 17:36:31.361 sogod[3445] WARNING(-[NSNull(misc) count]):
called NSNull -count (returns 0) !!!
192.168.*.* - - [16/Mar/2012:17:36:31 GMT] GET /SOGo/so/ HTTP/1.1 200
5126/0 0.031 14845 65% 0
Mar 16 17:37:46 sogod [3445]: SOGoRootPage successful login for user
'casper' - expire = -1  grace = -1
EXCEPTION: NSException: 0x2392278 NAME:NSInvalidArgumentException
REASON:NSDataMalloc(instance) does not recognize
stringByReplacingString:withString: INFO:(null)
Mar 16 17:37:46 sogod [27289]: 0x0x1f2b208[WOWatchDogChild] child 3445
exited
Mar 16 17:37:46 sogod [27289]: 0x0x1f2b208[WOWatchDogChild]
(terminated due to signal 6)
Mar 16 17:37:46 sogod [27289]: 0x0x1d66968[WOWatchDog] child spawned
with pid 8424
=

If I remove profile of my user

DELETE FROM `sogo`.`sogo_user_profile` WHERE `sogo_user_profile`.`c_uid`
= 'casper'

I'm able to login and use SOGo for some time and then it happens again.

How could I further debug on this?

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


[SOGo] SOGo EXCEPTION on login

2012-03-15 Thread Покотиленко Константин Александрович
I've just installed SOGo 1.3.12c from yum repository for RHEL6.
Auth is set to AD LDAP, database is mysql.

When I try to login I get An unhandled error occurred. and this is in
the sogo.log:


2012-03-15 17:39:09.140 sogod[19754] WARNING(-[NSNull(misc) count]):
called NSNull -count (returns 0) !!!
192.168.*.* - - [15/Mar/2012:17:39:09 GMT] GET /SOGo/ HTTP/1.1 200
5125/0 0.094 14842 65% 4M
Mar 15 17:39:13 sogod [19754]: SOGoRootPage successful login for user
'casper' - expire = -1  grace = -1
EXCEPTION: NSException: 0x2b0b5d8 NAME:NSInvalidArgumentException
REASON:GSCInlineString(instance) does not recognize stringsWithFormat:
INFO:(null)
Mar 15 17:39:13 sogod [19733]: 0x0x26daf08[WOWatchDogChild] child
19754 exited
Mar 15 17:39:13 sogod [19733]: 0x0x26daf08[WOWatchDogChild]
(terminated due to signal 6)
Mar 15 17:39:13 sogod [19733]: 0x0x2522988[WOWatchDog] child spawned
with pid 20157


So it says successful login for user 'casper' and drop an exception
just after.

I've googled and found one post with exactly same error, the author said
he solved the problem by fixing LDAP configuration and did not
provided any details.

My baseDN and bindDN contain an amp sing
(...ou=usersamp;admins,dc=...), I wonder whether this is my problem.

Also, this SOGo version depend on libmemcached.so.7 which is available
from sogo-rhel6 repository, but rhel6 comes with libmemcached.so.2 and
php memcached extension requires libmemcached.so.2, so I was not able to
update. I just made symlink from libmemcached.so.2 to libmemcached.so.7
and now wonder if this would cause problems.



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


[SOGo] SOGo EXCEPTION on login

2012-03-15 Thread Покотиленко Константин Александрович
I've just installed SOGo 1.3.12c from yum repository for RHEL6.
Auth is set to AD LDAP, database is mysql.

When I try to login I get An unhandled error occurred. and this is in
the sogo.log:


2012-03-15 17:39:09.140 sogod[19754] WARNING(-[NSNull(misc) count]):
called NSNull -count (returns 0) !!!
192.168.*.* - - [15/Mar/2012:17:39:09 GMT] GET /SOGo/ HTTP/1.1 200
5125/0 0.094 14842 65% 4M
Mar 15 17:39:13 sogod [19754]: SOGoRootPage successful login for user
'casper' - expire = -1  grace = -1
EXCEPTION: NSException: 0x2b0b5d8 NAME:NSInvalidArgumentException
REASON:GSCInlineString(instance) does not recognize stringsWithFormat:
INFO:(null)
Mar 15 17:39:13 sogod [19733]: 0x0x26daf08[WOWatchDogChild] child
19754 exited
Mar 15 17:39:13 sogod [19733]: 0x0x26daf08[WOWatchDogChild]
(terminated due to signal 6)
Mar 15 17:39:13 sogod [19733]: 0x0x2522988[WOWatchDog] child spawned
with pid 20157


So it says successful login for user 'casper' and drop an exception
just after.

I've googled and found one post with exactly same error, the author said
he solved the problem by fixing LDAP configuration and did not
provided any details.

My baseDN and bindDN contain an amp sing (...ou=usersadmins,dc=...), I
wonder whether this is my problem.

Also, this SOGo version depend on libmemcached.so.7 which is available
from sogo-rhel6 repository, but rhel6 comes with libmemcached.so.2 and
php memcached extension requires libmemcached.so.2, so I was not able to
update. I just made symlink from libmemcached.so.2 to libmemcached.so.7
and now wonder if this would cause problems.


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


Re: [SOGo] Portal integration

2012-01-17 Thread Покотиленко Константин Александрович
В Пнд, 16/01/2012 в 21:47 +0100, Fabrice Durand пишет:
 Hi,
 to integrate SOGo to drupal , the first thing that comes to my mind is
 to use an iframe in drupal.
 To use the portal auth, you should have to use CAS (drupal and SOGo
 are compatible), but i never try.
 The second possibility is to use something like Vulture websso:
 If drupal do authentication against the same ldap directory than sogo,
 vulture is that you need.
 I'll not explain exactly how vulture work (there is a mailling list
 for that), but vulture act as an authentication portail that push
 identification on Drupal and on SOGo. So you just need to authenticate
 one time and vulture do the SSO.

Thanks for your ideas and pointers. It seems integration quite possible
with acceptable effort.

I'll dig in soon.

 Le 16 janvier 2012 19:35, Покотиленко Константин Александрович
 cas...@meteor.dp.ua a écrit :
 В Пнд, 16/01/2012 в 19:19 +0100, Georg Bretschneider пишет: 
  Hi,
 
  could you specify integrate?
 
 
 Make it:
 - look like part of portal. Make it be a page of a portal
 instead being
 standalone web-application
 - use portal auth 
 
  Am 16.01.2012 15:17, schrieb Покотиленко Константин
 Александрович:
   Hi,
  
   Does anybody tried to integrate Sogo into portals like
 Drupal?
  
   I'm going to investigate this soon, so if somebody have
 experience
   please share.
  
   In general how difficult this might be?
  
  
 
 
 --
 users@sogo.nu
 https://inverse.ca/sogo/lists
 
 


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


[SOGo] Portal integration

2012-01-16 Thread Покотиленко Константин Александрович
Hi,

Does anybody tried to integrate Sogo into portals like Drupal?

I'm going to investigate this soon, so if somebody have experience
please share.

In general how difficult this might be?


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


Re: [SOGo] Portal integration

2012-01-16 Thread Покотиленко Константин Александрович
В Пнд, 16/01/2012 в 19:19 +0100, Georg Bretschneider пишет: 
 Hi,
 
 could you specify integrate?

Make it:
- look like part of portal. Make it be a page of a portal instead being
standalone web-application
- use portal auth

 Am 16.01.2012 15:17, schrieb Покотиленко Константин Александрович:
  Hi,
  
  Does anybody tried to integrate Sogo into portals like Drupal?
  
  I'm going to investigate this soon, so if somebody have experience
  please share.
  
  In general how difficult this might be?
  
  


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


Re: [SOGo] Debian repostiory ships old version 1.3.4

2011-03-24 Thread Покотиленко Константин
В Чтв, 24/03/2011 в 11:45 +0100, Paul van der Vlis пишет:
 Hello,
 
 I use the Debian repostitory (Debian Lenny).
 
 I see there is a version 1.3.5a, but in the Debian repository is the
 latest is 1.3.4. Why?

SOGo isn't in debian repositories. It is available from inverse.ca:

deb http://inverse.ca/debian-nightly lenny lenny

apt-get update

Right now I can see 2 versions of SOGo for Lenny: 1.3.4 and 1.3.5a

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


Re: [SOGo] imap root

2011-02-16 Thread Покотиленко Константин
This is imap-server option rather than option of SOGo.

I'm not familiar with courier-imap, but in cyrus the option is:

# Alternate namespace
# If enabled, activate the alternate namespace as documented in
# /usr/share/doc/cyrus-doc-2.2/html/altnamespace.html, where an user's
# subfolders are in the same level as the INBOX
# See also userprefix and sharedprefix on imapd.conf(5)
altnamespace: no

В Вто, 15/02/2011 в 21:32 -0700, Kevin Brault пишет:
 I too would like to know!
 
 
 -Original Message- 
 From: claudio.mar...@abilene.it
 Sent: Tuesday, February 15, 2011 11:25 AM
 To: users@sogo.nu
 Subject: [SOGo] imap root
 
 Hi,
 
 i'm using sogo with courier-imap and i cannot find where ( if it's possible) 
 to
 set IMAP root (to INBOX).
 
 http://www.courier-mta.org/FAQ.html#namespace
 
 Without this setting i see all folder as subfolder of inbox. Same accout, 
 same
 folder on other client (thunderbird), where i can set imap root, i see all
 folder under root.
 
 es.
 
 with SOGO:
 
 
 |
 \-Incoming Mail
 |
 \-Outgoing Mail
 |
 \-Trash
 |
 \-My filtered mail
  |
 \-My sub filtered mail
 
 with thunderbird (INBOX as IMAP ROOT)
 
 
 |
 \-Incoming Mail
 |
 \-Ougoing Mail
 |
 \-Trash
 |
 \-My filtered mail
 |
 \-My sub filtered mail
 
 
 -- 
 Distinti Saluti
 Claudio Martin
 Abilene Net Solutions S.r.l.
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists 
 


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


Re: [SOGo] imap root

2011-02-16 Thread Покотиленко Константин
As I told, I'm not familiar with courier. And I was not aware of such
options at client side.

В Срд, 16/02/2011 в 13:51 +0100, Martin Claudio пишет:
 Sorry but this is not a IMAP server option, or better, some server like 
 cyrus allow you to set this option server-side but normally you can set 
 it client-side.
 is not possible to set namespace option in courier-imap server, if you 
 read this FAQ:
 
 http://www.courier-mta.org/FAQ.html#namespace
 
 Anyway
 
 in every client/webclient i used before i can set root IMAP option:
 
 thunderbird
 outlook express
 outlook
 roundcube
 mail ( OSX )
 
 but not in SOGo, maybe is a good option to implement ?
 
 
 Distinti Saluti
 Claudio Martin
 Abilene Net Solutions S.r.l.
 
 
 Покотиленко Константин ha scritto:
  This is imap-server option rather than option of SOGo.
  
  I'm not familiar with courier-imap, but in cyrus the option is:
  
  # Alternate namespace
  # If enabled, activate the alternate namespace as documented in
  # /usr/share/doc/cyrus-doc-2.2/html/altnamespace.html, where an user's
  # subfolders are in the same level as the INBOX
  # See also userprefix and sharedprefix on imapd.conf(5)
  altnamespace: no
  
  В Вто, 15/02/2011 в 21:32 -0700, Kevin Brault пишет:
  I too would like to know!
 
 
  -Original Message- 
  From: claudio.mar...@abilene.it
  Sent: Tuesday, February 15, 2011 11:25 AM
  To: users@sogo.nu
  Subject: [SOGo] imap root
 
  Hi,
 
  i'm using sogo with courier-imap and i cannot find where ( if it's 
  possible) 
  to
  set IMAP root (to INBOX).
 
  http://www.courier-mta.org/FAQ.html#namespace
 
  Without this setting i see all folder as subfolder of inbox. Same accout, 
  same
  folder on other client (thunderbird), where i can set imap root, i see all
  folder under root.
 
  es.
 
  with SOGO:
 
 
  |
  \-Incoming Mail
  |
  \-Outgoing Mail
  |
  \-Trash
  |
  \-My filtered mail
   |
  \-My sub filtered mail
 
  with thunderbird (INBOX as IMAP ROOT)
 
 
  |
  \-Incoming Mail
  |
  \-Ougoing Mail
  |
  \-Trash
  |
  \-My filtered mail
  |
  \-My sub filtered mail
 
 
  -- 
  Distinti Saluti
  Claudio Martin
  Abilene Net Solutions S.r.l.
  -- 
  users@sogo.nu
  https://inverse.ca/sogo/lists 
 
  
  


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


Re: [SOGo] Sogo Backup

2011-02-15 Thread Покотиленко Константин
В Вто, 15/02/2011 в 11:11 +0100, Alessio Fattorini пишет:
 Il 15/02/2011 10:54, Dominique ha scritto:
  And could you be kind enough to tell me where the documentation for 
  sogo-tool is ?
 
  D.
 
  On 14/02/2011 21:23, Ludovic Marcotte wrote:
  On 11-02-14 2:50 PM, Dominique wrote:
  I am using a very simple SOGo setup with no LDAP, everything in MySql. 
  Great, but if I want to
  backup my users accounts, what do I have to backup? Only the MySQL stuff 
  (and my GNUStep config
  file), or is there anything else I need to be able to restore a failing 
  system (just in case).
  sogo-tool is your friend.
 
 
 I use this script during my backup process, if you help. I backup all home dir
 
 su sogo  -c /usr/GNUstep/System/Tools/Admin/sogo-tool backup  
 /home/e-smith/sogo/backup ALL  
 /dev/null
 tar cvzf /home/e-smith/sogo/backup.tgz -C /home/e-smith/sogo/ backup  
 /dev/null
 rm -rf /home/e-smith/sogo/backup   /dev/null

Guys, discover backupninja (and rdiff-backup). Things will become easier
and more standard.

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


Re: [SOGo] Multiple outgoing server

2011-02-04 Thread Покотиленко Константин
В Птн, 04/02/2011 в 10:12 +0100, tarjei пишет:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 02/04/2011 10:04 AM, Dominique wrote:
  OK, trying to make it work with the ISP... But I need to setup user and
  password to the ISP's SMTP server. Could you spare a minute to tell me
  where to add that info in the GNUStep config file as it is not on page
  23 of the manual?
  
  And I just added 'SOGoSMTPServer ' has been added to the file.
 Hi, IMHO you should do this on the mta of your server instead of trying
 to do it in SOGo. Postfix has good support and documentation for doing
 setups like this.

Among other reasons you should do this on the MTA because SOGo doesn't
support SMTP auth if I'm not mistaken.

 T
  
  Thanks,
  
  Dominique
  
  On 04/02/2011 00:36, Brian Kirkman wrote:
  On 2/3/2011 1:10 PM, Jeff Folk wrote:
  On Feb 3, 2011, at 12:57 PM, Dominique wrote:
 
  Hi,
 
  I am facing an ISP problem for one of my customer. It's a SOHO for
  which we setup their new mail server. Unfortunately, their IP is
  within a dynamic IP segment flagged by a lot of lists or mail
  providers (Hotmail among others) as potential spam and therefor do
  not accept mail coming from a server on those IPs
 
  While I'll be battling with the ISP to get a decent IP address, I
  was wondering if there was a way to setup multiple outgoing servers
  in the SOGo setup file based on domain to be used for the mail or as
  part of the IMAP configuration option in SOGo. This last one could
  be by default the one in the SOGo config file or an alternate
  outgoing server identified by address/user/port/passwrd
 
  It may already be available, but did not find it, or is it an
  undocumented feature ?
  Any suggestions ?
 
  Thanks for the help,
 
  Dominique
  Maybe set SOGo to use the ISP SMTP server?? Page 23 of the Docs...
 
  Regards;
  Jeff
 
  Agreeing with Jeff, you should use the ISPs SMTP server, but I would
  make the change at the MTA level.  I'm used to using Sendmail as an
  MTA, so I know Sendmail has an option called smart_host that allows
  Sendmail to relay mail through the ISPs SMTP server.  Depending on the
  ISP, you might have to use authinfo to authenticate against the SMTP
  server.  Either use Google or check back here for some tips.  If
  you're using Postfix or another MTA, I'm sure someone can lend a hand.
 
  Regards,
  Brian
 
 
 - -- 
 Tarjei Huse
 Mobil: 920 63 413
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAk1LwuMACgkQYVRKCnSvzfIbRwCeKLBVU0T+MHq4bkJulHUCn8b6
 jskAnjf9sU5X5zeMBK0FmjvQ9wOj/utT
 =voFj
 -END PGP SIGNATURE-


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


Re: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-23 Thread Покотиленко Константин
Any comments on this? Should I open a bug or there is anything else I
missed?

В Пнд, 20/12/2010 в 11:57 +0200, Покотиленко Константин пишет:
 В Суб, 18/12/2010 в 16:13 -0500, Ludovic Marcotte пишет:
  On 10-12-17 6:04 AM, Покотиленко Константин wrote:
   I can't believe that everybody create Sent/Trash/Drafs folders manually
  The Drafts folder will be created when you first save a message in it 
  from SOGo.
 
 It should, but it doesn't.
^^^

There is a problem ONLY with Drafts.


  The Sent folder will be created the first time you send a message from SOGo.
  The Trash folder will be created when you first delete a message from SOGo.
 
 Those two work as you describe and as I expect them to.
 
  You did put in your defaults :
  
  SOGoDraftsFolderName = INBOX/Drafts;
  SOGoSentFolderName = INBOX/Sent;
  SOGoTrashFolderName = INBOX/Trash;
  
  but you likely set altnamespace: yes and unixhierarchysep: yes (in 
  /etc/imapd.conf) which result in a broken configuration as with this, 
  Cyrus will prevent the creation of INBOX's subfolders.
 
 In my imapd.conf:
 
 ...
 altnamespace: no
 unixhierarchysep: yes
 ...
 
 So, I think the configuration is Ok.
 
  Fix your SOGo configuration by simply setting :
  
  SOGoDraftsFolderName = Drafts;
  SOGoSentFolderName = Sent;
  SOGoTrashFolderName = Trash;
  
  
  Regards,
  
  -- 
  Ludovic Marcotte
  lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
  Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
  (www.packetfence.org)
  
 
 


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


Re: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-20 Thread Покотиленко Константин
В Суб, 18/12/2010 в 16:13 -0500, Ludovic Marcotte пишет:
 On 10-12-17 6:04 AM, Покотиленко Константин wrote:
  I can't believe that everybody create Sent/Trash/Drafs folders manually
 The Drafts folder will be created when you first save a message in it 
 from SOGo.

It should, but it doesn't.

 The Sent folder will be created the first time you send a message from SOGo.
 The Trash folder will be created when you first delete a message from SOGo.

Those two work as you describe and as I expect them to.

 You did put in your defaults :
 
 SOGoDraftsFolderName = INBOX/Drafts;
 SOGoSentFolderName = INBOX/Sent;
 SOGoTrashFolderName = INBOX/Trash;
 
 but you likely set altnamespace: yes and unixhierarchysep: yes (in 
 /etc/imapd.conf) which result in a broken configuration as with this, 
 Cyrus will prevent the creation of INBOX's subfolders.

In my imapd.conf:

...
altnamespace: no
unixhierarchysep: yes
...

So, I think the configuration is Ok.

 Fix your SOGo configuration by simply setting :
 
 SOGoDraftsFolderName = Drafts;
 SOGoSentFolderName = Sent;
 SOGoTrashFolderName = Trash;
 
 
 Regards,
 
 -- 
 Ludovic Marcotte
 lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 


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


Re: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-17 Thread Покотиленко Константин
I can't believe that everybody create Sent/Trash/Drafs folders manually

В Срд, 15/12/2010 в 12:33 +0200, Покотиленко Константин пишет:
 Can somebody comment on this please, is it a common problem or it is
 only my installation affected?
 
 В Вто, 14/12/2010 в 10:34 +0200, Покотиденко Костантин пишет:
  In my case INBOX/Drafts folder isn't being created initially during
  first save. After pressing Save button, SOGo drops:
  
  =
  An error occurred during object publishing
  
  Failed to store message
  =
  
  INBOX/Sent and INBOX/Trash are being created initially during first
  send/delete operations.
  
  What's wrong?
  
  SOGo is 1.3.4, I'm using Cyrus IMAP.
  
  Those options among others are in
  config: /home/sogo/GNUstep/Defaults/.GNUstepDefaults:
  
  SOGoDraftsFolderName = INBOX/Drafts;
  SOGoSentFolderName = INBOX/Sent;
  SOGoTrashFolderName = INBOX/Trash;
  
  
  
 
 


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


Re: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-17 Thread Покотиленко Константин
There were no replies and now it's two in the same time :)

В Птн, 17/12/2010 в 12:22 +0100, Willi Brune пишет:
 Am 17.12.2010 12:04, schrieb Покотиленко Константин:
  I can't believe that everybody create Sent/Trash/Drafs folders manually
 
 why don't you tell your cyrus server to create the folders on first 
 connect of the user?
 i have this in my imapd.conf:
 autocreateinboxfolders: sent|drafts|spam|templates|Trash

This is good point, thanks. When does cyrus create those folders, during
mainbox creation or when? Thing is that we already have many mailboxes
created.

Also, the metter I asked this question was that SOGo does create Sent
and Trash folders when it needs them and there are none. So I winder why
it does do so for Drafts???

Agreed that the method with cyrus is more portable, allows use of
multiple clients with central configuration for folders.

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


Re: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-17 Thread Покотиленко Константин
В Птн, 17/12/2010 в 12:19 +0100, Dennis Petschull пишет:
 Hi,
 
 I think this is more on the IMAP-server side. I know for example, that 
 Dovecot 
 has an autocreate plugin, which does exactly what you want...

Thanks. As I told in other mail I wonder why SOGo creates Sent and
Trash, but doesn't wants to create Drafts.

So, if SOGo have such feature it simply not working for Drafts, at least
for me.

 On Friday 17 December 2010 12:04:00 Покотиленко Константин wrote:
  I can't believe that everybody create Sent/Trash/Drafs folders manually
  
  В Срд, 15/12/2010 в 12:33 +0200, Покотиленко Константин пишет:
   Can somebody comment on this please, is it a common problem or it is
   only my installation affected?
  
   В Вто, 14/12/2010 в 10:34 +0200, Покотиденко Костантин пишет:
In my case INBOX/Drafts folder isn't being created initially during
first save. After pressing Save button, SOGo drops:
   
=
An error occurred during object publishing
   
Failed to store message
=
   
INBOX/Sent and INBOX/Trash are being created initially during first
send/delete operations.
   
What's wrong?
   
SOGo is 1.3.4, I'm using Cyrus IMAP.
   
Those options among others are in
config: /home/sogo/GNUstep/Defaults/.GNUstepDefaults:
   
SOGoDraftsFolderName = INBOX/Drafts;
SOGoSentFolderName = INBOX/Sent;
SOGoTrashFolderName = INBOX/Trash;
  
 -- 
 users@sogo.nu
 https://inverse.ca/sogo/lists


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


Re: Re[2]: [SOGo] INBOX/Drafts folder isn't being created initially during first save

2010-12-17 Thread Покотиленко Константин
В Птн, 17/12/2010 в 11:57 +, Imo Graf пишет:
 maybe you can use this perl script to create a cyrus user. 

Thanks, handy script.

 -- orginal Nachricht --
 From: Покотиленко Константин cas...@meteor.dp.ua
 To: users@sogo.nu
 Sent: 17.12.2010 12:50:35
 Subject: Re: [SOGo] INBOX/Drafts folder isn't being created initially 
 during first save
 There were no replies and now it's two in the same time :)
 
 В Птн, 17/12/2010 в 12:22 +0100, Willi Brune пишет:
 
 
 Am 17.12.2010 12:04, schrieb Покотиленко Константин:
  I can't believe that everybody create Sent/Trash/Drafs folders manually
 
 why don't you tell your cyrus server to create the folders on first
 connect of the user?
 i have this in my imapd.conf:
 autocreateinboxfolders: sent|drafts|spam|templates|Trash
 
 
 
 This is good point, thanks. When does cyrus create those folders, during
 mainbox creation or when? Thing is that we already have many mailboxes
 created.
 
 Also, the metter I asked this question was that SOGo does create Sent
 and Trash folders when it needs them and there are none. So I winder why
 it does do so for Drafts???
 
 Agreed that the method with cyrus is more portable, allows use of
 multiple clients with central configuration for folders.
 
 --
 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] INBOX/Drafts folder isn't being created initially during first save

2010-12-15 Thread Покотиленко Константин
Can somebody comment on this please, is it a common problem or it is
only my installation affected?

В Вто, 14/12/2010 в 10:34 +0200, Покотиденко Костантин пишет:
 In my case INBOX/Drafts folder isn't being created initially during
 first save. After pressing Save button, SOGo drops:
 
 =
 An error occurred during object publishing
 
 Failed to store message
 =
 
 INBOX/Sent and INBOX/Trash are being created initially during first
 send/delete operations.
 
 What's wrong?
 
 SOGo is 1.3.4, I'm using Cyrus IMAP.
 
 Those options among others are in
 config: /home/sogo/GNUstep/Defaults/.GNUstepDefaults:
 
 SOGoDraftsFolderName = INBOX/Drafts;
 SOGoSentFolderName = INBOX/Sent;
 SOGoTrashFolderName = INBOX/Trash;
 
 
 


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


Re: [SOGo] write access to shared LDAP address book

2010-12-15 Thread Покотиленко Константин
В Срд, 15/12/2010 в 10:17 -0500, Ludovic Marcotte пишет:
 On 10-12-15 5:26 AM, Tyler J. Wagner wrote:
  We're currently implementing SOGo at my company, and we've hit a snag.
  We're trying to use shared address books with LDAP storage, and we
  cannot add to the addressbook with Thunderbird and the connector and
  integrator. We can add to the addressbooks using Evolution's LDAP
  support.
 
  The engineer doing the setup found in the guide, Chapter 5, page 18, the
  parameter explanation for isAddressBook stated that ldap address book
  provides read-only access. Is there any way to support writing to shared
  addressbooks stored in LDAP with Thunderbird?

 In SOGo, the feature for LDAP modification could be added so that 
 editing could be performed from the Web interface.

What is the name for that feature and how it could be added?

 As for Thunderbird, it's not possible. There a 9.5 years old bug open 
 for this:
 
 https://bugzilla.mozilla.org/show_bug.cgi?id=86405
 
 Regards,
 
 -- 
 Ludovic Marcotte
 lmarco...@inverse.ca  ::  +1.514.755.3630  ::  www.inverse.ca
 Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
 (www.packetfence.org)
 


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


Re: [SOGo] Recommended backup scheme for SOGo?

2010-12-15 Thread Покотиленко Константин
В Срд, 15/12/2010 в 11:15 -0600, Advrk Aplmrkt пишет:
 Hello,
 
 I am planning to setup a basic home-based server that runs just SOGo
 for my calendaring, contacts, and e-mail needs. After reading all the
 material I can find, and hopefully with a little help from this
 mailing list, I think I can setup up SOGo on my server.
 
 However, I have no idea how I can make effective backups of the
 server, so that I can restore it after an accident or re-installation
 as easily as possible. Can anyone tell me exactly what should be
 backed up on a server running just SOGo (and, of course, all the
 dependencies like PostgreSQL/MySQL, LDAP, etc. etc.), and how to do it
 effectively? As a newbie to all this, I would appreciate any specific
 steps you can provide.
 
 Thank you very much!

As far as I know thing to backup are:

- gnustep config
- apache site config if changed
- mysql database
- not SOGo related: IMAP and smtp configs and mailboxes



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