[KLUG Members] unix domain sockets

Peter Buxton members@kalamazoolinux.org
Fri, 11 Oct 2002 15:56:41 -0400


On Fri, Oct 11, 2002 at 02:12:33PM -0400, Peter Buxton wrote:

> It's not just a question of writing a few bytes to a file. I want to
> hold a session with Cyrus's LMTP facility, which only speaks to a unix
> domain socket.
> 
> Oh, no.... I see the app ipcconnect. It's from Daniel J. Bernstein. :-(
> Oh, well, I can hold my nose and compile as well as the next person...

Hey, that wasn't so bad. I was expecting some monster that would take
over my system, like djbdns or daemontools but ucspi-ipc just compiled
and installed in /usr/local, and ipcconnect acts just like socket or
telnet over TCP/IP. Cool.

Anyway, having seen LMTP, I'm thinking of using Exim to deliver to Cyrus
directly and cutting cyrdeliver out, as all it does is speak to the
lmtpd daemon. I think "command = ipcconnect /var/run/cyrus/socket/lmtp"
will do, as Exim doesn't take a pathname, just a command to run it's
LMTP session.

-- 
http://www.killdevil.org/~peter
I'll torture you so slowly you'll think it's
a career. -- Darwin Mayflower, _Hudson Hawk_