mirror of
https://github.com/HaschekSolutions/opentrashmail.git
synced 2026-04-25 06:35:55 +03:00
[GH-ISSUE #88] mailserver not allowed to use port 25 #62
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentrashmail#62
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 @sir-andreas on GitHub (Jul 1, 2024).
Original GitHub issue: https://github.com/HaschekSolutions/opentrashmail/issues/88
When I start the server as docker I get the following error in the mailserver.log:
PermissionError: [Errno 13] error while attempting to bind on address ('0.0.0.0', 25): permission deniedPort 25 is free on the server and can be used by other docker containers without issues.
@boraxhacker commented on GitHub (Jun 1, 2025):
I got the same error (below). Looking at rootfs/start.sh and noticing nginx as a user which probably can't use lower ports, I set environment variable, MAILPORT, to a high port, 25025 and mapped outside port 25 to inside 25025.