mirror of
https://github.com/decke/smtprelay.git
synced 2026-04-25 04:45:52 +03:00
[PR #7] [MERGED] Allow email field to be empty in allowedUsers file #54
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#54
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/7
Author: @JonathonReinhart
Created: 2/9/2021
Status: ✅ Merged
Merged: 2/9/2021
Merged by: @decke
Base:
master← Head:allow-empty-auth-email📝 Commits (1)
f33105fAllow email field to be empty in allowedUsers file📊 Changes
3 files changed (+16 additions, -5 deletions)
View changed files
📝
auth.go(+14 -3)📝
main.go(+1 -1)📝
smtprelay.ini(+1 -1)📄 Description
I have a use case where I want to allow a client to send mail as more than just a single address, but still be required to login with username+password.
This PR allows the "email" field of the
allowedUsersfile (which was luckily the last field) to be missing. In this case, the check insenderCheckeris skipped.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.