mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 08:45:54 +03:00
[GH-ISSUE #212] Allow using privileged (<1024) port for Docker image #143
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#143
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 @nevergone on GitHub (Nov 27, 2023).
Original GitHub issue: https://github.com/axllent/mailpit/issues/212
Please Allow using privileged (<1024) TCP port. For example, UI: 80 and SMTP: 25
neccessary:
libpcap and
setcap CAP_NET_BIND_SERVICE=+eipto binary result@nevergone commented on GitHub (Nov 27, 2023):
Ok, it's working. Sorry.
@axllent commented on GitHub (Nov 28, 2023):
Glad to hear it. Mailpit can run with those ports if run as root. There isn't currently any support for running as a non-privileged user below 1024, however if running within docker then this can be easily mapped (or run as root).