139
submitted 6 days ago* (last edited 6 days ago) by [email protected] to c/[email protected]

cross-posted from: https://lemmy.world/post/17087912

Protonmail relies solely on Firebase for receiving notifications on Android. While UniversalPush support is probably in the works, it may take some time until users on ROMs without GSF get built-in notifications.

For those that already use ntfy.sh as a push provider for other apps, https://github.com/0ranki/hydroxide-push is a solution to get push notifications of new mail in Inbox.

The service requires a Linux box to run on, and can be deployed as a container or by running the provided binary. Building from source is of course also an option.

The service is a stripped down version of Hydroxide, the FOSS Protonmail Bridge alternative. There are no ports exposed, all communication is outwards. Communications to Proton servers use the Proton API. The service only receives events from Proton servers, and if the event is incoming mail, a notification is sent to a ntfy.sh server and topic of your choice. Other types of events are simply disregarded, and no other processing is done. The sent push event does not contain any detailed information.

EDIT: Starting from version v0.28.8-push7 the daemon supports HTTP basic auth for the push endpoint.

Disclaimer: I'm the author. All of the work is thanks to https://github.com/emersion/hydroxide, I've merely mutilized the great upstream project of most features for a single purpose. Issues, comments and pull requests are welcome!

you are viewing a single comment's thread
view the rest of the comments
[-] possiblylinux127 2 points 6 days ago

Can't you just use K-9 mail? Why is there a need for a dedicated Proton mail app

[-] [email protected] 1 points 1 day ago

Proton has pretty poor third party support

[-] [email protected] 1 points 1 day ago

It's because of the encryption, any encrypted email provider has this issue, it's not specific to Proton

[-] sunglocto 10 points 6 days ago

IMAP only works with paid accounts

[-] [email protected] 1 points 1 day ago

It only works through the Proton Mail Bridge application, which is only available for desktop. That's because Proton's end-to-end encryption makes it impossible to access your emails while they are on Proton's servers via IMAP. They would need to be decrypted on the server, but that would make the entire encryption pointless. The Proton Mail Bridge connects to the server, downloads the encrypted data, decrypts it locally on your PC and locally exposes an IMAP server, which contains your decrypted messages.

[-] [email protected] 3 points 5 days ago

It's E2EE therefore you can't just use an IMAP server that works with "plaintext" data.

[-] possiblylinux127 2 points 5 days ago

Email as a protocol doesn't really support E2EE as a protocol. However, IMAP supports several forms of SSL and SSL is required by most providers.

[-] [email protected] 1 points 1 day ago
[-] possiblylinux127 1 points 1 day ago

That's what I said

[-] [email protected] 1 points 5 days ago

Yes, plain text was more of an analogy

this post was submitted on 01 Jul 2024
139 points (96.6% liked)

Selfhosted

37809 readers
504 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS