• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.4k 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.
    • M Offline
      mihael
      last edited by 10 Aug 2023, 07:06

      If I watch the logs on the mail server with sudo tail -f /var/log/mail.log | grep MY-IP-ADDRESS I can see the error when Dekko tries to connect to the server:

      dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=MY-IP-ADDRESS

      so I guess Dekko doesn't send the username to the server???

      A 1 Reply Last reply 10 Aug 2023, 07:33 Reply Quote 0
      • A Online
        arubislander @mihael
        last edited by 10 Aug 2023, 07:33

        @mihael that would be very unusual. But the settings can be finicky at times. Please double check the mail settings in Dekko. Maybe even create a new fresh account config for the same mail account.

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

        M 1 Reply Last reply 10 Aug 2023, 07:53 Reply Quote 0
        • M Offline
          mihael @arubislander
          last edited by 10 Aug 2023, 07:53

          @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 19 Aug 2023, 08:47 Reply Quote 0
          • M Offline
            mihael
            last edited by 10 Aug 2023, 11:26

            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 11 Aug 2023, 06:00 Reply Quote 0
            • T Offline
              TakoR @mihael
              last edited by 11 Aug 2023, 06:00

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

              M 1 Reply Last reply 11 Aug 2023, 13:26 Reply Quote 0
              • M Offline
                mihael @TakoR
                last edited by 11 Aug 2023, 13:26

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

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mihael
                  last edited by 11 Aug 2023, 15:17

                  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!

                  A 1 Reply Last reply 11 Aug 2023, 16:19 Reply Quote 0
                  • A Online
                    arubislander @mihael
                    last edited by 11 Aug 2023, 16:19

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

                    M 1 Reply Last reply 11 Aug 2023, 19:31 Reply Quote 0
                    • M Offline
                      mihael @arubislander
                      last edited by 11 Aug 2023, 19:31

                      @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
                      • M Offline
                        mihael
                        last edited by 12 Aug 2023, 07:50

                        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
                        • M Offline
                          mihael
                          last edited by mihael 14 Aug 2023, 19:37

                          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 16 Aug 2023, 13:15 Reply Quote 0
                          • M mihael marked this topic as a question on 14 Aug 2023, 19:38
                          • M mihael has marked this topic as solved on 14 Aug 2023, 19:38
                          • M mihael referenced this topic on 14 Aug 2023, 19:47
                          • C CiberSheep moved this topic from 20.04 Focal Fossa on 14 Aug 2023, 20:10
                          • W Offline
                            wizardi3 @mihael
                            last edited by 16 Aug 2023, 13:15

                            @mihael try imap port 995

                            M 1 Reply Last reply 16 Aug 2023, 13:18 Reply Quote 0
                            • M Offline
                              mihael @wizardi3
                              last edited by 16 Aug 2023, 13:18

                              @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 16 Aug 2023, 13:23 Reply Quote 0
                              • W Offline
                                wizardi3 @mihael
                                last edited by 16 Aug 2023, 13:23

                                @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 19 Aug 2023, 08:47

                                  @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

                                  M 1 Reply Last reply 19 Aug 2023, 08:52 Reply Quote 0
                                  • M Offline
                                    mihael @gdegrez
                                    last edited by 19 Aug 2023, 08:52

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

                                    G 1 Reply Last reply 19 Aug 2023, 08:58 Reply Quote 0
                                    • G Offline
                                      gdegrez @mihael
                                      last edited by 19 Aug 2023, 08:58

                                      @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

                                      M 1 Reply Last reply 19 Aug 2023, 09:02 Reply Quote 0
                                      • M Offline
                                        mihael @gdegrez
                                        last edited by 19 Aug 2023, 09:02

                                        @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 19 Aug 2023, 14:42

                                          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

                                          M 1 Reply Last reply 19 Aug 2023, 14:44 Reply Quote 0
                                          • M Offline
                                            mihael @gdegrez
                                            last edited by 19 Aug 2023, 14:44

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

                                            G 1 Reply Last reply 21 Aug 2023, 07:29 Reply Quote 0
                                            20 out of 32
                                            • First post
                                              20/32
                                              Last post