mirror of
https://github.com/decke/smtprelay.git
synced 2026-04-25 12:55:54 +03:00
[GH-ISSUE #26] Issue warning if configured to require authentication but not TLS #9
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#9
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?
Originally created by @JonathonReinhart on GitHub (Mar 31, 2021).
Original GitHub issue: https://github.com/decke/smtprelay/issues/26
smtpdonly allows authentication if the session is operating with TLS:This is probably a safe requirement.
However, the following configuration will never work:
If authentication is required (
-allowed_users), then a-listenw/otls://orstarttls://should be forbidden.@decke commented on GitHub (Mar 31, 2021):
Yeah that is true and it is to avoid sending authentication credentials over an unencrypted channel. So this combination does not make sense and we should make a small note in the config text that allowedUsers requires encrypted channel and error out early if this combination is used.