{"id":17951729,"url":"https://github.com/drclau/gwmilter","last_synced_at":"2026-02-12T22:03:05.883Z","repository":{"id":250486760,"uuid":"776883490","full_name":"drclau/gwmilter","owner":"drclau","description":"email encryption gateway","archived":false,"fork":false,"pushed_at":"2026-02-06T18:18:45.000Z","size":174,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-07T01:54:20.982Z","etag":null,"topics":["cpp","cpp17","email","email-encryption","encryption","gnupg","gnupg2","mail","mail-encryption","pgp","privacy","privacy-focused","privacy-preserving","privacy-tools","smime"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drclau.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-24T17:53:58.000Z","updated_at":"2026-02-06T18:06:58.000Z","dependencies_parsed_at":"2024-07-27T20:04:34.328Z","dependency_job_id":"ea451f9f-1e76-4da6-a261-a895e9c50a19","html_url":"https://github.com/drclau/gwmilter","commit_stats":null,"previous_names":["drclau/gwmilter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drclau/gwmilter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drclau%2Fgwmilter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drclau%2Fgwmilter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drclau%2Fgwmilter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drclau%2Fgwmilter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drclau","download_url":"https://codeload.github.com/drclau/gwmilter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drclau%2Fgwmilter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29382878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T20:34:40.886Z","status":"ssl_error","status_checked_at":"2026-02-12T20:23:00.490Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cpp","cpp17","email","email-encryption","encryption","gnupg","gnupg2","mail","mail-encryption","pgp","privacy","privacy-focused","privacy-preserving","privacy-tools","smime"],"created_at":"2024-10-29T09:50:14.552Z","updated_at":"2026-02-12T22:03:05.871Z","avatar_url":"https://github.com/drclau.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gwmilter\n\n`gwmilter` is an email encryption gateway, designed to be deployed in front of an email server.\nA typical deployment will consist of a combination of an MTA with milter support, and `gwmilter` running on the same or separate nodes.\nIt has been created circa 2014, and has been modernized and released as open-source in 2024.\n\nIt uses [Milter API](https://en.wikipedia.org/wiki/Milter) to integrate with MTAs, such as [Postfix](https://www.postfix.org) and [sendmail](https://en.wikipedia.org/wiki/Sendmail).\nIt supports multiple encryption protocols:\n* [PGP](https://en.wikipedia.org/wiki/Pretty_Good_Privacy)\n* [S/MIME](https://en.wikipedia.org/wiki/S/MIME)\n* PDF encryption\n\nPGP and S/MIME support relies on a local installation of [GnuPG](https://gnupg.org) for keys management.\n\n\u003e **NOTE:** `gwmilter` only handles the encryption of emails. For decrypting the emails, you need to have the private keys and an email client that supports PGP or S/MIME, depending on your case.\n\u003e \u003cbr\u003eFor PDFs, you will need to know the configured password and have a PDF viewer that supports encryption.\u003cbr\u003e\u003cbr\u003e\n\u003e **IMPORTANT:**\n\u003e - for increased security, it is recommended that only the public part of the keys is stored for `gwmilter` to use.\n\u003e - losing your private keys will result in the incapacity of decrypting your emails. Be sure to back up your keys.\n\n## Getting Started\n\n- Build and run: see [`DEV_GUIDE.md`](DEV_GUIDE.md).\n- Integration environment (Docker Compose): see [`integrations/README.md`](integrations/README.md).\n- Automated end-to-end tests: see [`tests/README.md`](tests/README.md).\n\n## How to use\n\n`gwmilter` uses a simple INI configuration file, comprised of a mandatory and reserved `[general]` section, and an unlimited number of encryption specification sections. The path to the INI file is specified with `-c` parameter (e.g. `./gwmilter -c config.ini`).\n\nThe `[general]` section contains options pertaining to how `gwmilter` interacts with the system and the MTA.\n\nThe encryption specification sections can have arbitrary names (e.g. `[pgp_example.com]`), \nand specify to which recipients they will apply (`match`), \nan encryption protocol (`encryption_protocol`) and protocol specific options.\nA recipient is matched against each section's `match` setting.\nThe first section to match a recipient dictates how the email will be processed for that recipient.\nIf an email contains recipients that match multiple encryption sections \n(e.g. `rcpt_one@example.com` matches `[pgp_example.com]`, `rcpt_two@example.com` matches `[smime_example.com]`), \nthe original email is encrypted using the settings from the first matching section and the email is altered before returning it to the MTA. \nHowever, a copy of the original email is made for each subsequent matching section, \nand each copy is processed according to the matching section's settings. \nThese emails are then re-injected over SMTP into the MTA.\nThe recipients that do not match any section are dropped.\n\nSee [`config.ini`](https://github.com/drclau/gwmilter/blob/main/config.ini) and [`integrations/gwmilter/config.ini.template`](https://github.com/drclau/gwmilter/blob/main/integrations/gwmilter/config.ini.template) for more details.\n\n# Authors\n\n* Claudiu Dragalina-Paraipan ([drclau](https://github.com/drclau))","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrclau%2Fgwmilter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrclau%2Fgwmilter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrclau%2Fgwmilter/lists"}