Proxy mail server
See original GitHub issueIs your feature request related to a problem? Please describe.
I am trying to proxy a mailserver but the task seams to be impossible at the moment with NPM whit this is possible to do with Nginx.
Describe the solution you’d like
I’d like the option to stream proxy mail serves as described here: https://docs.nginx.com/nginx/admin-guide/mail-proxy/mail-proxy/
I tried to stream the ports but the protocoles imap
, smpt
and pop3
are not supported by NPM.
Describe alternatives you’ve considered
The only alternative that I can think is manually configure the mailserver with the “Custom Nginx configuration” option but the reason why I am using NPM is because I don’t know how to deal with Nginx directly.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:54
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Configuring NGINX as a Mail Proxy Server
Simplify your email service and improve its performance with NGINX or NGINX Plus as a proxy for the IMAP, POP3, and SMTP protocols....
Read more >NGINX as Mail Proxy Server: A Beginner's Guide - Medium
NGINX mail proxy supports SMTP, IMAP and POP3 protocols and can proxy email client traffic to one of the upstream mail servers. It...
Read more >SMTP proxy - Wikipedia
SMTP proxies are specialized mail transfer agents (MTAs) that, similar to other types of proxy servers, pass SMTP sessions through to other MTAs...
Read more >How to Setup Nginx as Mail Proxy on Ubuntu Server
NGINX can proxy IMAP, POP3, and SMTP protocols to one of the upstream mail servers that host mail accounts and thus can be...
Read more >Regular SMTP and SMTP Proxy Server - Xeams
The built-in SMTP Proxy server can only be used if you have another server in your network that accepts emails. It sits in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is there and progress on this implementation or fearure request? Would love to see this natively in NPM. Having my mail services beging NPM with an ssl cert. (The described docker tip is too complex for me to understand).
Create with portainer:
Image: docker.io/mailserver/docker-mailserver:edge Ports: 25:25 143:143 465:465 587:587 993:993 Volume: contrainer: /etc/letsencrypt -> volume: (indicate the volume from npm where the certificates are included)
Network: hostname: mail DomainName: example.vom Environment variables: ENABLE_FAIL2BAN=1 SSL_TYPE=manual PERMIT_DOCKER=network ONE_DIR=1 ENABLE_POSTGREY=0 ENABLE_CLAMAV=0 ENABLE_SPAMASSASSIN=0 SPOOF_PROTECTION=0 FETCHMAIL_POLL=300 POSTGREY_AUTO_WHITELIST_CLIENTS=5 POSTGREY_DELAY=300 POSTGREY_MAX_AGE=35 POSTGREY_TEXT=Delayed by Postgrey SASLAUTHD_MECH_OPTIONS= SSL_CERT_PATH=/etc/letsencrypt/live/npm-X/fullchain.pem SSL_KEY_PATH=/etc/letsencrypt/live/npm-X/privkey.pem TLS_LEVEL=modern Container capabilities: NET_ADMIN SYS_PTRACE
After starting the container, apply the following commands in the console: