pop-before-smtp with mysql

2003-08-26 Thread Ashish Pawaskar
Tuesday, August 26, 2003 Hello, I am using qmail+vpopmail with Mysql based authentication. vpopmail will add the IP of all who authenticate themselves with POP3 to a mysql table (relayclients) I am trying to use qpsmtpd but I cannot find a pop-before-smtp plugin anywhere! Can anyone give any p

Re: pop-before-smtp with mysql

2003-08-26 Thread Ask Bjørn Hansen
On Tuesday, Aug 26, 2003, at 08:32 America/Los_Angeles, Ashish Pawaskar wrote: Can anyone give any pointers as to how i can have the check_relay plugin check the mysql table? I can't figure out where I can find the IP address of the sender. Make a new plugin, not entirely unlike the following and

Re: pop-before-smtp with mysql

2003-08-27 Thread James H. Thompson
I'm in the process of testing a plugin to do this. I'll post it as soon as I verify it works. Jim James H. Thompson [EMAIL PROTECTED] - Original Message - From: "Ashish Pawaskar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003

Re[2]: pop-before-smtp with mysql

2003-08-27 Thread Ashish Pawaskar
Wednesday, August 27, 2003 Hello Everyone, I have implemented this for pop before smtp: qpsmtpd/plugins> cat check_pop_table ### BEGIN ### sub register { my ($self) = shift; $self->register_hook("rcpt", "check_pop_table"); } sub check_pop_table { use DBI; my ($self) = shift;