HTTP/SMTP transfer agent.
It has only 1.8 MB size without clap and 2.3MB size with clap built.
Usage: hyposter --http-port <HTTP_PORT> --body-size <BODY_SIZE> --smtp-addr <SMTP_ADDR>
Options:
--http-port <HTTP_PORT> HTTP API listening port.
--body-size <BODY_SIZE> HTTP max body size.
--smtp-addr <SMTP_ADDR> Relay SMTP server address.
-h, --help Print help
-V, --version Print version
HTTP_PASS= hyposter --http-port 8025 --body-size 65536 --smtp-addr 10.10.10.101| HTTP Header => | SMTP Header |
|---|---|
From |
From |
To |
To |
Subject |
Subject |
Content-Type |
Content-Type |
| HTTP Header | Usage |
|---|---|
Authorization |
Matching $HTTP_PASS for ACL. |
If environment variable $HTTP_PASS is empty, header Authorization will be ignored.
| HTTP Status | Meaning |
|---|---|
400 |
Missing necessary headers. |
401 |
Authorization pass is bad. |
500 |
Delivery failed. |
curl -i -fsSL -H 'Authorization: ' -H 'From: send@source.net' -H 'To: recv@destination.net' -H 'Subject: Test' -H 'Content-Type: text/plain' -T - http://hyposter.host/