Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
emailq
Advanced tools
Readme
EmailQ is an open source email server compatible with Amazon SES APIs
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 4 : Install emailq.
npm install -g emailq
Step 5: Run emailq manually
emailq
Step 6: Run emailq on systemd
cd /etc/nginx/conf.d/
sudo nano ses.example.com.conf
Paste the following
server {
listen 80;
server_name ses.example.com;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
#include /etc/nginx/statsd;
server_name ses.example.com;
ssl on;
ssl_certificate /etc/nginx/ssl/ssl-bundle.crt;
ssl_certificate_key /etc/nginx/ssl/example.com-ssl.key;
location / {
proxy_pass http://127.0.0.1:1587;
}
}
# test nginx settings
sudo nginx -t
sudo systemctl restart nginx.
sudo systemctl status nginx.
Step 7: Create systemd unit: Systemd will keep emailq up and running
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
# to check unit status
sudo systemctl status emailq
# start emailq on startup
sudo systemctl enable emailq
# start emailq now
sudo systemctl start emailq
# check emailq running status
sudo systemctl status emailq
## to check fo error
journalctl -u emailq -f
journalctl -u emailq -l
FAQs
MailQ is an open source email server compatiable with Amazon SES APIs
The npm package emailq receives a total of 24 weekly downloads. As such, emailq popularity was classified as not popular.
We found that emailq demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.