Re: [Exim] PATH oddity in pipe transport

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Glenn Carver
CC: exim-users
Assumpte: Re: [Exim] PATH oddity in pipe transport
On Mon, 22 Jul 2002, Glenn Carver wrote:

> > But note that you'll get interleaved messages if two arrive at once...
>
> Which got me wondering.. how would one approach writing a

transport_filter in general then. How can the filter distinguish between
separate messages arriving at once? This is a general question from the
point of view of writing transport filters. (presumably spamc has a way
of doing it).


There's no problem with the filter. Two messages at once will run two
different delivery processes, and therefore two filter processes.

The problem is that in your filter you are taking a copy of the message
and writing it to a file without any kind of interlock.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.