Re: [exim] SMTP (+auth) via unix socket?

Top Pagina
Delete this message
Reply to this message
Auteur: Jeremy Harris
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] SMTP (+auth) via unix socket?
On 08/10/2018 22:12, Felipe Gasper via Exim-users wrote:
>     What if, though, Exim could receive SMTP via a unix socket? Exim could read the socket’s peer credentials on accept(), and if those credentials indicate that the client socket was created as root, then Exim would be justified in considering any SMTP message received from that socket to be authenticated.


We'd have to write a customer authenticator type. Not impossible,
but I'm not convinced there's enough demand.

>     It would also be a slightly faster interface into Exim since the connection wouldn’t have the TCP/IP overhead

Use the "-bh" option and just talk SMTP over a pipe to Exim.


Or, you could just hack on the received_header_text main configuration
option.
--
Cheers,
Jeremy