mirror of
https://github.com/decke/smtprelay.git
synced 2026-04-25 12:55:54 +03:00
[PR #63] [MERGED] Allow config to have multiple remotes. #95
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/smtprelay#95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:master📝 Commits (5)
4221919Allow config to have multiple remotes.cf92750Improve sample config to be more accurateb7f3701Add missing default port for starttls and validate scheme to ensure support32d0206throw an error if the remote is configured for starttls and the server does not have the extension8752648add 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.