[Exim] Mime headers

Pàgina inicial
Delete this message
Reply to this message
Autor: Nigel Metheringham
Data:  
A: exim-users
Assumpte: [Exim] Mime headers
I hate to even suggest this....

Is there any mileage in getting exim to parse off the MIME in-body
headers during read-in and stash them someplace visible?

it means making the body reader much more complex - it needs to look
for MIME separators, then grab the next header batch.

a simple implementation will also not work for nested mime embeds
(which are quite legal and are done if a message is MIME forwarded for
example).

There are issues on where do you stash these lines, how do you access
them, how can you express the nesting etc.

An alternative - also tricky to implement and strictly limited - is to
run a regexp over the body as it comes in.... but that has the problem
that you need a window in memory to do this. [the idea being this
regexp would set a flag which could be tested in a filter etc]

    Nigel.


-- 
[ - Opinions expressed are personal and may not be shared by VData - ]
[ Nigel Metheringham                  Nigel.Metheringham@??? ]
[ Phone: +44 1423 850000                         Fax +44 1423 858866 ]