Michelle Konzack wrote:
>
> [...]
>
> OK, now I know it is /usr/sbin/courierfilter which produce the error
> "Unable to reserve file descriptor 3."

I'd be curious as to why that happens. As fd's 0, 1, and 2 are in use,
the sequence

        close(3);
        if (open("/dev/null", O_RDONLY) != 3
            || pipe(pipe3fd) < 0
            || close(3)
            || (dupped = dup(pipe3fd[1])) != 3)
        {
                fprintf(stderr, "Unable to reserve file descriptor 3.\n");

cannot fail. Can you reproduce the failure running the program by itself?
If that's possible, truss can reveal what's going on.


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to