Re: [exim] In place message alteration

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: David Saez Padros
CC: EXIM mailing list
Betreff: Re: [exim] In place message alteration
On Tue, 21 Mar 2006, David Saez Padros wrote:

> I thinking about altering messages in place (in the spool directory)
> running external programs via {run } from data acl, from a router or
> externally using a cron job to avoid the overhead of having to run
> the external command in a transport which will then reinject and
> reroute the message again. Will this cause any major problem to exim ?


You are on your own if you do this. Although the format of spool files
is documented, it is not guaranteed to remain unchanged. You need to
understand about locking, you need to keep all the data in the -H
file correct, and you need to ensure that the message is syntactically
valid (correct MIME parts, encoding, etc). Doing this will almost
certainly break signed messages.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book