mirror of
https://github.com/decke/smtprelay.git
synced 2026-04-25 04:45:52 +03:00
[PR #27] [MERGED] Don't allow configuration requiring authentication with non-TLS listener #68
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#68
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/27
Author: @JonathonReinhart
Created: 4/1/2021
Status: ✅ Merged
Merged: 4/2/2021
Merged by: @decke
Base:
master← Head:26-tls-reqd-for-auth📝 Commits (3)
ca1ccd8Refactor parsing of -listen string out into separate config function45a676eAdd localAuthRequired() helper function247d187Don't allow a configuration requiring auth with a non-TLS listener📊 Changes
3 files changed (+106 additions, -26 deletions)
View changed files
📝
config.go(+42 -2)➕
config_test.go(+44 -0)📝
main.go(+20 -24)📄 Description
This fixes #26.
Now if someone tries to run
smtprelaywith-allowed_usersand any non-TLS address in-listen, it will fail right away:🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.