Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - dave_hal

Pages: [1]
CentOS-WebPanel GUI / Re: Disable items
« on: October 07, 2018, 09:34:20 PM »
Sorry, yea, should have posted that I found this.

Figured there was a feature manager some where, just didn't think to look specifically in the Themes and Languages section.

CentOS-WebPanel GUI / Disable items
« on: October 03, 2018, 07:17:27 PM »
Is it possible to disable items that appear in the user CWP.user panel?

For example, disabling the Autoresponder option in the user's CWP.user panel.

Looking through the files, I see:

{% if ("mail_autoreply" in rmenu )or(swmenu==1) %}

Where is rmenu defined at?  And can it's values be changed?

Backup / Self-contained backup
« on: October 02, 2018, 07:17:56 PM »
So, looking over the backup system in CWP.  It does not appear to create self-contained backups or backups that you can fully restore from.  Is that correct?

Really what I am looking for, is a way to back up everything related to an account.  And then be able to restore the account from that backup package.  Without any intervention required in terms of having to create the account outside of the restore process.

/scripts/full_user_backup $user /backup

That creates a /backup/$user_full_backup.tar.gz

And then at:
/scripts/restore_user_backup /backup/$user_full_backup.tar.gz

Which creates the account, all the virtualhosts of that account, all the databases for that account, all the email accounts, and the user's home directory all from scratch.

This does not appear to be possible with the current backup/restore systems in CWP.  Is that correct?

I can probably script something together to do this, but just wanted to make sure there wasn't such a facility already in place, that I might have missed.

Information / Hookable Events
« on: April 27, 2018, 04:44:10 PM »
I can probably come up with some way to do this on my own, but I thought I'd ask before I dived in too deep with this.

Are there any Hookable Events with CWP?

For example, when a new account is created run this script, when a new VirtualHost is added run this script, when BIND reloads run this script, etc.

I'm not seeing any documentation, so I'm guessing there's not.  But I thought I'd ask before I started doing this with log monitoring and what not.

Pages: [1]