popa3d logging under xinetd
Subject: popa3d logging under xinetd
Newsgroups: gmane.mail.popa3d.user
Date: 2005-05-05 04:29:10 GMT
Hello,
I’ve been hacking around in the popa3d code trying to figure out how it works so that I might be able to get it to log/record the user’s IP address for use with pop-before-send SMTP access control. I just discovered that the whole “channel” construct is pulling user session data from a pipe rather than a socket as I was expecting when running under xinetd. As far as I can tell standalone mode uses a regular listening socket and obtaining the IP address of the user from the sockaddr structs is a simple matter in that mode. But I’m at a loss for what to do under xinetd as I really don’t understand how xinetd handles connections and such. Is there anyone who might be able to lend a little guidance here?
I’m specifically poking around in the do_pop_session(0 function of pop_root.c.
Thank you,
Sean Kelly - The “other half” of Keen Kelly
sean-JVZV1WlgsJHqlBn2x/YWAg@public.gmane.org
Office: (408) 578-8888
P.O. Box 18202; San Jose, Ca; 95158
RSS Feed