Re: [vchkpw] writing a relaying app

2007-07-19 Thread Ismail YENIGUL
Hi Darek, Did you check open_smtp_relay() function in vpopmail.c If you use this function also you can also remove the IP address of the user from the tcp.smtp.cdb after a certain time-period (timeout) by modifying the tcp.smtp files (tcp.smtp, open-smtp, tcp.smtp.cdb etc) in clearopensmtp.c

Re: [vchkpw] writing a relaying app

2007-07-19 Thread Darek M.
Ismail YENIGUL wrote: Hi Darek, Did you check open_smtp_relay() function in vpopmail.c If you use this function also you can also remove the IP address of the user from the tcp.smtp.cdb after a certain time-period (timeout) by modifying the tcp.smtp files (tcp.smtp, open-smtp, tcp.smtp.cdb

Re: [vchkpw] writing a relaying app

2007-07-19 Thread Remo Mattei
not sure why you have to do that since it is working :) Just my 2 cents.. Remo Darek M. wrote: Ismail YENIGUL wrote: Thanks for the tip. Looks like it might be workable, though it uses TCPREMOTEIP from the environment, and I don't know much about the inner workings of tcpserver, so

Re: [vchkpw] writing a relaying app

2007-07-19 Thread Darek M.
Remo Mattei wrote: not sure why you have to do that since it is working :) Just my 2 cents.. Remo I don't know how I would use the existing bit of code as a standalone scriptable command line program. If it is possible, I would like to hear about it. Darek M. wrote: Ismail YENIGUL

Re: [vchkpw] writing a relaying app

2007-07-19 Thread Remo Mattei
no you cannot. What I was saying that you can use what's there since it will record the ips in the mysql if you use that. Sorry if I have misunderstood you. Remo Darek M. wrote: Remo Mattei wrote: I don't know how I would use the existing bit of code as a standalone scriptable

Re: [vchkpw] writing a relaying app

2007-07-19 Thread Darek M.
Ismail YENIGUL wrote: Hi Darek, I think this can be small but nice add-on software for qmail+vpopmail systems. Which IMAP server are you using? Also can you tell me how do you configure the IMAP to run a command after log-in successfully. I'm evaluating Dovecot, over Courier. It already