UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Dekko not connecting to IMAP or POP3 servers after update to focal

    Scheduled Pinned Locked Moved Solved Support
    32 Posts 10 Posters 4.5k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • mihaelM Offline
        mihael @arubislander
        last edited by

        @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...

        G 1 Reply Last reply Reply Quote 0
        • mihaelM Offline
          mihael
          last edited by

          I managed to send emails from Dekko: it worked only after I defined Identities for each email account. I'm still not able to receive emails.

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            TakoR @mihael
            last edited by

            @mihael I initially had this problem with Dekko. I would see the older emails but not the newer ones.

            I got it working by reinstalling the app. It will appear only as Dekko on the focal Open Store. Reboot and then try refreshing the app again without touching your connection/account settings.

            mihaelM 1 Reply Last reply Reply Quote 0
            • mihaelM Offline
              mihael @TakoR
              last edited by

              @TakoR Thanks for the idea but no difference here...

              1 Reply Last reply Reply Quote 0
              • mihaelM Offline
                mihael
                last edited by

                Deltachat started downloading emails after a restart of the phone. This shows me the problem must be with Dekko and not with my email server. What else could I do / check? Thank you in advance for any idea!

                arubislanderA 1 Reply Last reply Reply Quote 0
                • arubislanderA Offline
                  arubislander @mihael
                  last edited by

                  @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.

                  πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                  Happily running Ubuntu Touch
                  Google Pixel 3a (20.04 DEV)
                  JingPad (24.04 preview)
                  Meizu Pro 5 (16.04 DEV)

                  mihaelM 1 Reply Last reply Reply Quote 0
                  • mihaelM Offline
                    mihael @arubislander
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • mihaelM Offline
                      mihael
                      last edited by

                      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?

                      1 Reply Last reply Reply Quote 0
                      • mihaelM Offline
                        mihael
                        last edited by mihael

                        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! :flexed_biceps:

                        W 1 Reply Last reply Reply Quote 0
                        • mihaelM mihael marked this topic as a question on
                        • mihaelM mihael has marked this topic as solved on
                        • mihaelM mihael referenced this topic on
                        • CiberSheepC CiberSheep moved this topic from 20.04 Focal Fossa on
                        • W Offline
                          wizardi3 @mihael
                          last edited by

                          @mihael try imap port 995

                          mihaelM 1 Reply Last reply Reply Quote 0
                          • mihaelM Offline
                            mihael @wizardi3
                            last edited by

                            @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.

                            W 1 Reply Last reply Reply Quote 0
                            • W Offline
                              wizardi3 @mihael
                              last edited by

                              @mihael No I misunderstood I thought 993 was not working. Sorry

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                gdegrez @mihael
                                last edited by

                                @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?

                                BQ Aquaris M10 FHD

                                mihaelM 1 Reply Last reply Reply Quote 0
                                • mihaelM Offline
                                  mihael @gdegrez
                                  last edited by

                                  @gdegrez There is a solution and it's described here: https://forums.ubports.com/post/74535

                                  G 1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    gdegrez @mihael
                                    last edited by

                                    @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

                                    BQ Aquaris M10 FHD

                                    mihaelM 1 Reply Last reply Reply Quote 0
                                    • mihaelM Offline
                                      mihael @gdegrez
                                      last edited by

                                      @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.

                                      1 Reply Last reply Reply Quote 0
                                      • G Offline
                                        gdegrez
                                        last edited by

                                        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 πŸ™‚

                                        BQ Aquaris M10 FHD

                                        mihaelM 1 Reply Last reply Reply Quote 0
                                        • mihaelM Offline
                                          mihael @gdegrez
                                          last edited by

                                          @gdegrez So what went wrong the first time and how did you fix it?

                                          G 1 Reply Last reply Reply Quote 0
                                          • G Offline
                                            gdegrez @mihael
                                            last edited by

                                            @mihael

                                            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.

                                            BQ Aquaris M10 FHD

                                            mihaelM 1 Reply Last reply Reply Quote 0
                                            • mihaelM Offline
                                              mihael @gdegrez
                                              last edited by

                                              @gdegrez πŸ‘

                                              1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post