-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -4,6 +4,24 @@ This is a very simple web & SMTP server which will response to all requests sent | |
|
||
## Usage | ||
|
||
Start the server with the following: | ||
|
||
``` | ||
blackhole | ||
docker run --pull always \ | ||
-p 80:8080 \ | ||
-p 25:2525 \ | ||
ghcr.io/postalserver/blackhole:latest | ||
``` | ||
|
||
### SMTP | ||
|
||
You can send email to `[email protected]` which will be accepted. Any other username will be blocked at the `RCPT TO` stage. | ||
|
||
### HTTP | ||
|
||
The following URLs are available. | ||
|
||
* `/200` - returns a 200 OK | ||
* `/403` - returns a 403 Forbidden | ||
* `/500` - returns a 500 Internal Server Error | ||
* All other URLs will return a 404 Not Found |