Re: [exim] Terminating last header in a header_add with newl…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Eli
CC: exim-users
Sujet: Re: [exim] Terminating last header in a header_add with newline?
On Mon, 28 Feb 2005, Eli wrote:

> Should I append a forced newline in my headers_add line even though it seems
> to make no difference? Exim docs only mention separating multiple headers
> in a headers_add with \n, not that it has to terminate as well.


IIRC, Exim adds a newline at the end if the added string does not
contain one. I suspect your phenomenon is an artefact of what it prints
for debugging. However, I'll check when I have some time.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book