Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

haraka-plugin-queue-s3

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

haraka-plugin-queue-s3

A Haraka plugin that stores messages in a s3 bucket.

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by400%
Maintainers
1
Weekly downloads
 
Created
Source

haraka-plugin-queue-s3

build License: MIT npm

A Haraka plugin that stores messages in a S3 bucket.

Messages are stored in S3 using the Haraka transaction uuid as the key.

The following custom S3 metadata headers are stored with the message in S3:

  • x-amz-meta-rcpts: A comma-separated list of the recipient addresses for which Haraka accepted the message.
  • x-amz-meta-content-md5: A MD5 hash of the message. Sometimes, but not always, redundant with the S3 ETag.

Install

  • add this plugin as a dependency of your haraka project (ie. using npm or yarn)
  • add queue-s3 to your haraka project's config/plugins

Configure

There is one required configuration item which can be set by creating a one-line file in your haraka's config directory.

  • queue-s3.bucket-name: The name of the S3 bucket table to store messages in.

AWS Credentials are assumed to be provided out-of-band (ie. via environment variables, IAM role attached to EC2 instance, etc)

Changelog

v0.3

  • Upgrade to GA release of AWS SDK v3
  • Set content type of queued messages to message/rfc822

v0.2

  • Add x-amz-meta-content-md5 S3 custom header

v0.1

  • initial release

FAQs

Package last updated on 15 Jan 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc