On Saturday 09 April 2011, Remo Mattei wrote:
> - William Faulkner
> Hello everyone OT I wonder if anyone has done this?
> I need to have this so that when a user register it automatically
> creates the account, if it gets approved.
You will need to write a cron script run as root
You can fetch a list of existing email accounts using
vpopbull -v -n <domain.tld>
You can interrogate the wp_users table using sql to get the existing wp
Compare the two lists to find out which ones need email and use vaddusers to
create new email accounts. You can also get rid of old email accounts by
running the compare the other way.
The problem is that you will need a plaintext version of the password and how
you collect that is a wp question.
Midwales dot com