Dekko 2 account settings
-
Hi @gdegrez
please enable logging by following the instructions in this post:
https://forums.ubports.com/post/13127
You can see the end result (for the config file) in this post:
https://forums.ubports.com/post/17125
Then try it again and have a look at the log. -
@hummlbach said in Dekko 2 account settings:
please enable logging by following the instructions in this post:
https://forums.ubports.com/post/13127I did that, here is my dekkod.conf file:
[FileLog]
Enabled=0
Path=/home/phablet/dekkod.log[LogCategories]
IMAP=1
Messaging=1
POP=1
SMTP=1[StdStreamLog]
Enabled=1[Syslog]
Enabled=0And here is dekkod-notify.log:
dekko.accounts.list: Adding accounts (7) to list
dekko.accounts.list: Removing accounts (7) from list
dekko.accounts.list: Adding accounts (8) to listThe new account inbox is created, but it remains empty. And I don't know how to force email downloads, if it's at all possible.
The account settings are as shown in the screen shot below.
-
The interesting thing would be the
dekkod.log
(not thedekkod-notify.log
) ^^.
According to your config the log could be in your home now and should also be in.cache/upstart/dekkod.log
.
(If theres no log yet, you need to restart dekkod by executingrestart dekkod
or by rebooting the phone.) -
@hummlbach said in Dekko 2 account settings:
The interesting thing would be the dekkod.log (not the dekkod-notify.log) ^^.
OK. I quitted Dekko2 and then restarted it from the command line as you suggested. Here is the log. (I put only what I guess are the interesting lines, the file is too long)
[6505] avr. 21 17:36:30 [Warning] void QCopClient::connectToServer() QLocalSocket::ServerNotFoundError "QLocalSocket::connectToServer: Invalid name" [6505] avr. 21 17:36:30 [Debug] MessageServer ctor begin [6505] avr. 21 17:36:30 [Debug] opening database [6505] avr. 21 17:36:30 [Debug] Messaging : Will attempt to establish push email for account 1 "Privé" in 0 seconds [6505] avr. 21 17:36:30 [Debug] Registering service: "imap4" for account: 1 [6505] avr. 21 17:36:30 [Debug] Registering service: "smtp" for account: 1 [6505] avr. 21 17:36:30 [Debug] Messaging : Will attempt to establish push email for account 8 "ULB" in 0 seconds [6505] avr. 21 17:36:30 [Debug] Registering service: "imap4" for account: 8 [6505] avr. 21 17:36:30 [Debug] SMTP : Fetching capabilities from the server... [6505] avr. 21 17:36:30 [Debug] Registering service: "smtp" for account: 8 [6505] avr. 21 17:36:30 [Debug] Messaging : IDLE Session: Opening... [6505] avr. 21 17:36:30 [Debug] Messaging : IDLE session opened, state 3 [6505] avr. 21 17:36:30 [Debug] Messaging : Attempting to restart push email for account 1 "Privé" [6505] avr. 21 17:36:30 [Warning] Would not determine server/action completing [6505] avr. 21 17:36:30 [Debug] Messaging : Attempting to establish push email for account 1 "Privé" [6505] avr. 21 17:36:30 [Debug] Messaging : HasPersistentConnection for 1 changed to true [6505] avr. 21 17:36:30 [Warning] Would not determine server/action completing [6505] avr. 21 17:36:30 [Debug] Messaging : IDLE Session: Opening... [6505] avr. 21 17:36:30 [Debug] Messaging : IDLE session opened, state 3 [6505] avr. 21 17:36:30 [Debug] Messaging : Attempting to restart push email for account 8 "ULB" [6505] avr. 21 17:36:30 [Warning] Would not determine server/action completing [6505] avr. 21 17:36:30 [Debug] Messaging : Attempting to establish push email for account 8 "ULB" [6505] avr. 21 17:36:30 [Debug] Running action TransmitMessagesRequest 27938762260481 [6505] avr. 21 17:36:30 [Debug] SMTP : newConnection [6505] avr. 21 17:36:30 [Debug] SMTP : Open SMTP connection [6505] avr. 21 17:36:30 [Debug] Messaging : QMailTransport::Socket::Socket SET PROXY host= "" port= 0 [6505] avr. 21 17:36:30 [Debug] Messaging : Opening connection - "smtp.ulb.ac.be" : 587 SSL [6505] avr. 21 17:36:30 [Debug] Running action RetrieveMessageListRequest 27938762260482 [6505] avr. 21 17:36:30 [Debug] Messaging : Setting imap strategy 31ImapRetrieveMessageListStrategy [6505] avr. 21 17:36:30 [Debug] IMAP : "1" About to open connection "gerard.degrez@yahoo.fr" "imap.mail.yahoo.com" [6505] avr. 21 17:36:30 [Debug] Messaging : QMailTransport::Socket::Socket SET PROXY host= "" port= 0 [6505] avr. 21 17:36:30 [Debug] Messaging : Opening connection - "imap.mail.yahoo.com" : 993 SSL [6505] avr. 21 17:36:30 [Debug] Messaging : SMTP : connection established [6505] avr. 21 17:36:30 [Warning] socketError: 13 : "Error during SSL handshake: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol" [6505] avr. 21 17:36:30 [Debug] SMTP : Closed connection: "Socket error" [6505] avr. 21 17:36:30 [Debug] Action completed 27938762260481 result failure [6505] avr. 21 17:36:30 [Debug] SMTP : Could not fetch capabilities...trying again after 1 seconds ... [6505] avr. 21 17:41:30 [Debug] IMAP : "2" About to open connection "gdegrez" "imap.ulb.ac.be" [6505] avr. 21 17:41:30 [Debug] Messaging : QMailTransport::Socket::Socket SET PROXY host= "" port= 0 [6505] avr. 21 17:41:30 [Debug] Messaging : Opening connection - "imap.ulb.ac.be" : 143 SSL [6505] avr. 21 17:41:30 [Debug] Messaging : IMAP : connection established [6505] avr. 21 17:41:30 [Warning] socketError: 13 : "Error during SSL handshake: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol" [6505] avr. 21 17:41:30 [Debug] Action completed 27938762260488 result failure
-
Problem solved. I removed the SSL encryption for both IMAP and SMTP servers, and it now works.
What about the other question: is it possible to connect to a Microsoft exchange account on Dekko2 ?
-
I connect to Microsofts servers via IMAP and SMTP to read my mails of my company Exchange server. The connect details are:
imaps://username@company.com@pod51010.outlook.com/INBOX smtp://username@company.com@pod51010.outlook.com:587
-
@gdegrez mhmm, not using ssl might be a (bad) work around for now, but actually that is working with encryption... but I haven't got an idea what goes wrong there...
-
One has to use in this case
STARTTLS
.matthias
-
@guru
I tried to enter the settings from Dekko2's GUI without success. In which file are these settings stored?
On my Android phone, I noticed that there are no outgoing mail settings for the exchange server. I guess it's because it's the same as the incoming mail server, right?An unrelated issue: when I click on "reply to all", the app crashes.
-
@gdegrez said in Dekko 2 account settings:
@guru
I tried to enter the settings from Dekko2's GUI without success. In which file are these settings stored?They are stored in some database files and I found no way to change/add such configs. This is what I would call bad design.
On my Android phone, I noticed that there are no outgoing mail settings for the exchange server. I guess it's because it's the same as the incoming mail server, right?
No, at least the DNS and port could be different.
An unrelated issue: when I click on "reply to all", the app crashes.
Welcome in the club. You will face more issues (search the forum to be prepared.)
-
@guru said in Dekko 2 account settings:
They are stored in some database files and I found no way to change/add such configs.
Would you know the name of the file? At least, I could see the impact of changes performed with the GUI.
No, at least the DNS and port could be different.
Yes, the port is different. In your example, pod51010.outlook.com is the server's internet name, right? and it's the same for both incoming and outgoing servers.
-
The account settings are stored in
MazDB
files. You can find them by using something like (ofc with your account data):phablet@ubuntu-phablet:~$ for f in `find .config/dekko2.dekkoproject .local/share/dekko2.dekkoproject -type f` ; do grep guru $f ; done Binary file .local/share/dekko2.dekkoproject/mazdb/identities.db/000183.ldb matches Binary file .local/share/dekko2.dekkoproject/mazdb/identities.db/000073.ldb matches phablet@ubuntu-phablet:~$ strings .local/share/dekko2.dekkoproject/mazdb/identities.db/000183.ldb /identity/4 8{"data":{"email "guru@unixarea.de","type":"primitive"},"id":{ name Y4Matthias ApitzZW parentId replyTo signatur. Sent using Dekko from my Ubuntu device\nhttp://www.= P/ +49 176 38902045R~ <object"}
Re/
MazDB
see http://launchpad.net/maz-db -
@guru Well, I could find the file for my first identity, but that includes no info on the outgoing and ingoing mail servers. And I couldn't find the files for the 2 other identities.
No way to set up my account on the exchange server. All attemps unsuccesful
-
I spent some time glancing through the sources but could not find the way the account setup is written.
It's a pitty that the original developer can not help for whatever reason and no one else is giving a talk or a workshop, for example via webEx, to get others to speed.
-
@guru Maybe you missed this but plans are underway for Dekko2 with a hackathon next weekend https://forums.ubports.com/topic/2645/dekko2-hackathon-one-week-to-go
-
I've heard about it , but did not see any agenda or content. Will this be recorded or live streamed. My problem is, that I have had already compromised my participation in a Ramadama in an association and would need (for me) good reasons to cancel this.
-
For info, seen on gitlab, we can see dekko 2 issues which should be addressed during hackaton :
For example :
-
Please keep in mind: that doesn't mean all of them will be fixed. Just created a board and suggested some issues. 'Even if we only got a handful finished, I would be happy.' (thx Nicholas for lenting me your words ^^)
-
Apart of fixing certain issues, what IMHO is most necessary is an architecture overview of the dekko processes/threads (as a schema) and of the source tree where's what piece of code. Is this planned?
-
@guru
With Thunderbird on Ubuntu 16.04LTS, there's an add-on to connect to MS Exchange servers, with which I could connect successfully. Now, I see that the server ID includes the ews path, of the form exchange.company.com/ews/something.aswx
I didn't try yet with Dekko2, do you think that might work?