mailtrain | Self hosted newsletter app | Email library

 by   Mailtrain-org JavaScript Version: v2.20210609.0 License: GPL-3.0

kandi X-RAY | mailtrain Summary

kandi X-RAY | mailtrain Summary

mailtrain is a JavaScript library typically used in Messaging, Email applications. mailtrain has no bugs, it has a Strong Copyleft License and it has medium support. However mailtrain has 1 vulnerabilities. You can download it from GitHub.

Mailtrain is a self hosted newsletter application built on Node.js (v14+) and MySQL (v8+) or MariaDB (v10+). This is version 2 of Mailtrain. It mostly implements all features of v1 and add some more. It is a complete rewrite, so you will have to install it from scratch. If you are upgrading from Mailtrain v1, backup the DB and use it for Mailtrain v2. Mailtrain v2 should be able to upgrade the DB to the new schema.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mailtrain has a medium active ecosystem.
              It has 5249 star(s) with 702 fork(s). There are 116 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 274 open issues and 654 have been closed. On average issues are closed in 176 days. There are 105 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of mailtrain is v2.20210609.0

            kandi-Quality Quality

              mailtrain has 0 bugs and 0 code smells.

            kandi-Security Security

              mailtrain has 1 vulnerability issues reported (0 critical, 1 high, 0 medium, 0 low).
              mailtrain code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              mailtrain is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              mailtrain releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              mailtrain saves you 6108 person hours of effort in developing the same functionality from scratch.
              It has 3161 lines of code, 0 functions and 319 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mailtrain
            Get all kandi verified functions for this library.

            mailtrain Key Features

            No Key Features are available at this moment for mailtrain.

            mailtrain Examples and Code Snippets

            No Code Snippets are available at this moment for mailtrain.

            Community Discussions

            QUESTION

            How to set up endpoints within a Azure Virtual Machine
            Asked 2020-Dec-16 at 02:16

            I'm trying to set up MailTrain (a newsletter application) on an Azure VM. I created a resource group with the virtual machine, a virtual network, a network interface, a network security group, a public ip adress and a private DNS zone.

            MailTrain expects three URL endpoints which all point to the same IP adress. For testing purposes I would like to create internal endpoints which all point to the VM. I played around with DNS entries in the DNS zone, but it doesn't work as I expected.

            The name of the private DNS zone is equal to the DNS name of the VM's public IP adress. The private DNS zone and the VM are linked with the virtual network link and auto registration is enabled. The virtual network contains a default subnet. I created an A entry for "lists" pointing to the VM's internal IP adress and a CNAME entry for "sbox" pointing to the DNS name of the public IP adress. Inbound rules for the ports 80 and 443 were added to the netwwork security group.

            The console shows me the following message while running the installation script:

            ...

            ANSWER

            Answered 2020-Dec-16 at 02:16

            Followed that quick start, you just need to create three DNS records in your public domain DNS zone.

            Please note that there is public DNS and private DNS in Azure. In this case, I assume you have created a private DNS zone for internal endpoints. To resolve the records of a private DNS zone from your virtual network, you must link the virtual network with the zone. Additionally, you can also enable autoregistration on a virtual network link. If you enable auto registration on a virtual network link, the DNS records for the virtual machines on that virtual network are registered in the private zone. Or, you can manually create an A record to map to your VM's private IP address in the zone and create other CNAME records to map to the other internal endpoints.

            As a best practice, do not use a .local domain for your private DNS zone. Not all operating systems support this.

            In addition, you need to add inbound ports 80, 443 in your network security group that associated with the Azure VM subnet or NIC.

            Update

            For an internal test, you can use a private DNS zone because the DNS records in a private Zone can only be resolved in a virtual network it can not be resolved over the Internet, you could select the local installation in this scenario.

            For example, I create a private DNS zone named contoso.com,

            After local install, you can access the website via the trusted endpoint http://localhost:3000, then you should access the other endpoints in the VNet instead of access external.

            However, if you want to use it for public access, you could select to install a public website secured by SSL. In this case, you need to purchase a domain and add the related DNS records to the DNS zone in the respective DNS provider. Azure DNS zone supports host your public domain zones in Azure.

            Source https://stackoverflow.com/questions/65258160

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mailtrain

            This will setup a publicly accessible Mailtrain instance. All endpoints (trusted, sandbox, public) will provide both HTTP (on port 80) and HTTPS (on port 443). The HTTP ports just issue HTTP redirect to their HTTPS counterparts. The script below will also acquire a valid certificate from Let's Encrypt. If you are hosting Mailtrain on AWS or some other cloud provider, make sure that before running the installation script you allow inbound connection to ports 80 (HTTP) and 443 (HTTPS). Note, that this will automatically accept the Let's Encrypt's Terms of Service. Thus, by running this script below, you agree with the Let's Encrypt's Terms of Service (https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf).
            Login as root. (I had some problems running npm as root on CentOS 7 on AWS. This seems to be fixed by the seemingly extraneous su within sudo.) sudo su -
            Install GIT For Centos 7 type: yum install -y git For Ubuntu 18.04 LTS type apt-get install -y git
            Download Mailtrain using git to the /opt/mailtrain directory cd /opt git clone https://github.com/Mailtrain-org/mailtrain.git cd mailtrain git checkout v2
            Run the installation script. Replace the urls and your email address with the correct values. NOTE that running this script you agree Let's Encrypt's conditions. For Centos 7 type: bash setup/install-centos7-https.sh mailtrain.example.com sbox-mailtrain.example.com lists.example.com admin@example.com For Ubuntu 18.04 LTS type: bash setup/install-ubuntu1804-https.sh mailtrain.example.com sbox-mailtrain.example.com lists.example.com admin@example.com
            Start Mailtrain and enable to be started by default when your server starts. systemctl start mailtrain systemctl enable mailtrain
            Open the trusted endpoint (like https://mailtrain.example.com)
            Authenticate as admin:test
            Update your password under admin/Account
            Update your settings under Administration/Global Settings.
            If you intend to sign your email by DKIM, set the DKIM key and DKIM selector under Administration/Send Configurations.
            This will setup a locally accessible Mailtrain instance (primarily for development and testing). All endpoints (trusted, sandbox, public) will provide only HTTP as follows:.
            http://localhost:3000 - trusted endpoint
            http://localhost:3003 - sandbox endpoint
            http://localhost:3004 - public endpoint
            Login as root. (I had some problems running npm as root on CentOS 7 on AWS. This seems to be fixed by the seemingly extraneous su within sudo.) sudo su -
            Install git For Centos 7 type: yum install -y git For Ubuntu 18.04 LTS type: apt-get install -y git
            Download Mailtrain using git to the /opt/mailtrain directory cd /opt git clone https://github.com/Mailtrain-org/mailtrain.git cd mailtrain git checkout v2
            Run the installation script. Replace the urls and your email address with the correct values. NOTE that running this script you agree Let's Encrypt's conditions. For Centos 7 type: bash setup/install-centos7-local.sh For Ubuntu 18.04 LTS type: bash setup/install-ubuntu1804-local.sh
            Start Mailtrain and enable to be started by default when your server starts. systemctl start mailtrain systemctl enable mailtrain
            Open the trusted endpoint http://localhost:3000
            Authenticate as admin:test

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Mailtrain-org/mailtrain.git

          • CLI

            gh repo clone Mailtrain-org/mailtrain

          • sshUrl

            git@github.com:Mailtrain-org/mailtrain.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Email Libraries

            PHPMailer

            by PHPMailer

            nodemailer

            by nodemailer

            mjml

            by mjmlio

            Mailspring

            by Foundry376

            postal

            by postalserver

            Try Top Libraries by Mailtrain-org

            mailtrain-wordpress-plugin

            by Mailtrain-orgPHP