I'm interested in deploying an SMTP relay. So a little app that accepts E-Mail from machines at certain IP addresses, and forwards this through another SMTP server.
The reason I'd like this is, I have some utilities that cannot send via a server that requires authentication.
I've used PureBasic to send E-Mail and it works great (obviously).
But I'm wonder about writing the code to ACCEPT E-mail that will be forwarded.
Has anyone written anything like this and wish to share code?
Has anyone written an SMTP relay?
Re: Has anyone written an SMTP relay?
Yes, but only unencrypted (no SSL / STARTTLS) and it is running as a web service.
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{History Viewer Online}.:|:.{Send a Beer}
Re: Has anyone written an SMTP relay?
Why reinveting the wheel?
If you search in the web for smtp proxy you will find many ready solutions.
Examples:
https://linux.die.net/man/8/smtpp
https://docs.nginx.com/nginx/admin-guid ... ail-proxy/
A complete server solution (we run it as VM)
https://www.proxmox.com/en/proxmox-mail-gateway
If you search in the web for smtp proxy you will find many ready solutions.
Examples:
https://linux.die.net/man/8/smtpp
https://docs.nginx.com/nginx/admin-guid ... ail-proxy/
A complete server solution (we run it as VM)
https://www.proxmox.com/en/proxmox-mail-gateway