On 9-May-08, at 1:00 PM, Jose Luis Martinez wrote:
Matt Sergeant escribió:
On 9-May-08, at 11:25 AM, Jose Luis Martinez wrote:
Proposal 4:
I'd like to see a qmail-queue async plugin. I'd put myself to the
task, but by async programming skills tend to null for the moment.
I don't think that's possible, since qmail-queue is fork/exec'd. I
guess you could async the pipe connection to it, but it doesn't
seem worth it.
I was referring to async the pipe to it.
Why does it not seem worth it? I remember reading that some types
of blocking I/O can be acceptable in non-blocking servers because
they return very fast? Is writing to pipes one of those cases? Or
have I "flipped a bit", and am totally mis-remembering XD ? Could
this mean that qmail-queue, as it is actually written will
On the other hand, we could directly write the files in the queue,
like qmail-queue.c, not having to fork and exec to bin/qmail-
queue... and all in async-fashion.
That's not entirely possible I don't think - not unless you run
qpsmtpd-async as root anyway. Because you need to write them as
qmails (I think).
But we could give it a try. Perhaps you can decipher the horrible djb
style C in qmail-queue.c :-)
Matt.