[GH-ISSUE #40] Change ports? #34

Closed
opened 2026-03-15 12:13:36 +03:00 by kerem · 1 comment
Owner

Originally created by @trymeouteh on GitHub (Feb 17, 2023).
Original GitHub issue: https://github.com/axllent/mailpit/issues/40

Is there a way to change the port numbers for SMTP and the HTTP server?

Originally created by @trymeouteh on GitHub (Feb 17, 2023). Original GitHub issue: https://github.com/axllent/mailpit/issues/40 Is there a way to change the port numbers for SMTP and the HTTP server?
kerem closed this issue 2026-03-15 12:13:41 +03:00
Author
Owner

@axllent commented on GitHub (Feb 17, 2023):

Yes there is, eg mailpit --smtp 0.0.0.0:1025 --listen 0.0.0.0:8025 (those are the default values, but you can change them). Please note that if you are running it as a non-root user then you cannot listen on ports lower than 1024 on Linux/Mac (I don't know about Windows).

Please see https://github.com/axllent/mailpit/wiki/Runtime-options

<!-- gh-comment-id:1435276945 --> @axllent commented on GitHub (Feb 17, 2023): Yes there is, eg `mailpit --smtp 0.0.0.0:1025 --listen 0.0.0.0:8025` (those are the default values, but you can change them). Please note that if you are running it as a non-root user then you cannot listen on ports lower than 1024 on Linux/Mac (I don't know about Windows). Please see https://github.com/axllent/mailpit/wiki/Runtime-options
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#34
No description provided.