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

emailq

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emailq

MailQ is an open source email server compatiable with Amazon SES APIs

  • 0.1.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

EmailQ

EmailQ is an open source email server compatible with Amazon SES APIs

Emailq Server Installation

Step 1 : Create .emailq file and add the following

  ## Postal SMTP
  SMTP_HOST=smtp.gmail.com
  SMTP_SECURE=false
  SMTP_IGNORETLS=true
  SMTP_PORT=587
  SMTP_AUTH_USER='majeshpv@gmail.com'
  SMTP_AUTH_PASS='screat'

Step 2 : Install node version 8.1.11 or greater

yum install nodejs
npm install -g n
n lts

Step 3 : Install sequelize

npm install sequelize-cli
npm install sequelize-cli -g

Step 4 : Install emailq.

npm install -g emailq

Run emailq manually

emailq

Run emailq on systemd

cd /etc/nginx/conf.d/
sudo nano mail.google.com.conf

Paste the following 

server {
 listen  80;
 server_name    mail.google.com;
 return         301 https://$server_name$request_uri;
}

server {
  listen 443 ssl;
  #include /etc/nginx/statsd;
  server_name mail.google.com;
  ssl on;
  ssl_certificate /etc/nginx/ssl/ssl-bundle.crt;
  ssl_certificate_key /etc/nginx/ssl/mail.google.com.key;

    location / {
        proxy_pass http://127.0.0.1:1587;
    }
  }



sudo nginx -t
sudo systemctl restart nginx.
sudo systemctl status nginx.

cd /etc/systemd/system
sudo nano emailq.service

Paste the following code

[Unit]
Description=EmailQ
After=syslog.target

[Service]
WorkingDirectory=/home/mail.google.com
ExecStart=/usr/local/bin/node node_modules/emailq/bin/emailq
ExecReload=/usr/bin/kill -HUP $MAINPID
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=emailq
User=
Group=gloryque

[Install]
WantedBy=multi-user.target


sudo systemctl status emailq
sudo systemctl enable emailq
sudo systemctl start emailq
sudo systemctl status emailq

## to check fo error
journalctl -u emailq -f
journalctl -u emailq -l


Keywords

FAQs

Package last updated on 03 May 2018

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