1
0
mirror of https://github.com/chylex/SMTP-Relay.git synced 2025-04-09 17:15:49 +02:00
Simple multi-account SMTP relay.
Go to file
dependabot[bot] b32b5690bf
Bump actions/setup-go from 2.1.4 to 2.1.5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2.1.4...v2.1.5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-22 10:08:04 +00:00
.github Bump actions/setup-go from 2.1.4 to 2.1.5 2021-12-22 10:08:04 +00:00
cmd hasher: Check number of arguments 2021-02-15 00:18:15 -05:00
auth_test.go gofmt: Fix formatting 2021-02-16 15:57:50 +00:00
auth.go gofmt: Fix formatting 2021-02-16 15:57:50 +00:00
config_test.go Fix code formatting with gofmt -s 2021-04-03 19:00:38 +00:00
config.go feat: Add support for ignoring certs 2021-12-09 21:38:38 +01:00
go.mod Bump chrj/smtpd from 0.3.0 to 0.3.1 2021-11-22 07:53:43 +01:00
go.sum Bump chrj/smtpd from 0.3.0 to 0.3.1 2021-11-22 07:53:43 +01:00
LICENSE Update MIT license template 2018-12-08 21:16:10 +00:00
logger.go Fix code formatting with gofmt -s 2021-04-03 19:00:38 +00:00
main_test.go gofmt: Fix formatting 2021-02-16 15:57:50 +00:00
main.go Move AddReceivedLine before further processing. 2021-05-08 11:56:28 -07:00
README.md Add Go Report Card badge 2020-05-11 13:56:24 +00:00
smtp.go feat: Add support for ignoring certs 2021-12-09 21:38:38 +01:00
smtprelay.ini feat: Add support for ignoring certs 2021-12-09 21:38:38 +01:00

smtprelay

Go Report Card

Simple Golang based SMTP relay/proxy server that accepts mail via SMTP and forwards it directly to another SMTP server.

Why another SMTP server?

Outgoing mails are usually send via SMTP to an MTA (Mail Transfer Agent) which is one of Postfix, Exim, Sendmail or OpenSMTPD on UNIX/Linux in most cases. You really don't want to setup and maintain any of those full blown kitchensinks yourself because they are complex, fragile and hard to configure.

My use case is simple. I need to send automatically generated mails from cron via msmtp/sSMTP/dma, mails from various services and network printers to GMail without giving away my GMail credentials to each device which produces mail.

Main features

  • Supports SMTPS/TLS (465), STARTTLS (587) and unencrypted SMTP (25)
  • Checks for sender, receiver, client IP
  • Authentication support with file (LOGIN, PLAIN)
  • Enforce encryption for authentication
  • Forwards all mail to a smarthost (GMail, MailGun or any other SMTP server)
  • Small codebase
  • IPv6 support