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

coins-mail-daemon

Package Overview
Dependencies
Maintainers
6
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coins-mail-daemon

Mail sending daemon using coins-mail

  • 4.2.2-1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

coins-mail-daemon

On start coins-mail-daemon fetches all unsent messages from the mrsdba.mrs_mail table and queues timeouts internally to send each email based on the records send_date. Additionally coins-mail-daemon also uses Postgres notify events on the dd channel to listen for new records inserted into the mrs_mail table.

.env [Environment Variables]

Coins-Mail-Daemon loads configuration via dotenv

  • For local development copy .env.example to .env and edit it's values appropriately
  • In deployment however these values are set on the host as Environment Variables via Ansible deploys

Required Variables (Local Dev)

VariableDefaultEdit Required
COINS_ENVNO (See: #Recipient Override below )
ADMIN_EMAILcoinsdev@trendscenter.org
SMTP_HOSTsmtp.gmail.comPossibly
SMTP_PORT465Possibly
SMTP_USERNAMEYES
SMTP_PASSWORDYES
SMTP_MAX_CONNECTIONS1NO
SMTP_RATE_DELTA300000NO
SMTP_RATE_LIMIT60NO
DB_HOSTlocalhost
DB_PORT5432
DB_DATABASEcoins
DB_USERNAME_NODE_APIpostgresPossibly
DB_PASSWORD_NODE_APIYES

Recipient Override

Emails created from a non-production server are sent to an admin email account instead of the specified recipient.

  • COINS_ENV=PRODUCTION
    • emails are sent to the intended recipient like normal
  • Any other COINS_ENV (for example: COINS_ENV=development)
    • email's sendTo field will be overwritten with the ADMIN_EMAIL value

FAQs

Package last updated on 12 Sep 2023

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