Kube issue using STARTTLS both in and out

Christian Mollekopf chrigi_1 at fastmail.fm
Sat Apr 4 18:55:59 BST 2020


On Saturday, April 4, 2020 2:41:16 PM CEST you wrote:
> Hi! Can I ask if you had any updates for me on this by any chance?

Sorry, I forgot about you.
 
> Thank you so much either way!

If the folders appear the connection in principle works and there must be another issue.

We'll need some logs to look into that though, please open a ticket at https://phabricator.kde.org/tag/kube_bugs/.

Thanks,
Christian


> ----
> 
> Ok, thanks, i've changed the settings, here is my config now:
> 
> human at machine  ~  flatpak run --command=/bin/bash com.kubeproject.kube
> human at machine:~$ nano 
> /home/user/.var/app/com.kubeproject.kube/config/sink/\{7f1594f9-ce9a-4135-b267-f014cfe18b35\}.ini
> 
> inside nano:
> 
> [General]
> account=@Variant(\0\0\0\x7f\0\0\0#Sink::ApplicationDomain::Reference\0\0\0\0&{01d78449-3822-4$
> server=imaps://localhost:1143
> username=user at protonmail.com
> starttls=true
> 
> Then exit nano and exit command again.
> 
> Kube does log in, does fetch folders, but no contents inside, connection 
> error reported.
> 
> Thanks
> 
> Nz
> 
> ----
> 
> Il 2020-03-15 21:43 nz at os.vu ha scritto:
> > Ok, thanks, i've changed the settings, here is my config now:
> > 
> > human at machine  ~  flatpak run --command=/bin/bash 
> > com.kubeproject.kube
> > human at machine:~$ nano
> > /home/user/.var/app/com.kubeproject.kube/config/sink/\{7f1594f9-ce9a-4135-b267-f014cfe18b35\}.ini
> > 
> > inside nano:
> > 
> > [General]
> > account=@Variant(\0\0\0\x7f\0\0\0#Sink::ApplicationDomain::Reference\0\0\0\0&{01d78449-3822-4$
> > server=imaps://localhost:1143
> > username=user at protonmail.com
> > starttls=true
> > 
> > Then exit nano and exit command again.
> > 
> > Kube does log in, does fetch folders, but no contents inside,
> > connection error reported.
> > 
> > Thanks
> > 
> > Nz
> > 
> > 
> > Il 2020-03-15 19:13 Christian Mollekopf ha scritto:
> >> You have to enter the flatpak environment before you can execute 
> >> anything:
> >> 
> >> [I] ⋊> flatpak run --command=/bin/bash com.kubeproject.kube
> >> mollekopf ~ $sinksh info
> >> ...
> >> Config location: 
> >> /home/mollekopf/.var/app/com.kubeproject.kube/config/sink
> >> ...
> >> 
> >> mollekopf ~ $sinksh list resource
> >> Resource | Identifier                           | account
> >>                 | server                        | type
> >>          | 887f4e0b-9cc1-4f4e-8e1b-4e0294deeae3 |
> >> fbe4df3b-acad-40b6-af56-d4d0cfc9c1c0 | imaps://beta.kolabnow.com:143 |
> >> sink.imap
> >> ...
> >> 
> >> mollekopf ~ $ls
> >> /home/mollekopf/.var/app/com.kubeproject.kube/config/sink/\{887f4e0b-9cc1-4f4e-8e1b-4e0294deeae3\}.ini
> >> 
> >> You will have to edit the file from outside flatpak unless you like 
> >> nano.
> >> 
> >> Cheers,
> >> Christian
> >> 
> >> On Sun, Mar 15, 2020, at 3:12 PM, Nicolas North [norðurljósahviða] 
> >> wrote:
> >>> Hi Christian,
> >>> 
> >>> thanks for your reply.
> >>> 
> >>> I cannot find the config file, i've installed via flatpak, here is my
> >>> directory structure that i've found:
> >>> 
> >>> ~/.local/share/flatpak/app/com.kubeproject.kube/current/active/files/bin
> >>> 
> >>> inside the above folder there is sinksh but upon running it it says:
> >>> 
> >>> ./sinksh: error while loading shared libraries: libsink.so.0.9: 
> >>> cannot
> >>> open shared object file: No such file or directory
> >>> 
> >>> I'm running it from the directory immediately above and also inside 
> >>> bin.
> >>> 
> >>> Thanks
> >>> 
> >>> Nz
> >>> 
> >>> 
> >>> On Mar 14 2020, at 9:21 pm, Christian Mollekopf 
> >>> <chrigi_1 at fastmail.fm> wrote:
> >>> 
> >>> > Hi,
> >>> >
> >>> > The configuration for this is somewhat obscure so far I'm afraid;
> >>> > * For SMTP anything starting with smtps:// and a port that is *not*
> >>> > 465 will end up using starttls
> >>> > * For IMAP you will have to add a starttls=true entry to the resource
> >>> > config file by hand (as there is no UI for this)
> >>> >
> >>> > To find the right configuration file use "sinksh info" to find the
> >>> > config location and "sinksh list resource" to find the resource
> >>> > identfier (the confguration file will have the same name).
> >>> >
> >>> > Cheers,
> >>> > Christian
> >>> >
> >>> > On Fri, Mar 13, 2020, at 7:46 PM, Nicolas North [norðurljósahviða] wrote:
> >>> >
> >>> >> Trying to add a protonmail bridge account [both imap and smtp on
> >>> >> localhost, custom ports, starttls] but cannot figure out how to use
> >>> >> starttls both in and out. i've tried imaps:// [i think this is not my
> >>> >> case] and imap:// but with no success. error is completely generic.
> >>> >>
> >>> >> The endpoints are:
> >>> >>
> >>> >> IMAP: localhost:1143 STARTTLS
> >>> >> SMTP: localhost:1025 STARTTLS
> >>> >>
> >>> >> Thanks
> >>> >>
> >>> >> Nz
> >>> 
> 


More information about the kde-pim mailing list