Re: [EXIM] Remove attachments

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Harald Meland
Data:  
Para: exim-users
Assunto: Re: [EXIM] Remove attachments
[Marc Haber]

> Why would I want that file to exist?


If some process (e.g. a queue runner) comes along and finds that for a
particular message, the -H file exists but there is no corresponding
-D file, things might get weird.

> I suspect that taking out a lock on the header file won't work because
> the headers are subject to change during the filter run. So, a
> dedicated lock file (maybe <message-id>-L?) would be needed here. I
> can't judge how hard it is to make this change.


Me neither, although I'd guess it could reduce overall performance
rather significantly.

<ramble>
However, if it comes to changing the spool locking mechanism, one
might consider doing locking in such a way that a single spool could
be shared between multiple hosts (over e.g. NFS).

I'm in way over my head here, so please ignore me if such a thing is
obviously infeasible for some reason :)
</ramble>
--
Harald

--
*** Exim information can be found at http://www.exim.org/ ***