![]() ![]() Ref: StartLimitIntervalSec=500 StartLimitBurst=5 Type=simple Support auto restart, required version >= 230. Create Systemd Service FileĬreate a Systemd service file, /etc/systemd/system/rvice. NOTE: Whenever there are changes to the credential file, the Mailpit server must be restarted for the change to take effect. Sudo htpasswd -c /etc/mailpit/htpasswd bob123 For simplicity, I will use the same file for both. Web and SMTP can use separate credential files. Credentials are generated using htpasswd and stored in a file in any location. I recommend enabling authentication for both web and SMTP access. ![]() The web UI and API uses Basic Authentication, but it is optional. Checkout out the source code from and navigate to the root folder of the source code. The application is developed in Go and npm is also required to build the web UI. TIP: You can skip this step if you use the shell script for installation. Make sure the following software is installed:ĬentOS 9 ( it should work on versions 7 and 8) I prefer a manual setup, which involves building from source. If you prefer docker, there are instructions for that. It lacks configurations for Systemd and Apache web server. It just downloads the latest binary and copies it to /usr/local/bin/mailpit. Mailpit provides a shell script for installation. This is useful for testing applications in staging and development environments. ![]() Instead of sending emails to recipients, it captures and stores all emails for inspection via web UI. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |