On Tue, Aug 19, 2025 at 12:46:34PM -0700, Ian Z via Exim-users wrote:
> I probably once knew the answer, but now I don't.
> 
> Doc says:
> 
> > Exim makes a connection, writes the request string (unless it is an
> > empty string; no terminating NUL is ever sent) and reads from the
> > socket until an end-of-file is read.
> 
> That does sound as if no terminating newline is appended either?

 Exactly.

> Then, if the thing on the other end wants queries to be complete lines
> -- and it probably does --

 The readsocket is universal function, it may be used for HTTP requests,
 for example. And HTTP request generally does not require end-of-line
 terminator, in case of binary content any byte may be the last.

> I'll have to put the newline into the exim
> config, so I'll need quotes. Which is supposed to "almost never"
> happen.

 Use "\n".
-- 
 Eugene Berdnikov

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to