Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mi_rd_cmd: select returned -1: Bad file descriptor

2 views
Skip to first unread message

stevfl...@gmail.com

unread,
Sep 10, 2008, 4:54:20 PM9/10/08
to
I just got finished writing a new milter for my sendmail setup and
everything works as expected except that in the server's message logs
I keep getting the following error "mi_rd_cmd: select returned -1: Bad
file descriptor" I am not sure where this error comes from but it
doesn't seem to come directly from any of my code, although the only
file descriptor my code references is opened on the mlfi_connect()
call and closed in the mlfi_abort() or mlfi_close() calls.

It seems from what little I have found while googling that the
mi_rd_cmd() function is part of the sendmail milter library but I
don't know what it does exactly in relation to the milter it's self.

Some hopefully helpful info is that it sets up a tcp/ip socket on port
4300 and binds to the ip address you specify, or to whatever port:ip
combo you give it, and listens there for sendmail to connect to it.

Any ideas would be greatly appreciated.

Thank you

Steven Fletcher

0 new messages