Skip to content

To people reading this in 2026 or in the future years: #4

@syrupderg

Description

@syrupderg

No, I am not a part of this project, but I decided to give it a try myself after discovering it and seeing that the project is abandoned, I wanted to write some sort of guide for people who also want to try it. I might try to make an Android app myself in order to not depend of Termux.

Q: Do I have to keep termux running in the background?
A: Yes, to receive new messages and send emails, you need to keep it running.

Q: gpg: invalid option "--full-generate-keypkg"
A: I'm guessing this error happens because in the readme file of this repo, the creator forgot to press enter when writing gpg --full-generate-keygpg --list-secret-keys. It should be separated like this: gpg --full-generate-key and gpg --list-secret-keys. If you are still having issues related to "gpg --full-generate-key" command, you can also try --full-gen-key or --generate-key or --gen-key.

Q: How to set up gpg?
A: If you manage to successfully run the gpg key command

  1. It will first ask you to select what kind of key you want. If you know what you are doing, you can select the one you want by typing a number, if you are unsure about it, you can just press enter without typing anything to pick the default option (which is number 9, ECC (sign and encrypt))
  2. Select the elliptic curve you want, again, if you are unsure, you can press enter without typing anything to select the default option (which is the number 1, Curve 25519)
  3. Specifying how long the key should be valid. You can press enter again without typing anything to pick 0, which means the key does not expire.
  4. It asks you if the answers you entered is correct or not, if you want to change anything, press enter or type n to pick different options from the start, if you want to continue, type y.
  5. It asks for your real name,
  6. It asks for your email address,
  7. It asks for your comment (can be left blank),
  8. After entering them, it asks you to confirm your answers, to continue, type o and to edit your answers, type q
  9. it asks for you to make a password and repeat it.
  10. Done.

Q: Can I use this for calendar sync?
A: No. Currently Proton still does not support sync for calendar, only email.

Q: How can I add it to accounts & sync?
A: I am using a Xiaomi phone so this will be focused on MIUI/HyperOS but it should be also similar to other Android phones.

  1. Add account
  2. Pick "IMAP"
  3. At the bottom pick "Other"
  4. Click on "Manual setup"
  5. Type your email address and your username, but for password, instead of typing your proton account password, use the password that proton bridge generates.
    5.a. You can type "info" when you are running pass test/test && proton-bridge --cli to find the generated password for you.
  6. For server, type 127.0.0.1 and for port, type 1143.
  7. You do not need to change IMAP path prefix or turn on SSL.
  8. For Outgoing mail server/SMTP, write 127.0.0.1 again, but this time write 1025 for port.
  9. You do not need to turn on SSL, and if your generated password is the same as the IMAP password (by default it is same), you also do not need to turn on SMTP independent verification.
  10. If another email client asks for security, use "STARTTLS" for both IMAP and SMTP. This is not required in Xiaomi account & sync.
  11. Done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions