>I think you misread what I wrote...we're using cyrus, not courier ;-(

I rolled my own smtp after pop/imap setup.  It's really easy.

There's a 94 line daemon written in perl (running under supervise, of
course) that makes a named pipe and then reads lines from it in the
form "IP 22.33.44.55" that tell it when someone's logged in, and
updates the cdb file that the smtp tcpserver uses to control relay.

I use courier and rather than try to stuff a shim into the
authentication, I just hacked the code into courier's pop and imap
login routines, adding three lines to each to open the named pipe,
write out the IP that just logged in, and close the pipe.  I haven't
looked at the code, but it's unlikely that it'd be difficult to make a
similar change to Cyrus.

If you want the daemon, you're welcome to it.  It also handles a file
of fixed relay addresses for hosts on the local network and ages
relays out after about an hour.



-- 
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, 
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail

Reply via email to