- Accepting incoming email as SMTP Server, and send it with HTTP (or Webhook).
- For Synology NAS email notification redirect currently.
- More incoming & output options in the future.
docker run --name=anypush --restart=unless-stopped -e WEBHOOK_URL=https://example.com/api -p 0.0.0.0:587:587 stonemoe/anypush:tag_name
Check stable release tags in Release page
Check all available tags in DockerHub repository
$ telnet localhost 587
Trying localhost...
Connected to localhost.
Escape character is '^]'.
220 anypush Python SMTP proxy version 0.3
HELO localhost
250 anypush
mail from: sender@example.com
250 OK
rcpt to: to@example.com
250 OK
data
354 End data with <CR><LF>.<CR><LF>
Hey
This is test email
250 OK
QUIT
221 Bye
Then AnyPush will:
POST https://example.com/api with JSON:
{
"from": "sender@example.com",
"to": ["to@example.com"],
"subject": "mail subject",
"text": "mail content here"
}
This project is still under heavily development.
You may encounter issues including:
- Breaking API compatibility between commits
- Trash hard-code
- Crash in some case