Nigel Metheringham edited this page Nov 29, 2012 · 2 revisions

Q0616

Question

Can Exim add a Content-Length: header to messages it delivers?

Answer

You could include something like

headers_remove = "content-length"
headers_add = "Content-Length: $message_body_size"

to the appendfile transport. However, the use of Content-Length: can cause several problems, and is not recommended unless you really know what you are doing. There is a discussion of the problems in http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/content-length.html.


Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.