-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update project configuration to use mailpit
- Loading branch information
1 parent
2ea9c89
commit c2bab27
Showing
3 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ POSTGRES_USER=jandig | |
POSTGRES_PASSWORD=secret | ||
|
||
# Email server variables | ||
SMTP_SERVER=smtp.gmail.com | ||
SMTP_PORT=587 | ||
SMTP_SERVER=mailpit | ||
SMTP_PORT=1025 | ||
[email protected] | ||
JANDIG_EMAIL_PASSWORD=local_password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Mailpit configuration: | ||
Reference: https://mailpit.axllent.org/docs/configuration/certificates/ | ||
|
||
The following command will generate a self-signed certificate and key (both needed for Mailpit) which is valid for 10 years: | ||
|
||
``` | ||
openssl req -x509 -newkey rsa:4096 \ | ||
-nodes -keyout mailpit_key.pem -out mailpit_cert.pem \ | ||
-sha256 -days 3650 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters