Eelco van Beek - IC&S wrote:
> If i remember correctly (haven't done much coding on dbmail lately) a
> file descriptor is used throughout
> both daemons. Using a commandline switch it should be fairely easy to
> replace an allocated socket with
> STDIN / STDOUT.
> 
> Ilja?

Yeah, that's in effect what I've done - I sent a mail to the list "ipop3d
for xinetd" with the code in it. The problem that I had was that I forgot to
connect to auth/database.

The main bit of codes that handles the pop3 is along the lines of:

clientinfo_t myclientinfo;
myclientinfo.tx = stdout;
myclientinfo.rx = stdin;
pop3_handle_connection (&myclientinfo);


I think my code was probably more a working proof of concept than stable
production version.

Matt


Reply via email to