On Saturday 11 February 2012 03:51 PM, Pak Ogah wrote:
On 02/10/12 23:23, Bharath Chari wrote:

Thanks. Not really proficient - more of a cut/paste/hack artist :). However, I do think that there are some fundamental changes that are required in the table structures. While I will make these suggestions on the inter7 list, I think some of these changes can be incorporated into QmailToaster, maybe via a qtp script.??? Let me see if I can script some of these changes/tweaks.

Bharath

Yup, it would be nice to have this feature built-in on vpopmail

Eric, Pak et al,

I have been going through the vpopmail sources. At the risk of sounding flippant, changing the database structures is quite easy. This is the progress I have made so far with my patched version of vpopmail-toaster


/home/vpopmail/bin/vadddomain example.com password

a) Table for domain example.com gets created as example_com with the following changes:
 uid field is added as the first column - auto increment
 pw_name field is changed from PRIMARY KEY to UNIQUE

Verified that the postmaster user is added as expected with a uid of 1.

b) Audit log table for example.com domain is created as example_com_log with the fields uid,pw_name,creation_date,deletion_date

c) /home/vpopmail/bin/vdeldomain example.com deletes both tables created above

I should have a fully working vpopmail-toaster with logging in the next couple of days for testing. I don't know if these changes would ever be accepted into the core vpopmail distribution, but it could be a QMT specific patch if the group agrees.

Bharath

---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to