Le 20/12/2023 à 21:25, Joachim Lindenberg via Postfix-users a écrit :
Emmanuel :
That's crazy, If you're able to run a dedicated proxy instance, you're able to 
run an outboud postfix instance too: the perfect proxy software for 
smtp/postfix is postfix.
Otherwise it means that you're trying to solve your use-case at the wrong level 
and that should be dealt at the network firewall/advanced routing level.
It is not. As I wrote earlier:
The key benefit to guys like me is that one doesn´t have to manage two 
instances, considering setup and maintenance, configuration (like tls 
policies), backup or just trust in your provider.
No I persist, your supposed simplification is pure nightmare. Do proper setup one time and your maintenance will be minimal. You will have to do the same postfix maintenance locally if your "tcp" proxy is in place.

I only need to solve a networking issue. And I wrote that before as well:
On this too. If it is a networking issue, deal with it at the network level. Do tunneling to your VPS, do IPv6 routing do whatever is need. Yes it could be complicated, but if maintaining a simple outbound only postfix is too complicated for you, the cause is already lost. Proxy is not a magic word. This is a concept. In the SMTP world the "proxy" is a SMTP relay. Don't try to transpose what you see in the HTTP world to SMTP, that is not because proxy/reverse proxy are common tools in the HTTP world that the same tool could apply as is in another protocol proxying scenario.
HTTP is/support stateless end to end synchronous operations.
SMTP is a statefull protocol oriented for asynchronous end to end operations.

What you want is a pure dedicated TCP proxy protocol. It is the only viable solution for robust outbound traffic. Forget nginx hacks. What you really want is full SOCKS5 support in the postfix smtp client.

Inbound problem is very simple, the hard one as you see is the outbound one.

Emmanuel.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to