Skip to content

jellytera/hyposter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyposter

HTTP/SMTP transfer agent.

It has only 1.8 MB size without clap and 2.3MB size with clap built.

Usage

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.

Client

HTTP Status Meaning
400 Missing necessary headers.
401 Authorization pass is bad.
500 Delivery failed.

Send mail

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/

About

HTTP/SMTP transfer agent. Works with your Postfix server.

Topics

Resources

License

Stars

Watchers

Forks

Contributors