Socket
Socket
Sign inDemoInstall

levelmail

Package Overview
Dependencies
234
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    levelmail

Mail server upon leveldb


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

node-levelmail

Node mail server upon leveldb (for test only).

Receive and show all mail to any account @ your domain.

TODO

webhook.

Set up your mail DNS

For example, your domain is "myvps.xx", you should add MX record for "myvps.xx".

Install

Login "myvps.xx" and install levelmail on your server.

npm install -g levelmail

Run

LEVELDB_PATH=/path/to/leveldata LOG_FILE=/path/to/logfile PORT=3000 levelmail

Should run as root to listen at SMTP port 25.

Open "http://myvps.xx:3000/"

Now, you can send mail to anyaccount@myvps.xx from any other mail service.

Refreash "http://myvps.xx:3000/", you received the mail.

LDB API

curl -d 'key=foo&value=helloworld' 'localhost:3000/put?key=foo'
curl 'localhost:3000/get?key=foo'
curl 'localhost:3000/ldb/get?key=foo&type=base64'
cat /path/to/test.png | curl --data-binary @- 'localhost:3000/ldb/put?key=test.png'
curl 'localhost:3000/ldb/get?key=test.png&type=png'
cat /path/to/test.png | curl --data-binary @- 'localhost:3000/ldb/put?key=test.png&type=png'
curl 'localhost:3000/ldb/get?key=test.png&type=plain'

Keywords

FAQs

Last updated on 31 Dec 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc