New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/siebenmann/sinksmtp

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/siebenmann/sinksmtp

  • v0.0.0-20241018232325-9815405b7900
  • Source
  • Go
  • Socket score

Version published
Created
Source

Sinksmtp is a 'sink' SMTP server, one that talks SMTP and potentially captures incoming email, but doesn't do anything with any email it captures except log it to disk. The author uses it to capture incoming spam to what are now spamtrap addresses.

Sinksmtp supports TLS if configured, among other things.

Sinksmtp supports a number of ways to filter and select what incoming SMTP transactions can get as far as submitting messages and which ones are refused earlier. The author uses this to filter out uninteresting spam and spam sources in his spamtrap server.

See doc.go / godoc for the detailed documentation.

Sinksmtp uses my smtpd Go package[*] to handle the low level details of SMTP serving. It was previously part of the source repo for that package, as a usage example, but it has considerably outgrown being a simple usage example and has now moved into a separate repo.

There are some fancier packages that may be better alternatives to sinksmtp for things like accepting email for testing or as a logging mechanism for systems that don't have anything else. The ones that I know of are: https://github.com/mailhog/MailHog http://mailslurper.com/

A feature for both of these is a web interface that let you see and browse the received email messages. Sinksmtp just dumps any email into the filesystem, where it's up to you to monitor it and pull it out.

Chris Siebenmann

https://github.com/siebenmann/sinksmtp

Copyright: GPL v3

[*: https://github.com/siebenmann/smtpd ]

FAQs

Package last updated on 18 Oct 2024

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