{"id":13552557,"url":"https://github.com/sdelafond/docker-protonmail-bridge","last_synced_at":"2025-06-24T15:32:18.466Z","repository":{"id":49269084,"uuid":"192913061","full_name":"sdelafond/docker-protonmail-bridge","owner":"sdelafond","description":"Run ProtonMail Bridge in a docker container","archived":false,"fork":false,"pushed_at":"2023-07-17T12:46:36.000Z","size":14,"stargazers_count":39,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-24T20:42:33.702Z","etag":null,"topics":["docker","docker-compose","imap","imap-server","protonmail","protonmail-bridge","smtp","smtp-server"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sdelafond.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-06-20T12:06:52.000Z","updated_at":"2024-06-21T00:07:27.000Z","dependencies_parsed_at":"2024-03-16T23:56:30.857Z","dependency_job_id":"48485f1f-8344-443c-ac3d-94a8cc724ddf","html_url":"https://github.com/sdelafond/docker-protonmail-bridge","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sdelafond/docker-protonmail-bridge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdelafond%2Fdocker-protonmail-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdelafond%2Fdocker-protonmail-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdelafond%2Fdocker-protonmail-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdelafond%2Fdocker-protonmail-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdelafond","download_url":"https://codeload.github.com/sdelafond/docker-protonmail-bridge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdelafond%2Fdocker-protonmail-bridge/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261703170,"owners_count":23196911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","imap","imap-server","protonmail","protonmail-bridge","smtp","smtp-server"],"created_at":"2024-08-01T12:02:06.035Z","updated_at":"2025-06-24T15:32:18.441Z","avatar_url":"https://github.com/sdelafond.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"Run ProtonMail Bridge in a docker container\n\nUsage\n=====\n\nStarting the service\n--------------------\n\n1. get the Debian package for the bridge from ProtonMail, and save it in\n   the current directory\n\n2. create your env file from the default one\n```\ncp default-env .env\n```\n\n3. edit .env to add your ProtonMail credentials; you can leave out\n   PROTONMAIL_EXTRA_2FA blank: since that value depends on time, you'll\n   instead want to specify it when running the service\n\n4. start the service\n```\nPROTONMAIL_EXTRA_2FA=\u003ccode\u003e docker-compose up\n```\n\nConfiguring your email client\n-----------------------------\n\nFor credentials, use the \"Username: \u003clogin\u003e\" and \"Password: \u003cpasswd\u003e\"\nthat the service prints when it start.\n\nThe URL for the IMAP service is `localhost:2143`, and the SMTP one is\n`localhost:2025`.\n\nClient compatibility\n--------------------\n\nThe ProtonMail Bridge officially supports Thunderbird only, but using\nofflineimap or fetchmail works just fine. Here's an example\n.fetchmailrc:\n\n```\nset daemon 15\n\ndefaults\n  fetchall\n#  keep\n\npoll 127.0.0.1 service 2143 with protocol imap auth password\n  user \u003clogin\u003e there is seb here\n  password \u003cpasswd\u003e\n```\n\nSSL certificates\n================\n\nSMTP\n----\n\nFull certificate information:\n```\necho | openssl s_client -connect localhost:2025 -starttls smtp | openssl x509 -noout -text\n```\n\nFingerprints:\n```\necho | openssl s_client -connect localhost:2025 -starttls smtp | openssl x509 -noout -fingerprint -md5\necho | openssl s_client -connect localhost:2025 -starttls smtp | openssl x509 -noout -fingerprint -sha1\necho | openssl s_client -connect localhost:2025 -starttls smtp | openssl x509 -noout -fingerprint -sha256\n[...]\n```\n\nIMAP\n----\n\nFull certificate information:\n```\necho | openssl s_client -connect localhost:2143 -starttls imap | openssl x509 -noout -text\n```\n\nFingerprints:\n```\necho | openssl s_client -connect localhost:2143 -starttls imap | openssl x509 -noout -fingerprint -md5\necho | openssl s_client -connect localhost:2143 -starttls imap | openssl x509 -noout -fingerprint -sha1\necho | openssl s_client -connect localhost:2143 -starttls imap | openssl x509 -noout -fingerprint -sha256\n[...]\n```\n\n\nCredits\n=======\n\nThanks to Hendrik Meyer for socat+setcap workaround described at\nhttps://gitlab.com/T4cC0re/protonmail-bridge-docker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdelafond%2Fdocker-protonmail-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdelafond%2Fdocker-protonmail-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdelafond%2Fdocker-protonmail-bridge/lists"}