Re: Re: [SOGo] preferences - save and close (error)

2014-06-20 Thread bahtiyar
Hi Ludovic Marcott,

I change the setting in sogo.conf on my sogo2 server:
from:
sieve://sogosrv:2000
to:
sieve://sogosrv:2000/?tls=YES

it solved my preferences - save and close (error)

thank you for help whit telnet informations.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Activesync login problem

2014-06-20 Thread Admin

Ok, found a solution to my problem.

My problem relied in the fact I used the mail adress as the user uid.
It seems that in a multi domain configuration, you must keep the c_uid 
in the form of a username (bruno), not a complete mail adress 
(br...@.fr). To be able to use email addresses to login, you 
specify LoginFieldNames.


Here is the modified part of my working conf (some of it might be 
overkill but it finally works :-) ):


SOGoEnableDomainBasedUID = YES;

domains = {
x.fr = {
SOGoMailDomain = x.fr;
SOGoUserSources = (
{
LoginFieldNames = ( mail );
canAuthenticate = YES;
displayName = "SOGo Users";
id = users_x.fr;
isAddressBook = NO;
type = sql;
IMAPLoginFieldName = mail;
IMAPHostFieldName = imaphost;
userPasswordAlgorithm = md5;
viewURL = 
"mysql://sogo:sogopasswd@127.0.0.1:3306/sogo/sogo_users";

 }
 );
};
.net = {
SOGoMailDomain = .net;
SOGoUserSources = (
{
LoginFieldNames = ( mail );
IMAPLoginFieldName = mail;
canAuthenticate = YES;
displayName = "SOGo Users";
id = users_.net;
isAddressBook = NO;
type = sql;
IMAPHostFieldName = imaphost;
userPasswordAlgorithm = md5;
viewURL = 
"mysql://sogo:sogopasswd@127.0.0.1:3306/sogo/sogo_users2";

 }
 );
};
   };


Here is the mysql sogo_users database :
+---++--+-+---+--+
| c_uid  | c_name | c_password| c_cn | mail 
 | imaphost |

+---++--+-+---+--+
| admin | admin  | e.8 | Bruno Steinbach | ad...@x.fr | 
hosting.x.com |
| bruno | bruno  | e.8 | Bruno Steinbach | br...@x.fr | 
hosting.x.com |

+---++--+-+---+--+



On 19/06/2014 14:24, Admin wrote:

Hello,

I have a fresh install of sogo on debian wheezy with authentication on
a mysql database.

I configured activesync on both android mobile and ipad, but I have to
login first on the web interface.
Without previous login on the web interface, mobile devices cannot
login and my logs show the following :

localhost.localdomain - - [19/Jun/2014:13:32:09 GMT] "POST
/SOGo/Microsoft-Server-ActiveSync?User=br...@x.fr&DeviceId=ApplDN6GLHA8DKNV&DeviceType=iPad&Cmd=Ping
HTTP/1.0" 200 13/0 5.002 - - 8K
2014-06-19 13:32:12.037 sogod[5650] ERROR(-[NSNull(misc)
forwardInvocation:]): called selector objectForKey: on NSNull !
2014-06-19 13:32:12.037 sogod[5650] ERROR(-[NSNull(misc)
forwardInvocation:]): called selector setObject:forKey: on NSNull !
2014-06-19 13:32:12.037 sogod[5650]   didn't set return value for type
'v'
2014-06-19 13:32:12.037 sogod[5650] -[WEClientCapabilities
initWithRequest:]: Unknown WebClient: user-agent='Apple-iPad2C2/1104.201'
2014-06-19 13:32:12.038 sogod[5650] ERROR(-[NSNull(misc)
forwardInvocation:]): called selector objectForKey: on NSNull !
2014-06-19 13:32:12.038 sogod[5650] ERROR(-[NSNull(misc)
forwardInvocation:]): called selector setObject:forKey: on NSNull !
2014-06-19 13:32:12.038 sogod[5650]   didn't set return value for type
'v'
Jun 19 13:32:12 sogod [5650]: [WARN] <0x0x7f2283fba620[WOContext]> Got
no user from authenticator: 



Here is my conf :

{
SOGoCacheCleanupInterval = 600;
WOWorkersCount = 20;
OCSFolderInfoURL =
"mysql://sogo:sogopasswd@127.0.0.1:3306/sogo/sogo_folder_info";
OCSSessionsFolderURL =
"mysql://sogo:sogopasswd@127.0.0.1:3306/sogo/sogo_sessions_folder";
SOGoMemcachedHost = 127.0.0.1;
SOGoAppointmentSendEMailNotifications = YES;
SOGoFirstDayOfWeek = 1;
SOGoLanguage = French;
SOGoTimeZone = "Europe/Paris";
SOGoForwardEnabled = YES;
SOGoEnablePublicAccess = NO;
SOGoLoginModule = Calendar;
SOGoMailDomain = "x.fr";
SOGoMailMessageCheck = every_minute;
SOGoProfileURL =
"mysql://sogo:sogopasswd@127.0.0.1:3306/sogo/sogo_user_profile";
SOGoSieveScriptsEnabled = YES;
SOGoSieveServer = "sieve://localhost:4190";
SOGoEnableDomainBasedUID = YES;
SOGoEnableEMailAlarms = YES;
OCSEMailAlarmsFolderURL =
"mysql://sogo:sogopasswd@127.0.0.1:3306/sogo/s

[SOGo] BTS activities for Friday, June 20 2014

2014-06-20 Thread SOGo reporter
Title: BTS activities for Friday, June 20 2014





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Friday, June 20 2014

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
2824
	2014-06-20 11:01:23
	updated (open)
	Apple iCal.app
	iCal reminders don't sync to sogo
	
	  
	
2825
	2014-06-20 18:15:25
	updated (open)
	Backend General
	SOGoCacheGCSObject: column definition of c_type (tinyint) cannot store ActiveSyncGlobalCacheObject
	
	  
	
2819
	2014-06-20 05:56:01
	updated (open)
	Web Calendar
	SOGo allows you to set nonsense recurrence until date and event then fails to display at all
	
	  
	
2299
	2014-06-20 13:27:30
	updated (open)
	with external server
	Unable to Synch Contacts with iCloud in TB