I'm trying to put Postfix behind inetd. The idea is to configure inetd to listen to inet smtp port and make Postfix listen to a unix-domain one.
Is it possible to make inetd pass connection over to a unix-domain socket?
I'm trying to put Postfix behind inetd. The idea is to configure inetd to listen to inet smtp port and make Postfix listen to a unix-domain one.
Is it possible to make inetd pass connection over to a unix-domain socket?
Try creating a service in inetd with
server = /usr/bin/socat
server_args = socat STDIO UNIX-CONNECT:/path/to/unix/socket
This will connect the service I/O to the socket. See man socat
.