PINE64
Protonmail in Geary - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Protonmail in Geary (/showthread.php?tid=15329)



Protonmail in Geary - tombull - 11-13-2021

I am running Mobian Phosh.

I have protonmail-bridge installed following instructions I found in a post here but I cannot get protonmail set up in Geary.
I have tried to manually configure imap and smtp in geary and also in settings online accounts new imap and smtp but keep getting errors.
Is there a tutorial for this?
Will protonmail work in Geary?

When I try to configure IMAP in settings new online accounts
IMAP Server 127.0.0.1
username "myusername"
Password "my password"
I get error "Connection refused"

In the proton-bridge when I use the "info 0" command it returns my account information and a long password that is not the password I use to login with, I assume that is the password the bridge is using to decrypt messages. I have used that password as well as the password I login in with to no avail. Why is my connection refused?


RE: Protonmail in Geary - d-.-b - 11-14-2021

(11-13-2021, 01:29 PM)tombull Wrote: I am running Mobian Phosh.

I have protonmail-bridge installed following instructions I found in a post here but I cannot get protonmail set up in Geary.
I have tried to manually configure imap and smtp in geary and also in settings online accounts new imap and smtp but keep getting errors.
Is there a tutorial for this?
Will protonmail work in Geary?

When I try to configure IMAP in settings new online accounts
IMAP Server 127.0.0.1
username "myusername"
Password "my password"
I get error "Connection refused"

In the proton-bridge when I use the "info 0" command it returns my account information and a long password that is not the password I use to login with, I assume that is the password the bridge is using to decrypt messages. I have used that password as well as the password I login in with to no avail. Why is my connection refused?
Hi tombull, this is how I got protonmail working with Geary.



I followed how to install bridge following the tutorial there:

https://www.reddit.com/r/PinePhoneOfficial/comments/lx2764/now_running_protonmailbridge_on_mobian_pinephone/



After I get log in the Protonmail Bridge:
mobian@mobian:~/Downloads/proton-bridge$ ./proton-bridge --cli

            Welcome to ProtonMail Bridge interactive shell
                              ___....___
    ^^                __..-:'':__:..:__:'':-..__
                  _.-:__:.-:'':  :  :  :'':-.:__:-._
                .':.-:  :  :  :  :  :  :  :  :  :._:'.
            _ :.':  :  :  :  :  :  :  :  :  :  :  :'.: _
            [ ]:  :  :  :  :  :  :  :  :  :  :  :  :  :[ ]
            [ ]:  :  :  :  :  :  :  :  :  :  :  :  :  :[ ]
  :::::::::[ ]:__:__:__:__:__:__:__:__:__:__:__:__:__:[ ]:::::::::::
  !!!!!!!!![ ]!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![ ]!!!!!!!!!!!
  ^^^^^^^^^[ ]^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[ ]^^^^^^^^^^^
            [ ]                                        [ ]
            [ ]                                        [ ]
      jgs  [ ]                                        [ ]
    ~~^_~^~/  \~^-~^~ _~^-~_^~-^~_^~~-^~_~^~-~_~-^~_^/  \~^ ~~_ ^
>>> login yourlogin
Username: yourprotonmail@protonmail.com
Password: your protonmail password
Authenticating ...
Adding account ...
Account youraccount was added successfully.
>>> 




>>> list
# : account              (status        , address mode  )
0 : youraccount        (connected      , combined      )

>>> info
Configuration for yourprotonmail@protonmail.com
IMAP Settings
Address:  127.0.0.1
IMAP port: 1143
Username:  yourprotonmail@protonmail.com
Password:  ***very important password will be useful later***
Security:  STARTTLS

SMTP Settings
Address:  127.0.0.1
SMTP port: 1025
Username:  yourprotonmail@protonmail.com
Password:  ***very important password will be useful later***
Security:  STARTTLS

>>>   





Here is how my server settings are in Geary:



Service provider:  0.0.1

Save draft email on server, check

Save sent email on server, check



IMAP server 127.0.0.1:1143

Connection security StartTLS

Login name yourprotonmail@protonmail.com



SMTP server 127.0.0.1:1025

Connection security StartTLS

Login Use same login as receiving



***When setting up IMAP and SMTP, I used the password found by typing >>>info in the Protonmail-bridge command line***

EDIT: changed "Connection security" for Geary from "none" to "StartTLS" for IMAP and SMTP

It has been a little while since I've set that up so I might have forgotten some steps or details but that worth a try.



Hope that can help.