{"id":37807549,"url":"https://github.com/tuck1s/go-smtpproxy","last_synced_at":"2026-01-16T15:31:22.858Z","repository":{"id":57505369,"uuid":"204681317","full_name":"tuck1s/go-smtpproxy","owner":"tuck1s","description":"Go package for transparent SMTP proxying, based on https://github.com/emersion/go-smtp","archived":false,"fork":false,"pushed_at":"2020-03-20T20:42:55.000Z","size":3064,"stargazers_count":13,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T15:03:19.198Z","etag":null,"topics":["golang","proxy","smtp","smtp-client","smtp-server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tuck1s.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}},"created_at":"2019-08-27T10:42:23.000Z","updated_at":"2024-04-12T09:38:37.000Z","dependencies_parsed_at":"2022-09-26T17:51:42.231Z","dependency_job_id":null,"html_url":"https://github.com/tuck1s/go-smtpproxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tuck1s/go-smtpproxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuck1s%2Fgo-smtpproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuck1s%2Fgo-smtpproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuck1s%2Fgo-smtpproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuck1s%2Fgo-smtpproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuck1s","download_url":"https://codeload.github.com/tuck1s/go-smtpproxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuck1s%2Fgo-smtpproxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["golang","proxy","smtp","smtp-client","smtp-server"],"created_at":"2026-01-16T15:31:22.739Z","updated_at":"2026-01-16T15:31:22.817Z","avatar_url":"https://github.com/tuck1s.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-smtpproxy\n\n[![Build Status](https://travis-ci.org/tuck1s/go-smtpproxy.svg?branch=master)](https://travis-ci.org/tuck1s/go-smtpproxy)\n[![Coverage Status](https://coveralls.io/repos/github/tuck1s/go-smtpproxy/badge.svg?branch=master)](https://coveralls.io/github/tuck1s/go-smtpproxy?branch=master)\n\nGo package, based heavily on [emersion's go-gmtp](https://github.com/emersion/go-smtp), with increased transparency of response codes and no sasl dependency.\nThe purpose of this is to provide functions that act as a server to receive SMTP messages from your downstream client. These SMTP messages are relayed through to\nan upstream server.\n\nThe command / response exchanges are passed on transparently.\n\nSTARTTLS can be offered to the downstream client if you configure a valid certificate/key pair.\n\nSTARTTLS can be requested from the upstream server.\n\n[Line splitting](linesplitter.go) functions are included for base64 encoded email handling by your app.\n\nGet this project with `go get github.com/tuck1s/go-smtpproxy`.\n\n`cmd/proxy` contains an example command-line app using this library:\n\n```bash\ncd cmd/proxy\ngo build\n./proxy -h\n\nSMTP proxy that accepts incoming messages from your downstream client, and relays on to an upstream server.\nUsage of ./proxy:\n  -certfile string\n        Certificate file for this server\n  -downstream_debug string\n        File to write downstream server SMTP conversation for debugging\n  -in_hostport string\n        Port number to serve incoming SMTP requests (default \"localhost:587\")\n  -insecure_skip_verify\n        Skip check of peer cert on upstream side\n  -logfile string\n        File written with message logs (also to stdout)\n  -out_hostport string\n        host:port for onward routing of SMTP requests (default \"smtp.sparkpostmail.com:587\")\n  -privkeyfile string\n        Private key file for this server\n  -verbose\n        print out lots of messages\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuck1s%2Fgo-smtpproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuck1s%2Fgo-smtpproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuck1s%2Fgo-smtpproxy/lists"}