Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saulshanabrook/sendgrid-inbound-relay
HTTP to SMTP email relay for SendGrid inbound webhook
https://github.com/saulshanabrook/sendgrid-inbound-relay
Last synced: 7 days ago
JSON representation
HTTP to SMTP email relay for SendGrid inbound webhook
- Host: GitHub
- URL: https://github.com/saulshanabrook/sendgrid-inbound-relay
- Owner: saulshanabrook
- Created: 2023-08-18T20:58:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-27T18:08:41.000Z (about 1 year ago)
- Last Synced: 2023-09-28T04:53:24.320Z (about 1 year ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sendgrid Inbound Email Webhook to SMTP Relay
This repository contains a simple Python script that can be used to receive emails from Sendgrid's Inbound Parse Webhook and relay them to an SMTP server.
## Setup with Sengrid
Go to the ["Inbound Parse" settings in Sengrid](https://app.sendgrid.com/settings/parse) and add the location of this service for your domain.
## Usage
You can use this with Docker:```bash
docker run -e PORT 8080 -p 8080:8080 -e SMTP_HOST my-smtp.server ghcr.io/saulshanabrook/sendgrid-inbound-relay:main
```## Usage with discourse
Make a container for this with `nano containers/inbound-relay.yml`:
```yml
base_image: ghcr.io/saulshanabrook/sendgrid-inbound-relay:main
update_pups: falseexpose:
- "8080:8080"env:
PORT: "8080"
SMTP_HOST: forum.valleyhousing.coop
```