[GH-ISSUE #392] How to run it under Linux #257

Closed
opened 2026-03-15 13:28:54 +03:00 by kerem · 7 comments
Owner

Originally created by @szsyzx on GitHub (Nov 22, 2024).
Original GitHub issue: https://github.com/axllent/mailpit/issues/392

Install via bash script (Linux & Mac)
Linux & Mac users can install it directly to /usr/local/bin/mailpit with:

sudo bash < <(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh)

I've installed via this method, but I don't know how to run it

Originally created by @szsyzx on GitHub (Nov 22, 2024). Original GitHub issue: https://github.com/axllent/mailpit/issues/392 Install via bash script (Linux & Mac) Linux & Mac users can install it directly to /usr/local/bin/mailpit with: sudo bash < <(curl -sL https://raw.githubusercontent.com/axllent/mailpit/develop/install.sh) I've installed via this method, but I don't know how to run it
kerem 2026-03-15 13:28:54 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@axllent commented on GitHub (Nov 22, 2024):

To run mailpit without any options you then just type mailpit on the command line (and hit enter). To see a list of options, run mailpit -h.

<!-- gh-comment-id:2492811554 --> @axllent commented on GitHub (Nov 22, 2024): To run mailpit without any options you then just type `mailpit` on the command line (and hit enter). To see a list of options, run `mailpit -h`.
Author
Owner

@szsyzx commented on GitHub (Nov 22, 2024):

Thanks for the answer, I run ./mailpit and I can open the web interface normally, but I don't know how to send an email。

<!-- gh-comment-id:2492961963 --> @szsyzx commented on GitHub (Nov 22, 2024): Thanks for the answer, I run ./mailpit and I can open the web interface normally, but I don't know how to send an email。
Author
Owner

@axllent commented on GitHub (Nov 22, 2024):

I am not sure you understand what Mailpit is used for. Mailpit is not used for creating or sending emails, it is used to receive emails. Emails should be sent directly to Mailpit, and Mailpit will accept those emails and display them in the web interface. This is used to test whether the emails work, the contents of those emails are correct, etc. There is more information on how to set up an application to send emails to Mailpit on the website. I hope this helps you.

<!-- gh-comment-id:2493014116 --> @axllent commented on GitHub (Nov 22, 2024): I am not sure you understand what Mailpit is used for. Mailpit is not used for creating or sending emails, it is used to receive emails. Emails should be sent directly to Mailpit, and Mailpit will accept those emails and display them in the web interface. This is used to test whether the emails work, the contents of those emails are correct, etc. There is more information on how to set up an application to send emails to Mailpit on [the website](https://mailpit.axllent.org/). I hope this helps you.
Author
Owner

@szsyzx commented on GitHub (Nov 22, 2024):

What do I mean by this established email service, how to receive email, and what is its address? Where do I need to set it up? Boss, do you have a live chat tool? Let's consult!

<!-- gh-comment-id:2493026481 --> @szsyzx commented on GitHub (Nov 22, 2024): What do I mean by this established email service, how to receive email, and what is its address? Where do I need to set it up? Boss, do you have a live chat tool? Let's consult!
Author
Owner

@axllent commented on GitHub (Nov 22, 2024):

No sorry, I don't provide support over live chat. It is very difficult to provide any guidance when you have not provided me with any information about what application you are trying to send with. I assume you have read the website documentation, and if not then please do.

  1. Mailpit SMTPD listens by default on port 1025.
  2. You need to configure your application to send directly to this port. Some examples can be seen here.
  3. Your application needs to send an email
  4. You view it in Mailpit on port 8025 (web interface)

There really isn't much more to it. If you do not know how to set up your application to send to a specific port, then either provide me with more information, or refer to the documentation of your application.

<!-- gh-comment-id:2493328706 --> @axllent commented on GitHub (Nov 22, 2024): No sorry, I don't provide support over live chat. It is very difficult to provide any guidance when you have not provided me with any information about what application you are trying to send with. I assume you have read the website documentation, and if not then please do. 1. Mailpit SMTPD listens by default on port 1025. 2. You need to configure your application to send directly to this port. Some examples can be seen [here](https://mailpit.axllent.org/docs/install/sendmail/). 3. Your application needs to send an email 4. You view it in Mailpit on port 8025 (web interface) There really isn't much more to it. If you do not know how to set up your application to send to a specific port, then either provide me with more information, or refer to the documentation of your application.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 30, 2024):

This issue has been marked as stale because it has been open for 7 days with no activity.

<!-- gh-comment-id:2508784910 --> @github-actions[bot] commented on GitHub (Nov 30, 2024): This issue has been marked as stale because it has been open for 7 days with no activity.
Author
Owner

@github-actions[bot] commented on GitHub (Dec 3, 2024):

This issue was closed because there has been no activity since being marked as stale.

<!-- gh-comment-id:2513380947 --> @github-actions[bot] commented on GitHub (Dec 3, 2024): This issue was closed because there has been no activity since being marked as stale.
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#257
No description provided.