On Sat, 14 Apr 2007, Jack Bailey wrote:
> The test I just finished has local_scan() create a process that catches
> SIGIO before running any of its filter code. When SIGIO arrives, the
> process stops whatever it's doing and silently abandons the message.
> The advantage to using signals is their asynchronous nature and that
> they're a form of interprocess communication. I like the idea of
> select(), but I don't see a good way to make it work here. I'm
> certainly open to ideas.
As Tony has pointed out, I screwed up a bit. It is legal, when
PIPELINING is in use, for a client to send data after the dot. I suspect
your use of SIGIO will go wrong in this situation.
--
Philip Hazel University of Cambridge Computing Service
Get the Exim 4 book: http://www.uit.co.uk/exim-book