[SOGo] BTS activities for Wednesday, January 16 2019

2019-01-16 Thread SOGo reporter
Title: BTS activities for Wednesday, January 16 2019





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Wednesday, January 16 2019

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
4468
	2019-01-16 02:55:12
	updated (open)
	GUI
	CAS Authentication - CAS Session expiration handling with SOGo V3 - CORS
	
	  
	
4644
	2019-01-16 06:35:27
	updated (open)
	Web Calendar
	SOGoDefaultCalendar = "selected" is not implemented
	
	  
	
2722
	2019-01-16 03:00:38
	updated (open)
	Web General
	Feature request: add two factor authentication
	
	  
	
  
  


-- users@sogo.nuhttps://inverse.ca/sogo/lists

[SOGo] Upgrade 3.2.15 -> 4.0.5: Database problems

2019-01-16 Thread Carsten Pieper

Hi dear community,

today, I upgraded from SOGo 3.2.15 to 4.0.5 and everything worked. I 
optimized some points with sogo-tool (cleanup). But now, I do get the 
following error:


ERROR: could not open MySQL4 connection to database 'sogo': Access 
denied for user 'sogo'


I now changed the user in /etc/sogo/sogo.conf for testing purposes to 
root. But even after a complete restart of my ubuntu server, I still get 
the message above, still with the user sogo.


I assume, that my sogo.conf file is not read but some other default is 
taken.


Can please somebody help me to fix this problem and maybe tell me what 
to do thaat SOGo accepts my sogo.conf?


Thanks in advance,

Carsten





CARSTEN PIEPER
Dyckburgheide 1
48157 Münster
Deutschland

Fon:+49 251 3997257
Fax:+49 251 3997256
Mobil:  +49 151 46673961
E-Mail: i...@carstenpieper.com
Internet:   www.carstenpieper.com

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

Re: [SOGo] Docs for JSON API of SOGo

2019-01-16 Thread Francis Lachapelle
Hi Alessio

> On Jan 15, 2019, at 3:23 AM, Alessio Cecchi (ales...@skye.it)  
> wrote:
> 
> we are looking for documentation about JSON API of Sogo, we have found only 
> this:
> 
> https://sogo.nu/files/docs/SOGoDevelopersGuide.html#_json_api
> 
> and some examples inside the source code:
> 
> https://github.com/inverse-inc/sogo/blob/18df3bafb5096c123c117d8cf1085d250254f112/UI/MailerUI/UIxMailFolderActions.m#L48
> 
> Where can I find a list of availability API?

We follow the APIDOC syntax (http://apidocjs.com/). Install the apidoc tool and 
generate the documentation yourself:

$ sudo npm install -g apidoc
$ cd sogo.git
$ apidoc -f ".*\\.m" -i UI

And open doc/index.html.


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

[SOGo] Empty INBOX / E-mail list and IMAP parser issue - NGImap4ParserException

2019-01-16 Thread Jensen DEV
Hello Everyone,

Yesterday I installed the SOGo nightly via yum on a fresh installed centos 7,

As far as I can see, it can't parse the IMAP response and that's why I'm just 
seeing an email list with empty subject and contents (figure_1.png in 
attachments)

I inspected the IMAP logs and it seems "sope-mime" NGImap4ResponseParser can't 
parse the IMAP response.

The error thrown at /sope-mime/NGImap4/NGImap4ResponseParser.m:1888

Link for the current code:
https://github.com/inverse-inc/sope/blob/2f26952009f622f97a43921a6cfdafb79b8f46f6/sope-mime/NGImap4/NGImap4ResponseParser.m#L1888

I'm using surgemail for IMAP and SMTP, it's tested with a lot of different 
email clients on web/desktop/mobile and for the first time I'm facing with an 
issue like this.

If anyone knows how I can fix this, I'll be glad.

Kindest regards.

---

LOGS :

Jan 16 13:55:58 sogod [4530]: [WARN] <0x0x556e9ea25070[SOGoWebDAVAclManager]> 
entry '{DAV:}write' already exists in DAV permissions table
Jan 16 13:55:58 sogod [4530]: [WARN] <0x0x556e9ea25070[SOGoWebDAVAclManager]> 
entry '{DAV:}write-properties' already exists in DAV permissions table
Jan 16 13:55:58 sogod [4530]: [WARN] <0x0x556e9ea25070[SOGoWebDAVAclManager]> 
entry '{DAV:}write-content' already exists in DAV permissions table

...

Jan 16 13:55:59 sogod [6107]: <0x0x5616a0da8b60[NGImap4ResponseParser]> ERROR: 
got no body content for key: 'body[header.fields'
Jan 16 13:55:59 sogod [6107]: <0x0x5616a0da34a0[NGImap4Client]> 
ERROR(-[NGImap4Client _processCommandParserException:]): catched IMAP4 parser 
exception NGImap4ParserException: unsupported fetch key: nil)
Jan 16 13:55:59 sogod [6107]: [ERROR] <0x0x5616a0db22c0[NGImap4Connection]> 
Error fetching 1 uids for url: imap://sample%40domain.com@255.255.255.255/INBOX/

...

Jan 16 16:28:51 sogod [4887]: <0x0x55d0a08f39c0[NGImap4ResponseParser]> ERROR: 
got no body content for key: 'body[header.fields'
Jan 16 16:28:51 sogod [4887]: <0x0x55d0a08545e0[NGImap4Client]> 
ERROR(-[NGImap4Client _processCommandParserException:]): catched IMAP4 parser 
exception NGImap4ParserException: unsupported fetch key: nil)
*
Jan 16 16:28:51 sogod [4887]: [ERROR] <0x0x55d0a0016c00[NGImap4Connection]> 
Error fetching 19 uids for url: imap://fi%40domain.com@255.255.255.255/INBOX/
Jan 16 16:28:51 sogod [4887]: [WARN] 
<0x55d0a07b5390[SOGoMailFolder]:folderINBOX> IMAP connection is broken, trying 
to reconnect...
: * NAMESPACE (("" "/")) NIL NIL
S[0x55d0a06f53d0]: 3 OK namespace done
C[0x55d0a0751580]: 4 LIST "" ""
S[0x55d0a06f53d0]: * LIST (\NoSelect) "/" ""
S[0x55d0a06f53d0]: 4 OK LIST completed
C[0x55d0a0751580]: 5 select "INBOX"
S[0x55d0a06f53d0]: * 0 EXISTS
S[0x55d0a06f53d0]: * 0 RECENT
S[0x55d0a06f53d0]: * OK [UIDVALIDITY 1547653922] Uid epoch
S[0x55d0a06f53d0]: * OK [UIDNEXT 1] Predicted next uid
S[0x55d0a06f53d0]: * FLAGS (\Answered \Flagged \Deleted \Draft \Seen $Forwarded 
)
S[0x55d0a06f53d0]: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Draft 
\Seen $Forwarded )] Limited
S[0x55d0a06f53d0]: 5 OK [READ-WRITE] SELECT completed
C[0x55d0a0751580]: 6 UID SORT (REVERSE ARRIVAL) UTF-8 NOT DELETED
S[0x55d0a06f53d0]: 6 OK SORT completed
C[0x55d0a0751580]: 7 logout
S[0x55d0a06f53d0]: * BYE IMAP4rev1 Server logging out
S[0x55d0a087ea60]: * OK IMAP (C)  (Version 7.3o4-4)
C[0x55d0a07cc880]: 1 login "f...@domain.com" "11Passwd11"
S[0x55d0a087ea60]: 1 OK login completed
C[0x55d0a07cc880]: 2 capability
S[0x55d0a087ea60]: * CAPABILITY IMAP4 IMAP4REV1 NAMESPACE QUOTA UIDPLUS IDLE 
SORT SURGEMAIL STARTTLS
S[0x55d0a087ea60]: 2 OK Capability completed
C[0x55d0a07cc880]: 3 namespace
S[0x55d0a087ea60]: * NAMESPACE (("" "/")) NIL NIL
S[0x55d0a087ea60]: 3 OK namespace done
C[0x55d0a07cc880]: 4 LIST "" ""
S[0x55d0a087ea60]: * LIST (\NoSelect) "/" ""
S[0x55d0a087ea60]: 4 OK LIST completed
C[0x55d0a07cc880]: 5 LIST "" "*"
S[0x55d0a087ea60]: * LIST () "/" "INBOX"
S[0x55d0a087ea60]: * LIST () "/" "Trash"
S[0x55d0a087ea60]: * LIST () "/" "Sent Items"
S[0x55d0a087ea60]: * LIST () "/" "Drafts"
S[0x55d0a087ea60]: * LIST () "/" "Spam"
S[0x55d0a087ea60]: 5 OK LIST completed
C[0x55d0a07cc880]: 6 getquotaroot "INBOX"
S[0x55d0a087ea60]: * QUOTAROOT "INBOX" ""
S[0x55d0a087ea60]: * QUOTA "" (STORAGE 771 5371093)
S[0x55d0a087ea60]: 6 OK getquotaroot completed
C[0x55d0a07cc880]: 7 logout
S[0x55d0a087ea60]: * BYE IMAP4rev1 Server logging out
S[0x55d0a08f39c0]: * OK IMAP (C)  (Version 7.3o4-4)
C[0x55d0a08545e0]: 1 login "f...@domain.com" "11Passwd11"
S[0x55d0a08f39c0]: 1 OK login completed
C[0x55d0a08545e0]: 2 capability
S[0x55d0a08f39c0]: * CAPABILITY IMAP4 IMAP4REV1 NAMESPACE QUOTA UIDPLUS IDLE 
SORT SURGEMAIL STARTTLS
S[0x55d0a08f39c0]: 2 OK Capability completed
C[0x55d0a08545e0]: 3 namespace
S[0x55d0a08f39c0]: * NAMESPACE (("" "/")) NIL NIL
S[0x55d0a08f39c0]: 3 OK namespace done
C[0x55d0a08545e0]: 4 LIST "" ""
S[0x55d0a08f39c0]: * LIST (\NoSelect) "/" ""
S[0x55d0a08f39c0]: 4 OK LIST completed
C[0x55d0a08545e0]: 5 select "INBOX"
S[0x55d0a08f39c0]: * 19 EXISTS
S[0x55d0a08