-
@mihael if sending (SMTP) worked, but receiving (IMAP) didn't, then I am afraid it must be due to some misconfiguration of the settings for IMAP. Could you double check the port number, protocol and credentials against what your mail provider requires? Sometimes it is just a small detail. And Dekko is not very upfront with reporting errors to the user, mostly failing silently, when something is wrong in the settings.
-
@arubislander After the upgrade to focal, credentials were the same as under xenial but Dekko stopped receiving new emails - so I don't think that's the cause. I have three accounts, none of them work. IMAP or POP3, no difference. I deleted and recreated the accounts several times.
-
Maybe I could take a look into dekko's config files... I found some db files but they require a password to unlock... Does anybody have any input about these directions?
-
Trying to conect from my phone to the email server through openssl, I noticed that connecting to the SMTP port 465 I was getting access to the telnet terminal but the IMAP port 993 was not giving me access to the terminal. The command was:
openssl s_client -crlf -connect MY-EMAIL-SERVER:993
Investigating further I noticed this error in the response:
error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small
The solution for this was: https://askubuntu.com/questions/1233186/ubuntu-20-04-how-to-set-lower-ssl-security-level/1233456#1233456 - I implemented the mods with
sudo nano /etc/ssl/openssl.cnf
Then I was able to connect though openssl to port 993 but it was only a restart of the phone and deleting / redefining accounts in Dekko that it started downloading messages.
Victory!
-
-
-
-
-
@mihael try imap port 995
-
@wizardi3 Sorry, I don't understand... Why? - do you need help and you want me to check if 995 works? - because for me the issue is solved, I will not change the port now unless you need me to try 995 as well.
-
@mihael No I misunderstood I thought 993 was not working. Sorry
-
@mihael said in Dekko not connecting to IMAP or POP3 servers after update to focal:
@arubislander Thank you for your input! But that is where the problem occurs: when I create the account and hit "Next" after manually entering the imap server and all details, it shows for a moment "Checking credentials" and then returns to the same screen, never proceeding further...
That's exactly what I am experiencing (on Xenial). Now, if Google dropped support for insecure apps as mentioned, there is no solution, is there?
-
@gdegrez There is a solution and it's described here: https://forums.ubports.com/post/74535
-
@mihael said in Dekko not connecting to IMAP or POP3 servers after update to focal:
@gdegrez There is a solution and it's described here: https://forums.ubports.com/post/74535
I of course know this thread.
But as I mentioned there, google won't let me turn on less secure apps!
And Yahoo app password generation doesn't work.Back to square 1
-
@gdegrez Sorry, I can't help you with the gmail account - I tried to follow that solution only for testing purposes (I don't want the google account on my mobile devices) but when I tried to enable less safe apps on google it asked me for my phone number and it was there that they lost me... I don't like that so I didn't follow through... So I don't know how to do it. But if that's a google account issue, you should find more help on internet.
-
Finally got it to work with my Google & Yahoo accounts using app passwords on Xenial!
Took me a while to figure out what went wrong the first times but all is well that ends well -
@gdegrez So what went wrong the first time and how did you fix it?
-
Well, when I first tried, Yahoo would not generate app passwords, it replied : Sorry, this feature is not available right now!
And, as far as Google was concerned, https://support.google.com/a/answer/6260879?hl=en
suggested I needed to have administrator privileges to able less secure apps.So, Saturday, I took another try at Yahoo, and app password generation was working. So, I tried that, and Dekko2 could synchronise my Yahoo account.
Then, I realised that Google allowed using app passwords with normal user accounts as well on https://support.google.com/accounts/answer/6010255#zippy=%2Cif-less-secure-app-access-is-off-for-your-account%2Cuse-an-app-password
I followed the instructions on
https://support.google.com/accounts/answer/185833
to generate an app password, I used it to configure my gmail account on Dekko, and it synchronised finally.Actually, this is the short version, there were a number of trials and errors along the way (Google instructions are not easy to follow, it's easy to do something wrong) but in the end, that's what it boils down to.
So, finally, it only remains one negative point in Dekko, namely that it leaves you with no explanation when there is a problem, you are totally in the mist.
-