Simple Golang SMTP relay/proxy server
Topics
#golang #proxy-server #smtp-server #smtp-relay #ssl #load-balancer
|
2 giorni fa | |
---|---|---|
.github | 2 giorni fa | |
LICENSE | 6 anni fa | |
README.md | 5 mesi fa | |
SECURITY.md | 5 mesi fa | |
auth.go | 4 anni fa | |
auth_test.go | 4 anni fa | |
config.go | 2 anni fa | |
config_test.go | 4 anni fa | |
go.mod | 2 settimane fa | |
go.sum | 2 settimane fa | |
logger.go | 4 anni fa | |
main.go | 2 mesi fa | |
main_test.go | 4 anni fa | |
remotes.go | 2 anni fa | |
remotes_test.go | 3 anni fa | |
smtp.go | 1 mese fa | |
smtprelay.ini | 1 mese fa |
Simple Golang based SMTP relay/proxy server that accepts mail via SMTP and forwards it directly to 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 via a remote SMTP server without giving away my mail credentials to each device which produces mail.