[exim] header folding

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Ross Boylan
Fecha:  
A: Exim-users
Cc: ross
Asunto: [exim] header folding
Inspired by $spam_report, I'm looking for some details about how exim
handles header folding, including folding from string expansions.

First, does exim ever add header folding on its own, e.g., if the lines
would be long?

Second, I gather the standard way to do multiple lines is, for an ACL,
  add_header = X-Foo: some text\n\
    line 2, with at least one space at the start


What if you have
add_header = X-Bar: $var
?
Should $var expand to the literal text that includes \n\ (where those
are literal slashes, not escape characters), or can it have the
characters directly?

I assume that the separator should be \n (the escape character), not a
CRLF, since exim operates using the former according to section 43.2
"Line Endings". Right?

I've been concerned about the operation in an acl, as described in 39.19
"Adding header lines in ACLs", but that indicates that adding headers
works a bit differently in other parts of exim. If there are any
differences in this area, I'd like to know.

I'm currently running exim 4.62-1 on Debian.

Thanks.
-- 
Ross Boylan                                      wk:  (415) 514-8146
185 Berry St #5700                               ross@???
Dept of Epidemiology and Biostatistics           fax: (415) 514-8150
University of California, San Francisco
San Francisco, CA 94107-1739                     hm:  (415) 550-1062