mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 00:35:51 +03:00
[GH-ISSUE #145] Can't connect unauthenticated #97
Labels
No labels
awaiting feedback
bug
docker
documentation
enhancement
github_actions
invalid
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mailpit#97
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 @rubencallewaert on GitHub (Jul 18, 2023).
Original GitHub issue: https://github.com/axllent/mailpit/issues/145
Hi,
We are trying to run mailpit in a container unauthenticated so that we can connect without having to provide any authentication info.
We set the following env variables:
But still get errors like these from the client:
'Mail command failed: 550 Unauthenticated senders not allowed'
When providing no authentication information, any ideas?
@axllent commented on GitHub (Jul 18, 2023):
This should be working. Using the combination of
MP_SMTP_AUTH_ACCEPT_ANY&MP_SMTP_AUTH_ALLOW_INSECUREshould do what you are expecting - effectively allow any connection whether it is authenticated or not. What doesdocker logs <your-container-name>report? You should see something like:@rubencallewaert commented on GitHub (Jul 18, 2023):
You are correct and there was a subtle misconfiguration on the the client that caused the issue. Mailpit works as expected. Apologies for the redundant report.
@axllent commented on GitHub (Jul 18, 2023):
Excellent, thanks for the confirmation 👍