[PR #63] [MERGED] Allow config to have multiple remotes. #95

Closed
opened 2026-02-26 18:33:19 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/decke/smtprelay/pull/63
Author: @markgardner
Created: 2/28/2022
Status: Merged
Merged: 4/24/2022
Merged by: @decke

Base: masterHead: master


📝 Commits (5)

  • 4221919 Allow config to have multiple remotes.
  • cf92750 Improve sample config to be more accurate
  • b7f3701 Add missing default port for starttls and validate scheme to ensure support
  • 32d0206 throw an error if the remote is configured for starttls and the server does not have the extension
  • 8752648 add test coverage for scheme validation

📊 Changes

8 files changed (+275 additions, -112 deletions)

View changed files

📝 config.go (+16 -49)
📝 go.mod (+1 -0)
📝 go.sum (+7 -0)
📝 main.go (+26 -37)
remotes.go (+84 -0)
remotes_test.go (+114 -0)
📝 smtp.go (+17 -14)
📝 smtprelay.ini (+10 -12)

📄 Description

This will enable development teams to test emails from a system like mailcatcher while also having the email delivered to the indented mailbox.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/decke/smtprelay/pull/63 **Author:** [@markgardner](https://github.com/markgardner) **Created:** 2/28/2022 **Status:** ✅ Merged **Merged:** 4/24/2022 **Merged by:** [@decke](https://github.com/decke) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (5) - [`4221919`](https://github.com/decke/smtprelay/commit/422191968956a6a41b4d821f0ecfde589f651c11) Allow config to have multiple remotes. - [`cf92750`](https://github.com/decke/smtprelay/commit/cf927508dd514474cd558927583620500fe20cfd) Improve sample config to be more accurate - [`b7f3701`](https://github.com/decke/smtprelay/commit/b7f3701502009fb5c82338e7555a8d943715ac44) Add missing default port for starttls and validate scheme to ensure support - [`32d0206`](https://github.com/decke/smtprelay/commit/32d0206af0e752d7d68db460ca9e089af15dc59a) throw an error if the remote is configured for starttls and the server does not have the extension - [`8752648`](https://github.com/decke/smtprelay/commit/875264837ee8d1a807d96f4e12c881e46f292798) add test coverage for scheme validation ### 📊 Changes **8 files changed** (+275 additions, -112 deletions) <details> <summary>View changed files</summary> 📝 `config.go` (+16 -49) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+7 -0) 📝 `main.go` (+26 -37) ➕ `remotes.go` (+84 -0) ➕ `remotes_test.go` (+114 -0) 📝 `smtp.go` (+17 -14) 📝 `smtprelay.ini` (+10 -12) </details> ### 📄 Description This will enable development teams to test emails from a system like mailcatcher while also having the email delivered to the indented mailbox. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:33:19 +03:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/smtprelay#95
No description provided.