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

[EMAIL PROTECTED]

http://www.keenkelly.com/

Office: (408) 578-8888

P.O. Box 18202; San Jose, Ca; 95158

 

 

Reply via email to