On Thu, 29 Jan 1998, Francisco Ruiz wrote:
> In exim 1.82, expanding the variable message_body in an autoreply
> transport translate the new-line codes into space codes, e.g., a message
> like:
> -----
> line1
> line2
>
> line3
> -----
>
> will be seen:
> -----
> line1 line2 line3
> -----
The spec says:
$message_body: This variable contains the initial portion of a message's
body while it is being delivered, and is intended mainly for use in filter
files. The maximum number of characters of the body that are used is set by
the message_body_visible configuration option; the default is 500. Newlines
are converted into spaces to make it easier to search for phrases that
might be split over a line break.
so it is not a bug, it is deliberate. The idea was so that you could say
in your filter file
if $message_body contains "this is spam" then ...
and it would match a message body where there was a line break between
any of the words.
If you want to return the message to the sender in autoreply, you can
set the return_message option, which sends back the whole message,
including the headers.
--
Philip Hazel University Computing Service,
ph10@??? New Museums Site, Cambridge CB2 3QG,
P.Hazel@??? England. Phone: +44 1223 334714
--
*** Exim information can be found at
http://www.exim.org/ ***