mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 08:45:54 +03:00
[GH-ISSUE #77] MP_SMTP_AUTH_ALLOW_INSECURE can not be configured via env variable #49
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#49
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 @IgnisDa on GitHub (Mar 31, 2023).
Original GitHub issue: https://github.com/axllent/mailpit/issues/77
I set
MP_SMTP_AUTH_ALLOW_INSECURE = 1in my environment.I get this error.
I think it means that the enviroment variable is not being recognized.
Same applies to the
MP_SMTP_AUTH_ACCEPT_ANYvariable.@axllent commented on GitHub (Mar 31, 2023):
Can you please cop & paste the exact command you are running to start Mailpit, including trying to set the environment?
@IgnisDa commented on GitHub (Apr 1, 2023):
I have this in my
docker-compose.yml.I have not exposed port
1025because I am using docker internal networking to communicate with it.@IgnisDa commented on GitHub (Apr 1, 2023):
Looking at:
github.com/axllent/mailpit@321c181a9c/cmd/root.go (L241-L248)It should be working fine. I wonder why it does not.
@axllent commented on GitHub (Apr 1, 2023):
I would say because you are using
'in your yaml config, so the value is seen literally as'1'instead of1. From memory you can only use""or none at all. Try:or
@IgnisDa commented on GitHub (Apr 1, 2023):
Tried both, did not work.
@axllent commented on GitHub (Apr 1, 2023):
You are absolutely correct, these flags weren't being recognised, my apologies. I found the bug and have just released v1.5.3 which will fix it for you. The latest docker image has been updated, so make sure to pull the latest (
docker pull axllent/mailpit)@IgnisDa commented on GitHub (Apr 1, 2023):
Thanks!