https://github.com/hardhackerlabs/lite-smtp-proxy
A lite smtp proxy that can be used to proxy SES.
https://github.com/hardhackerlabs/lite-smtp-proxy
Last synced: 9 months ago
JSON representation
A lite smtp proxy that can be used to proxy SES.
- Host: GitHub
- URL: https://github.com/hardhackerlabs/lite-smtp-proxy
- Owner: hardhackerlabs
- License: apache-2.0
- Created: 2023-08-05T13:10:37.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-15T01:25:10.000Z (almost 3 years ago)
- Last Synced: 2025-08-18T10:30:47.659Z (11 months ago)
- Language: Go
- Size: 10.7 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lite-smtp-proxy
A lite smtp proxy that can be used to proxy SES.
## Build
`
make
`
## Setup
`SMTP_PROXY_UPSTREAM` is an environment variable that must be configured, and its value is the address of the destination mail server that needs to be forwarded.
```
SMTP_PROXY_UPSTREAM={ses}:587
```
If you need to use TLS to encrypt the network connection between the client and the proxy, then you need to provide a valid certificate.
```
SMTP_PROXY_CERT={path}/cert.pem
SMTP_PROXY_KEY={path}/key.pem
```
Use the `SMTP_PROXY_PORT` environment variable to set the listening port of the proxy server.
```
SMTP_PROXY_PORT=587
```
## Run
```
nohup lite-smtp-proxy > output.log 2>&1 &
```