Giter Site home page Giter Site logo

node-mailing-amqp's Introduction

TODO : Translate in English

Node mailing amqp

Server smtp in ascolto sulla porta 25, (modificabile dal docker-compose.yml) per l'invio scaglionato nel tempo delle email

Sistema di container basato sul progetto contenuto nella cartella /legacy_project

Installazione e avvio

Requisiti

  1. Avere installato l'ambiente docker e il programma docker-compose.

Ambiente docker

Docker Compose

per installare docker-compose

#se non si ha python
apt-get install python python-pip
# Installazione di docker-compose
pip install docker-compose

Avvio e installazione

Posizionarsi nella cartella root del progetto e lanciare il sistema con:

docker-compose up

Se si vuole lanciare in background lanciarlo con

docker-compose up -d

Configurazioni

Account email:

Modificare il file publisher/auth.json e aggiungere gli account che verranno utilizzati dal sistema

Esempio:

{
	"users": [{
		"username": "test1",
		"password": "test1"
	}, {
		"username": "test2",
		"password": "test2"
	}, {
		"username": "test3",
		"password": "test3"
	}, {
		"username": "test4",
		"password": "test4"
	}, {
		"username": "test5",
		"password": "test5"
	}]
}

Temporizzazione

Modificare il file subscriber/config.json e cambiare la riga delay send con il valore in millisecondi voluto

{
  "amqp": "amqp://rabbitmq",
  "delaysend": 20000, 
  "queue": "node-mailing-amqp",
  "relay": {
    "port": 25,
    "host": "postfix",
    "messagesize" : 10
  }
}

Hostname di uscita

Modificare il file docker-compose.yml nel parametro SMTP_HOSTNAME

node-mailing-amqp's People

Watchers

James Cloos avatar Samuele Chiocca avatar

node-mailing-amqp's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.