{"id":13581446,"url":"https://github.com/mback2k/smtp-dkim-signer","last_synced_at":"2025-03-23T20:31:25.112Z","repository":{"id":48604097,"uuid":"161823739","full_name":"mback2k/smtp-dkim-signer","owner":"mback2k","description":"SMTP-proxy that DKIM-signs e-mails before submission to an upstream SMTP-server.","archived":false,"fork":false,"pushed_at":"2023-07-24T19:40:07.000Z","size":123,"stargazers_count":37,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T00:55:38.821Z","etag":null,"topics":["dkim","golang-application","smtp","smtp-server"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mback2k.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}},"created_at":"2018-12-14T18:13:18.000Z","updated_at":"2024-08-17T13:50:16.000Z","dependencies_parsed_at":"2024-01-16T20:36:25.479Z","dependency_job_id":"74c00a83-0abb-4b70-9c09-7ce3091bbaeb","html_url":"https://github.com/mback2k/smtp-dkim-signer","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mback2k%2Fsmtp-dkim-signer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mback2k%2Fsmtp-dkim-signer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mback2k%2Fsmtp-dkim-signer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mback2k%2Fsmtp-dkim-signer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mback2k","download_url":"https://codeload.github.com/mback2k/smtp-dkim-signer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245164977,"owners_count":20571219,"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":["dkim","golang-application","smtp","smtp-server"],"created_at":"2024-08-01T15:02:02.011Z","updated_at":"2025-03-23T20:31:24.782Z","avatar_url":"https://github.com/mback2k.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"smtp-dkim-signer\n================\nThis Go program is a SMTP-proxy that DKIM-signs e-mails\nbefore submission to an upstream SMTP-server.\n\n[![Build Status](https://travis-ci.org/mback2k/smtp-dkim-signer.svg?branch=master)](https://travis-ci.org/mback2k/smtp-dkim-signer)\n[![GoDoc](https://godoc.org/github.com/mback2k/smtp-dkim-signer?status.svg)](https://godoc.org/github.com/mback2k/smtp-dkim-signer)\n[![Go Report Card](https://goreportcard.com/badge/github.com/mback2k/smtp-dkim-signer)](https://goreportcard.com/report/github.com/mback2k/smtp-dkim-signer)\n\nDependencies\n------------\nSpecial thanks to [@emersion](https://github.com/emersion) for creating and providing\nthe following Go libraries that are the main building blocks of this program:\n\n- https://github.com/emersion/go-smtp\n- https://github.com/emersion/go-smtp-proxy\n- https://github.com/emersion/go-dkim\n\nAdditional dependencies are the following awesome Go libraries:\n\n- https://github.com/mholt/certmagic\n- https://github.com/spf13/viper\n\nInstallation\n------------\nYou basically have two options to install this Go program package:\n\n1. If you have Go installed and configured on your PATH, just do the following go get inside your GOPATH to get the latest version:\n\n```\ngo get -u github.com/mback2k/smtp-dkim-signer\n```\n\n2. If you do not have Go installed and just want to use a released binary,\nthen you can just go ahead and download a pre-compiled Linux amd64 binary from the [Github releases](https://github.com/mback2k/smtp-dkim-signer/releases).\n\nFinally put the smtp-dkim-signer binary onto your PATH and make sure it is executable.\n\nConfiguration\n-------------\nThe following YAML file is an example configuration with one virtual host:\n\n```\nAddress: \"localhost:25\"\nDomain: \"localhost\"\nLetsEncrypt:\n  Agreed: true\n  Contact: your-name@your-domain.tld\n  Challenge: http\n  ChallengePort: 80\nVirtualHosts:\n  - Domain: your-domain.tld\n    Upstream: \"your-upstream-smtp:465\"\n    Selector: \"your-dkim-selector\"\n    PrivKeyPath: \"your-private-key-file\" OR |\n      your-private-key-data\n    HeaderCan: \"relaxed\"\n    BodyCan: \"simple\"\nHeaderKeys:\n  - \"From\"\n  - \"Reply-To\"\n  - \"Subject\"\n  - \"Date\"\n  - \"To\"\n  - \"Cc\"\n  - \"In-Reply-To\"\n  - \"References\"\n  - \"Message-ID\"\n  - \"Resent-Date\"\n  - \"Resent-From\"\n  - \"Resent-To\"\n  - \"Resent-Cc\"\n# optional:\nRollbar:\n  AccessToken: \"your-rollbar-access-token\"\n  Environment: production\n```\n\nSave this file in one of the following locations and run `./smtp-dkim-signer`:\n\n- /etc/smtp-dkim-signer/smtp-dkim-signer.yaml\n- $HOME/.smtp-dkim-signer.yaml\n- $PWD/smtp-dkim-signer.yaml\n\nLicense\n-------\nCopyright (C) 2018 - 2020, Marc Hoersken \u003cinfo@marc-hoersken.de\u003e\n\nThis software is licensed as described in the file LICENSE, which\nyou should have received as part of this software distribution.\n\nAll trademarks are the property of their respective owners.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmback2k%2Fsmtp-dkim-signer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmback2k%2Fsmtp-dkim-signer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmback2k%2Fsmtp-dkim-signer/lists"}