-
Notifications
You must be signed in to change notification settings - Fork 148
/
sentora_core.sql
888 lines (756 loc) · 56.6 KB
/
sentora_core.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
/*
* Sentora Database Schema
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE `sentora_core` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
USE `sentora_core`;
/*Table structure for table `x_accounts` */
DROP TABLE IF EXISTS `x_accounts`;
CREATE TABLE `x_accounts` (
`ac_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`ac_user_vc` varchar(50) DEFAULT NULL,
`ac_pass_vc` varchar(200) DEFAULT NULL,
`ac_email_vc` varchar(250) DEFAULT NULL,
`ac_reseller_fk` int(6) DEFAULT NULL,
`ac_package_fk` int(6) DEFAULT NULL,
`ac_group_fk` int(6) DEFAULT NULL,
`ac_usertheme_vc` varchar(45) DEFAULT NULL,
`ac_usercss_vc` varchar(45) DEFAULT NULL,
`ac_enabled_in` int(1) DEFAULT '1',
`ac_lastlogon_ts` int(30) DEFAULT NULL,
`ac_notice_tx` text,
`ac_resethash_tx` text,
`ac_passsalt_vc` varchar(22) DEFAULT NULL,
`ac_catorder_vc` varchar(255) DEFAULT NULL,
`ac_created_ts` int(30) DEFAULT NULL,
`ac_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`ac_id_pk`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*Data for the table `x_accounts` */
INSERT INTO `x_accounts` (
`ac_id_pk`,
`ac_user_vc`,
`ac_pass_vc`,
`ac_passsalt_vc`,
`ac_email_vc`,
`ac_reseller_fk`,
`ac_package_fk`,
`ac_group_fk`,
`ac_usertheme_vc`,
`ac_usercss_vc`,
`ac_enabled_in`,
`ac_lastlogon_ts`,
`ac_notice_tx`,
`ac_resethash_tx`,
`ac_created_ts`,
`ac_deleted_ts`
)
VALUES
(
1,
'zadmin',
'v.eCCwjd4xAGWagHafqod6SMASr25Na',
'/L8ewHozMz0EqAmmILPFN2',
'zadmin@localhost',
1,
1,
1,
'Sentora_Default',
'default',
1,
0,
'Welcome to your new Sentora installation! You can remove this message from the Client Notice Manager module. This module allows you to notify your clients of service outages, upgrades and new features etc :-)',
NULL,
0,
NULL
);
/*Table structure for table `x_aliases` */
DROP TABLE IF EXISTS `x_aliases`;
CREATE TABLE `x_aliases` (
`al_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`al_acc_fk` int(6) DEFAULT NULL,
`al_address_vc` varchar(255) DEFAULT NULL,
`al_destination_vc` varchar(255) DEFAULT NULL,
`al_created_ts` int(30) DEFAULT NULL,
`al_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`al_id_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `x_aliases` */
/*Table structure for table `x_autoip` */
DROP TABLE IF EXISTS `x_autoip`;
CREATE TABLE IF NOT EXISTS `x_autoip` (
`ai_id_pk` int(6) NOT NULL DEFAULT '0',
`ai_script_vc` varchar(255) DEFAULT NULL,
`ai_email_vc` varchar(255) DEFAULT NULL,
`ai_command_vc` varchar(255) DEFAULT NULL,
`ai_newip_vc` varchar(50) DEFAULT NULL,
`ai_oldip_vc` varchar(50) DEFAULT NULL,
`ai_enabled_in` int(1) DEFAULT '1',
`ai_lastupdate_ts` varchar(50) DEFAULT NULL,
PRIMARY KEY (`ai_id_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `x_autoip` */
INSERT INTO `x_autoip` (`ai_id_pk`, `ai_script_vc`, `ai_email_vc`, `ai_command_vc`, `ai_newip_vc`, `ai_oldip_vc`, `ai_enabled_in`, `ai_lastupdate_ts`) VALUES
('1', null, null, 'http://myip.dnsomatic.com/', null, null, '1', null);
/*Table structure for table `x_bandwidth` */
DROP TABLE IF EXISTS `x_bandwidth`;
CREATE TABLE `x_bandwidth` (
`bd_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`bd_acc_fk` int(6) DEFAULT NULL,
`bd_month_in` int(6) DEFAULT NULL,
`bd_transamount_bi` bigint(20) DEFAULT NULL,
`bd_diskamount_bi` bigint(20) DEFAULT NULL,
`bd_diskover_in` int(6) DEFAULT NULL,
`bd_diskcheck_in` int(6) DEFAULT NULL,
`bd_transover_in` int(6) DEFAULT NULL,
`bd_transcheck_in` int(6) DEFAULT NULL,
PRIMARY KEY (`bd_id_pk`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `x_bandwidth` */
/*Table structure for table `x_cronjobs` */
DROP TABLE IF EXISTS `x_cronjobs`;
CREATE TABLE `x_cronjobs` (
`ct_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`ct_acc_fk` int(6) DEFAULT NULL,
`ct_script_vc` varchar(255) DEFAULT NULL,
`ct_timing_vc` varchar(255) DEFAULT NULL,
`ct_fullpath_vc` varchar(255) DEFAULT NULL,
`ct_description_tx` text,
`ct_created_ts` int(30) DEFAULT NULL,
`ct_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`ct_id_pk`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `x_cronjobs` */
/*Table structure for table `x_distlists` */
DROP TABLE IF EXISTS `x_distlists`;
CREATE TABLE `x_distlists` (
`dl_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`dl_acc_fk` int(6) DEFAULT NULL,
`dl_address_vc` varchar(255) DEFAULT NULL,
`dl_created_ts` int(30) DEFAULT NULL,
`dl_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`dl_id_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `x_distlists` */
/*Table structure for table `x_distlistusers` */
DROP TABLE IF EXISTS `x_distlistusers`;
CREATE TABLE `x_distlistusers` (
`du_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`du_distlist_fk` int(6) DEFAULT NULL,
`du_address_vc` varchar(255) DEFAULT NULL,
`du_created_ts` int(30) DEFAULT NULL,
`du_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`du_id_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `x_distlistusers` */
/*Table structure for table `x_dns` */
DROP TABLE IF EXISTS `x_dns`;
CREATE TABLE `x_dns` (
`dn_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`dn_acc_fk` int(6) DEFAULT NULL,
`dn_name_vc` varchar(255) DEFAULT NULL,
`dn_vhost_fk` int(6) DEFAULT NULL,
`dn_type_vc` varchar(50) DEFAULT NULL,
`dn_host_vc` varchar(100) DEFAULT NULL,
`dn_ttl_in` int(30) DEFAULT NULL,
`dn_target_vc` varchar(2000) DEFAULT NULL,
`dn_texttarget_tx` text,
`dn_priority_in` int(50) DEFAULT NULL,
`dn_weight_in` int(50) DEFAULT NULL,
`dn_port_in` int(50) DEFAULT NULL,
`dn_created_ts` int(30) DEFAULT NULL,
`dn_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`dn_id_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `x_dns` */
/* Table structure for table `x_dns_create` */
CREATE TABLE IF NOT EXISTS `sentora_core`.`x_dns_create` (
`dc_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`dc_acc_fk` int(6) DEFAULT NULL,
`dc_type_vc` varchar(50) DEFAULT NULL,
`dc_host_vc` varchar(100) DEFAULT NULL,
`dc_ttl_in` int(30) DEFAULT NULL,
`dc_target_vc` varchar(255) DEFAULT NULL,
`dc_priority_in` int(50) DEFAULT NULL,
`dc_weight_in` int(50) DEFAULT NULL,
`dc_port_in` int(50) DEFAULT NULL,
PRIMARY KEY (`dc_id_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;
/* Data for the table `x_dns_create` */
INSERT INTO `sentora_core`.`x_dns_create` (`dc_id_pk`, `dc_acc_fk`, `dc_type_vc`, `dc_host_vc`, `dc_ttl_in`, `dc_target_vc`, `dc_priority_in`, `dc_weight_in`, `dc_port_in`) VALUES
(1, 0, 'A', '@', 3600, ':IP:', NULL, NULL, NULL),
(2, 0, 'CNAME', 'www', 3600, '@', NULL, NULL, NULL),
(3, 0, 'CNAME', 'ftp', 3600, '@', NULL, NULL, NULL),
(4, 0, 'A', 'mail', 2419200, ':IP:', NULL, NULL, NULL),
(5, 0, 'MX', '@', 86400, 'mail.:DOMAIN:', 10, NULL, NULL),
(6, 0, 'A', 'ns1', 172800, ':IP:', NULL, NULL, NULL),
(7, 0, 'A', 'ns2', 172800, ':IP:', NULL, NULL, NULL),
(8, 0, 'NS', '@', 172800, 'ns1.:DOMAIN:', NULL, NULL, NULL),
(9, 0, 'NS', '@', 172800, 'ns2.:DOMAIN:', NULL, NULL, NULL),
(10, 0, 'SPF', '@', 2419200, 'v=spf1 a mx ip4::IP: mx:mail.:DOMAIN: ?all', NULL, NULL, NULL),
(11, 0, 'TXT', '@', 2419200, 'v=spf1 a mx ip4::IP: mx:mail.:DOMAIN: ?all', NULL, NULL, NULL);
/*Table structure for table `x_faqs` */
DROP TABLE IF EXISTS `x_faqs`;
CREATE TABLE `x_faqs` (
`fq_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`fq_acc_fk` int(6) DEFAULT NULL,
`fq_question_tx` text,
`fq_answer_tx` text,
`fq_global_in` int(1) DEFAULT NULL,
`fq_created_ts` int(30) DEFAULT NULL,
`fq_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`fq_id_pk`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8;
/*Data for the table `x_faqs` */
insert into `x_faqs`(`fq_id_pk`,`fq_acc_fk`,`fq_question_tx`,`fq_answer_tx`,`fq_global_in`,`fq_created_ts`,`fq_deleted_ts`) values
(1,1,'How can I update my personal contact details?','From the control panel homepage please click on the "My Account" icon to enable you to update your personal details.',1,NULL,NULL),
(2,1,'How do I change my password?','Your Sentora and MySQL password can be easily changed using the "Change Password" icon on the control panel.',1,NULL,NULL),
(3,1,'I don't think one of the services(Apache, MySQL, FTP, etc) are running. Is there any easy way to check?','Sentora comes with a service monitoring system that checks to make sure all the services are up and running, Simply go to your Control Panel Home and select the module called "Service Status". From there you will be able to see if any of the services are down or up.',1,NULL,NULL),
(4,1,'How can I set my domain to work with my Sentora Account?','To setup up a domain with Sentora first thing you need to do is go "Domains" and add your to the list. Next you need to set the Name Server on your Domain Registrar to match that of your host. This information can be obtained by contacting your host.',1,NULL,NULL),
(7,1,'How can I create a MySQL Database?','To create a MySQL database simply go to the section of the panel called "Database Management" and select the module called "MySQL Databases" from here you will easily be able to add and manage databases on your account.',1,NULL,NULL),
(8,1,'What is phpMyAdmin?','phpMyAdmin is an open source tool intended to handle the administration of MySQL databases. It can perform various tasks such as creating, modifying or deleting databases, tables, fields or rows or executing SQL statements',1,NULL,NULL),
(9,1,'How do I create FTP Accounts?','You can create FTP accounts by going to "FTP Accounts" from their you can add accounts and manage quotas and directories. ',1,NULL,NULL),
(11,1,'How do I create an E-Mail Account?','Go to the Mail section of Sentora and select the module called "Mailboxes", from here you can create E-Mail account for each domain setup on your account. You can also reset passwords to previously created accounts.',1,NULL,NULL),
(12,1,'How do I create a Mail Alias?','Go to the Mail section of Sentora and select the module called "Aliases", from here you can create Alias E-Mail accounts for each previously created E-Mail account. All mail sent to the alias will be delivered to the master e-mail account.',1,NULL,NULL),
(13,1,'How can I create a Mailing List?','Mailing lists can be setup by going to the Mail section of Sentora and select the module called "Distribution Lists", from here you can create Mailing lists by creating an E-mail Account. ',1,NULL,NULL),
(14,1,'How do I use Mail Forwards?','Go to the Mail section of Sentora and select the module called "Forwards", from here you can create E-Mail address on your domains that will forward to other E-Mail addresses that are on different servers like "G-Mail, Yahoo, and MSN". ',1,NULL,NULL),
(15,1,'What are Subdomains?','A subdomain combines a unique identifier with a domain name to become essentially a "domain within a domain." The unique identifier simply replaces the www in the web address. Yahoo!, for example, uses subdomains such as mail.yahoo.com and music.yahoo.com to reference its mail and music services, under the umbrella of www.yahoo.com. They can be created by using the Subdomain module in the Domains section. You can assign directories for each sub domain from the module.',1,NULL,NULL),
(16,1,'How can I view how much Data I have used?','You can view how much data you have used by accessing the "Usage Viewer" under the Account Information section of Sentora. It displays account information in different formats. It displays Data Usage, Domain Usage, Bandwidth Usage, MySQL Usage, and much more.',1,NULL,NULL),
(17,1,'How can I access Webmail?','Go to the Mail section of Sentora and select the module called "Webmail", from here you can login to your E-Mail account and view and create messages. ',1,NULL,NULL);
/*Table structure for table `x_forwarders` */
DROP TABLE IF EXISTS `x_forwarders`;
CREATE TABLE `x_forwarders` (
`fw_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`fw_acc_fk` int(6) DEFAULT NULL,
`fw_address_vc` varchar(255) DEFAULT NULL,
`fw_destination_vc` varchar(255) DEFAULT NULL,
`fw_keepmessage_in` int(1) DEFAULT '1',
`fw_created_ts` int(30) DEFAULT NULL,
`fw_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`fw_id_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `x_forwarders` */
/*Table structure for table `x_ftpaccounts` */
DROP TABLE IF EXISTS `x_ftpaccounts`;
CREATE TABLE `x_ftpaccounts` (
`ft_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`ft_acc_fk` int(6) DEFAULT NULL,
`ft_user_vc` varchar(50) DEFAULT NULL,
`ft_directory_vc` varchar(255) DEFAULT NULL,
`ft_access_vc` varchar(20) DEFAULT NULL,
`ft_password_vc` varchar(50) DEFAULT NULL,
`ft_created_ts` int(6) DEFAULT NULL,
`ft_deleted_ts` int(6) DEFAULT NULL,
PRIMARY KEY (`ft_id_pk`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `x_ftpaccounts` */
/*Table structure for table `x_groups` */
DROP TABLE IF EXISTS `x_groups`;
CREATE TABLE `x_groups` (
`ug_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`ug_name_vc` varchar(20) DEFAULT NULL,
`ug_notes_tx` text,
`ug_reseller_fk` int(6) DEFAULT NULL,
PRIMARY KEY (`ug_id_pk`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*Data for the table `x_groups` */
insert into `x_groups`(`ug_id_pk`,`ug_name_vc`,`ug_notes_tx`,`ug_reseller_fk`) values
(1,'Administrators','The main administration group, this group allows access to all areas of Sentora.',1),
(2,'Resellers','Resellers have the ability to manage, create and maintain user accounts within Sentora.',1),
(3,'Users','Users have basic access to Sentora.',1);
/*Table structure for table `x_htaccess` */
DROP TABLE IF EXISTS `x_htaccess`;
CREATE TABLE `x_htaccess` (
`ht_id_pk` int(11) unsigned NOT NULL AUTO_INCREMENT,
`ht_acc_fk` int(6) DEFAULT NULL,
`ht_user_vc` varchar(10) DEFAULT NULL,
`ht_dir_vc` varchar(255) DEFAULT NULL,
`ht_created_ts` int(30) DEFAULT NULL,
`ht_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`ht_id_pk`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `x_htaccess` */
/*Table structure for table `x_logs` */
DROP TABLE IF EXISTS `x_logs`;
CREATE TABLE `x_logs` (
`lg_id_pk` int(9) unsigned NOT NULL AUTO_INCREMENT,
`lg_user_fk` int(6) NOT NULL DEFAULT '1',
`lg_code_vc` varchar(10) DEFAULT NULL,
`lg_module_vc` varchar(25) DEFAULT NULL,
`lg_detail_tx` text,
`lg_stack_tx` text,
`lg_when_ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`lg_id_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `x_logs` */
/*Table structure for table `x_mailboxes` */
DROP TABLE IF EXISTS `x_mailboxes`;
CREATE TABLE `x_mailboxes` (
`mb_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`mb_acc_fk` int(6) DEFAULT NULL,
`mb_address_vc` varchar(255) DEFAULT NULL,
`mb_enabled_in` int(1) DEFAULT '1',
`mb_created_ts` int(30) DEFAULT NULL,
`mb_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`mb_id_pk`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `x_mailboxes` */
/*Table structure for table `x_modcats` */
DROP TABLE IF EXISTS `x_modcats`;
CREATE TABLE `x_modcats` (
`mc_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`mc_name_vc` varchar(50) DEFAULT NULL,
PRIMARY KEY (`mc_id_pk`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
/*Data for the table `x_modcats` */
insert into `x_modcats`(`mc_id_pk`,`mc_name_vc`) values
(1,'Account Information'),
(2,'Server Admin'),
(3,'Advanced'),
(4,'Database Management'),
(5,'Domain Management'),
(6,'Mail'),
(7,'Reseller'),
(8,'File Management');
/*Table structure for table `x_modules` */
DROP TABLE IF EXISTS `x_modules`;
CREATE TABLE `x_modules` (
`mo_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`mo_category_fk` int(6) NOT NULL DEFAULT '1',
`mo_name_vc` varchar(200) NOT NULL,
`mo_version_in` int(10) DEFAULT NULL,
`mo_folder_vc` varchar(255) DEFAULT NULL,
`mo_type_en` enum('user','system','modadmin','lang') NOT NULL DEFAULT 'user',
`mo_desc_tx` text,
`mo_installed_ts` int(30) DEFAULT NULL,
`mo_enabled_en` enum('true','false') NOT NULL DEFAULT 'true',
`mo_updatever_vc` varchar(10) DEFAULT NULL,
`mo_updateurl_tx` text,
PRIMARY KEY (`mo_id_pk`)
) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8;
/*Data for the table `x_modules` */
insert into `x_modules`(`mo_id_pk`,`mo_category_fk`,`mo_name_vc`,`mo_version_in`,`mo_folder_vc`,`mo_type_en`,`mo_desc_tx`,`mo_installed_ts`,`mo_enabled_en`,`mo_updatever_vc`,`mo_updateurl_tx`) values
(1,3,'PHPInfo',200,'phpinfo','user','PHPInfo provides you with information regarding the version of PHP running on this system as well as installed PHP extensions and configuration details.',NULL,'true',NULL,''),
(3,7,'Shadowing',200,'shadowing','user','From here you can shadow any of your client\'s accounts, this enables you to automatically login as the user which enables you to offer remote help by seeing what they see!',NULL,'true',NULL,''),
(4,2,'Sentora Config',200,'sentoraconfig','user','Changes made here affect the entire Sentora configuration, please double check everything before saving changes.',NULL,'true',NULL,''),
(5,2,'Sentora News',200,'news','user','Find out all the latest news and information from the Sentora project.',NULL,'true',NULL,''),
(6,2,'Updates',200,'updates','user','Check to see if there are any available updates to your version of the Sentora software.',NULL,'true',NULL,''),
(8,4,'phpMyAdmin',200,'phpmyadmin','user','phpMyAdmin is a web based tool that enables you to manage your Sentora MySQL databases via. the web.',NULL,'true',NULL,''),
(9,1,'My Account',200,'my_account','user','Current personal details that you have provided us with, We ask that you keep these upto date in case we require to contact you regarding your hosting package.\r\n',NULL,'true',NULL,''),
(10,6,'WebMail',200,'webmail','user','Webmail is a convenient way for you to check your email accounts online without the need to configure an email client.',NULL,'true',NULL,''),
(11,1,'Change Password',200,'password_assistant','user','Change your current control panel password.',NULL,'true',NULL,''),
(12,3,'Backup',200,'backupmgr','user','The backup manager module enables you to backup your entire hosting account including all your MySQL® databases.',NULL,'true',NULL,''),
(14,3,'Service Status',200,'services','user','Here you can check the current status of our services and see what services are up and running and which are down and not.',NULL,'true',NULL,''),
(15,5,'Domains',200,'domains','user','This module enables you to add or configure domain web hosting on your account.',NULL,'true',NULL,''),
(16,5,'Parked Domains',200,'parked_domains','user','Domain parking refers to the registration of an Internet domain name without that domain being used to provide services such as e-mail or a website. If you have any domains that you are not using, then simply park them!',NULL,'true',NULL,''),
(17,5,'Sub Domains',200,'sub_domains','user','This module enables you to add or configure domain web hosting on your account.',NULL,'true',NULL,''),
(18,2,'Module Admin',200,'moduleadmin','user','Administer or configure modules registered with module admin',NULL,'true',NULL,''),
(19,7,'Manage Clients',200,'manage_clients','user','The account manager enables you to view, update and create client accounts.',NULL,'true',NULL,''),
(20,7,'Package Manager',200,'packages','user','Welcome to the Package Manager, using this module enables you to create and manage existing reseller packages on your Sentora hosting account.',NULL,'true',NULL,''),
(22,3,'Cron Manager',200,'cron','user','Here you can configure PHP scripts to run automatically at different time intervals.',NULL,'true',NULL,''),
(23,2,'phpSysInfo',200,'phpsysinfo','user','phpSysInfo is a web-based server hardware monitoring tool which enables you to see detailed hardware statistics of your server.',NULL,'true',NULL,''),
(24,4,'MySQL Database',200,'mysql_databases','user','MySQL® databases are used by many PHP applications such as forums and ecommerce systems, below you can manage and create MySQL® databases.',NULL,'true',NULL,''),
(25,1,'Usage Viewer',200,'usage_viewer','user','The account usage screen enables you to see exactly what you are currently using on your hosting package.',NULL,'true',NULL,''),
(26,8,'FTP Accounts',200,'ftp_management','user','Using this module you can create FTP accounts which will enable you and any other accounts you create to have the ability to upload and manage files on your hosting space.',NULL,'true',NULL,''),
(27,3,'FAQ\'s',200,'faqs','user','Please find a list of the most common questions from users, if you are unable to find a solution to your problem below please then contact your hosting provider. Simply click on the FAQ below to view the solution.',NULL,'true',NULL,''),
(28,0,'Apache Config',200,'apache_admin','modadmin','This module enables you to configure Apache Vhost settings for your hosting accounts.',NULL,'true',NULL,''),
(29,5,'DNS Manager',200,'dns_manager','user',NULL,NULL,'true',NULL,''),
(30,0,'DNS Config',200,'dns_admin','modadmin','This module enables you to configure DNS settings for the DNS Manager',NULL,'true',NULL,''),
(31,7,'Manage Groups',200,'manage_groups','user','Manage user groups to enable greater control over module permission.',NULL,'true',NULL,''),
(32,6,'Mailboxes',200,'mailboxes','user','Using this module you have the ability to create IMAP and POP3 Mailboxes.',NULL,'true',NULL,''),
(33,6,'Forwards',200,'forwarders','user','Using this module you have the ability to create mail forwarders.',NULL,'true',NULL,''),
(34,6,'Distribution Lists',200,'distlists','user','This module enables you to create and manage email distribution groups.',NULL,'true',NULL,''),
(35,6,'Aliases',200,'aliases','user','Using this module you have the ability to create alias mailboxes to existing accounts.',NULL,'true',NULL,''),
(36,0,'Mail Config',200,'mail_admin','modadmin','This module enables you to configure your mail options',NULL,'true',NULL,''),
(39,4,'MySQL Users',200,'mysql_users','user','MySQL® Users allows you to add users and permissions to your MySQL® databases.',NULL,'true',NULL,''),
(40,0,'FTP Config',200,'ftp_admin','modadmin','This module enables you to configure FTP settings for your hosting accounts.',NULL,'true',NULL,''),
(41,0,'Backup Config',200,'backup_admin','modadmin','This module enables you to configure Backup settings for your hosting accounts.',NULL,'true',NULL,''),
(42,7,'Client Notice Manager',200,'client_notices','user','Enables resellers to set global notices for their clients.',NULL,'true',NULL,''),
(46,7,'Theme Manager',200,'theme_manager','user','Enables the reseller to set themes configurations for their clients.',NULL,'true',NULL,''),
(47,3,'Webalizer Stats',200,'webalizer_stats','user','You can view many statistics such as visitor infomation, bandwidth used, referal infomation and most viewed pages etc. Web stats are based on Domains and sub-domains so to view web stats for a particular domain or subdomain use the drop-down menu to select the domain or sub-domain you want to view web stats for.',NULL,'true',NULL,''),
(48,3,'Protected Directories',200,'protected_directories','user','Password protect your web applications and directories.',NULL,'true',NULL,''),
(49,2,'AutoIP Updater',102,'autoip','user','Automatically update your control panel IP address.',1701028845,'true',NULL,''),
(50,3,'View Logs',101,'user_logviewer','user','Allows user to view several logs of their sites',1701028845,'true',NULL,'http://zppy-repo.mach-hosting.com/repo/user_logviewer.xml'),
(51,5,'Sencrypt SSL',201,'sencrypt','user','Add or remove Let\'s Encrypt SSL certificates for your domains and sub domains',1701028845,'true',NULL,'http://zppy-repo.mach-hosting.com/testing/sencrypt.zpp');
/*Table structure for table `x_mysql_databases` */
DROP TABLE IF EXISTS `x_mysql_databases`;
CREATE TABLE `x_mysql_databases` (
`my_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`my_acc_fk` int(6) DEFAULT NULL,
`my_name_vc` varchar(40) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL,
`my_usedspace_bi` bigint(50) DEFAULT '0',
`my_created_ts` int(30) DEFAULT NULL,
`my_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`my_id_pk`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `x_mysql_databases` */
/*Table structure for table `x_mysql_dbmap` */
DROP TABLE IF EXISTS `x_mysql_dbmap`;
CREATE TABLE `x_mysql_dbmap` (
`mm_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`mm_acc_fk` int(6) DEFAULT NULL,
`mm_user_fk` int(6) DEFAULT NULL,
`mm_database_fk` int(6) DEFAULT NULL,
PRIMARY KEY (`mm_id_pk`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `x_mysql_dbmap` */
/*Table structure for table `x_mysql_users` */
DROP TABLE IF EXISTS `x_mysql_users`;
CREATE TABLE `x_mysql_users` (
`mu_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`mu_acc_fk` int(6) DEFAULT NULL,
`mu_name_vc` varchar(40) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL,
`mu_database_fk` int(6) DEFAULT NULL,
`mu_access_vc` varchar(40) DEFAULT NULL,
`mu_pass_vc` varchar(40) DEFAULT NULL,
`mu_created_ts` int(30) DEFAULT NULL,
`mu_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`mu_id_pk`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `x_mysql_users` */
/*Table structure for table `x_packages` */
DROP TABLE IF EXISTS `x_packages`;
CREATE TABLE `x_packages` (
`pk_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`pk_name_vc` varchar(30) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL,
`pk_reseller_fk` int(6) DEFAULT NULL,
`pk_enablephp_in` int(1) DEFAULT '0',
`pk_created_ts` int(30) DEFAULT NULL,
`pk_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`pk_id_pk`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*Data for the table `x_packages` */
insert into `x_packages`(`pk_id_pk`,`pk_name_vc`,`pk_reseller_fk`,`pk_enablephp_in`,`pk_created_ts`,`pk_deleted_ts`) values (1,'Administration',1,1,NULL,NULL);
insert into `x_packages`(`pk_id_pk`,`pk_name_vc`,`pk_reseller_fk`,`pk_enablephp_in`,`pk_created_ts`,`pk_deleted_ts`) values (2,'Demo',1,0,NULL,NULL);
/*Table structure for table `x_permissions` */
DROP TABLE IF EXISTS `x_permissions`;
CREATE TABLE `x_permissions` (
`pe_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`pe_group_fk` int(6) DEFAULT NULL,
`pe_module_fk` int(6) DEFAULT NULL,
PRIMARY KEY (`pe_id_pk`)
) ENGINE=MyISAM AUTO_INCREMENT=92 DEFAULT CHARSET=utf8;
/*Data for the table `x_permissions` */
insert into `x_permissions` (`pe_id_pk`,`pe_group_fk`,`pe_module_fk`) values
(1,1,18), (2,1,35), (3,2,35), (4,3,35), (5,1,28), (6,1,12), (7,2,12), (8,3,12), (9,1,41), (10,1,11),
(11,2,11), (12,3,11), (13,1,42), (14,2,42), (15,1,22), (16,2,22), (17,3,22), (18,1,34), (19,2,34), (20,3,34),
(21,1,30), (22,1,29), (23,2,29), (24,3,29), (25,1,15), (26,2,15), (27,3,15), (28,1,27), (29,2,27), (30,3,27),
(31,1,33), (32,2,33), (33,3,33), (34,1,26), (35,2,26), (36,3,26), (37,1,40), (38,1,36), (39,1,32), (40,2,32),
(41,3,32), (42,1,19), (43,2,19), (44,1,31), (45,2,31), (46,1,9), (47,2,9), (48,3,9), (49,1,24), (50,2,24),
(51,3,24), (52,1,39), (53,2,39), (54,3,39), (55,1,20), (56,2,20), (57,1,16), (58,2,16), (59,3,16), (60,1,1),
(61,2,1), (62,3,1), (63,1,8), (64,2,8), (65,3,8), (66,1,23), (67,1,43), (68,2,43), (69,3,43), (70,1,14),
(71,2,14), (72,3,14), (73,1,3), (74,2,3), (75,1,17), (76,2,17), (77,3,17), (78,1,46), (79,2,46), (80,1,6),
(81,1,25), (82,2,25), (83,3,25), (84,1,47), (85,2,47), (86,3,47), (87,1,10), (88,2,10), (89,3,10), (90,1,4),
(91,1,5), (92,1,48), (93,2,48), (94,3,48), (95,1,49), (96,2,49), (97,3,49), (98,1,50), (99,2,50), (100,3,50),
(101,1,51), (102,2,51), (103,3,51);
/*Table structure for table `x_profiles` */
DROP TABLE IF EXISTS `x_profiles`;
CREATE TABLE `x_profiles` (
`ud_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`ud_user_fk` int(6) DEFAULT NULL,
`ud_fullname_vc` varchar(100) DEFAULT NULL,
`ud_language_vc` varchar(10) DEFAULT 'en',
`ud_group_fk` int(6) DEFAULT NULL,
`ud_package_fk` int(6) DEFAULT NULL,
`ud_address_tx` text,
`ud_postcode_vc` varchar(20) DEFAULT NULL,
`ud_phone_vc` varchar(20) DEFAULT NULL,
`ud_created_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`ud_id_pk`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*Data for the table `x_profiles` */
insert into `x_profiles`(`ud_id_pk`,`ud_user_fk`,`ud_fullname_vc`,`ud_language_vc`,`ud_group_fk`,`ud_package_fk`,`ud_address_tx`,`ud_postcode_vc`,`ud_phone_vc`,`ud_created_ts`) values
(1,1,'Default Zadmin','en',1,1,'1 Example Road,\r\nIpswich,\r\nSuffolk','IP9 2HL','+44(1473) 000 000',0);
/*Table structure for table `x_quotas` */
DROP TABLE IF EXISTS `x_quotas`;
CREATE TABLE `x_quotas` (
`qt_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`qt_package_fk` int(6) DEFAULT NULL,
`qt_domains_in` int(6) DEFAULT '0',
`qt_subdomains_in` int(6) DEFAULT '0',
`qt_parkeddomains_in` int(6) DEFAULT '0',
`qt_mailboxes_in` int(6) DEFAULT '0',
`qt_fowarders_in` int(6) DEFAULT '0',
`qt_distlists_in` int(6) DEFAULT '0',
`qt_ftpaccounts_in` int(6) DEFAULT '0',
`qt_mysql_in` int(6) DEFAULT '0',
`qt_diskspace_bi` bigint(20) DEFAULT '0',
`qt_bandwidth_bi` bigint(20) DEFAULT '0',
`qt_bwenabled_in` int(1) DEFAULT '0',
`qt_dlenabled_in` int(1) DEFAULT '0',
`qt_totalbw_fk` int(30) DEFAULT NULL,
`qt_minbw_fk` int(30) DEFAULT NULL,
`qt_maxcon_fk` int(30) DEFAULT NULL,
`qt_filesize_fk` int(30) DEFAULT NULL,
`qt_filespeed_fk` int(30) DEFAULT NULL,
`qt_filetype_vc` varchar(30) NOT NULL DEFAULT '*',
`qt_modified_in` int(1) DEFAULT '0',
PRIMARY KEY (`qt_id_pk`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*Data for the table `x_quotas` */
insert into `x_quotas`(`qt_id_pk`,`qt_package_fk`,`qt_domains_in`,`qt_subdomains_in`,`qt_parkeddomains_in`,`qt_mailboxes_in`,`qt_fowarders_in`,`qt_distlists_in`,`qt_ftpaccounts_in`,`qt_mysql_in`,`qt_diskspace_bi`,`qt_bandwidth_bi`,`qt_bwenabled_in`,`qt_dlenabled_in`,`qt_totalbw_fk`,`qt_minbw_fk`,`qt_maxcon_fk`,`qt_filesize_fk`,`qt_filespeed_fk`,`qt_filetype_vc`,`qt_modified_in`) values
(1,1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,0,0,NULL,NULL,NULL,NULL,NULL,'*',1);
/*Table structure for table `x_settings` */
DROP TABLE IF EXISTS `x_settings`;
CREATE TABLE `x_settings` (
`so_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`so_name_vc` varchar(50) DEFAULT NULL,
`so_cleanname_vc` varchar(50) DEFAULT NULL,
`so_value_tx` text,
`so_defvalues_tx` text,
`so_desc_tx` text,
`so_module_vc` varchar(50) DEFAULT NULL,
`so_usereditable_en` enum('true','false') DEFAULT 'false',
PRIMARY KEY (`so_id_pk`)
) ENGINE=InnoDB AUTO_INCREMENT=115 DEFAULT CHARSET=utf8;
/*Data for the table `x_settings` */
insert into `x_settings`(`so_id_pk`,`so_name_vc`,`so_cleanname_vc`,`so_value_tx`,`so_defvalues_tx`,`so_desc_tx`,`so_module_vc`,`so_usereditable_en`) values
(6,'dbversion','Sentora version','2.0.1',NULL,'Database Version','Sentora Config','false'),
(7,'sentora_root','Sentora root path','/etc/sentora/panel/',NULL,'Sentora Web Root','Sentora Config','true'),
(8,'module_icons_pr','Icons per Row','10',NULL,'Set the number of icons to display before beginning a new line.','Sentora Config','false'),
(10,'Sentora_df','Date Format','H:i jS M Y T',NULL,'Set the date format used by modules.','Sentora Config','true'),
(13,'servicechk_to','Service Check Timeout','10',NULL,'Service Check Timeout','Sentora Config','true'),
(14,'root_drive','Root Drive','/',NULL,'The root drive where Sentora is installed.','Sentora Config','true'),
(16,'php_exer','PHP executable','php',NULL,'PHP Executable','Sentora Config','false'),
(17,'temp_dir','Temp Directory','/var/sentora/temp/',NULL,'Global temp directory.','Sentora Config','true'),
(18,'news_url','Sentora News API URL','http://api.sentora.org/latestnews.json',NULL,'Sentora News URL','Sentora Config','false'),
(19,'update_url','Sentora Update API URL','http://api.sentora.org/latestversion.json',NULL,'Sentora Update URL','Sentora Config','false'),
(21,'server_ip','Server IP Address','',NULL,'If set this will use this manually entered server IP address which is the prefered method for use behind a firewall.','Sentora Config','true'),
(22,'zip_exe','ZIP Exe','zip',NULL,'Path to the ZIP Executable','Sentora Config','true'),
(24,'disable_hostsen','Disable auto HOSTS file entry','false','true|false','Disable Host Entries','Sentora Config','false'),
(25,'latestzpversion','Cached version of latest sentora version','1.0.0',NULL,'This is used for caching the latest version of Sentora.','Sentora Config','false'),
(26,'logmode','Debug logging mode','db','db|file|email','The default mode to log all errors in.','Sentora Config','true'),
(27,'logfile','Sentora Log file','/var/sentora/logs/sentora.log',NULL,'If logging is set to \'file\' mode this is the path to the log file that is to be used by Sentora.','Sentora Config','true'),
(28,'apikey','XMWS API Key','ee8795c8c53bfdb3b2cc595186b68912',NULL,'The secret API key for the server.','Sentora Config','false'),
(29,'email_from_address','From Address','sentora@localhost',NULL,'The email address to appear in the From field of emails sent by Sentora.','Sentora Config','true'),
(30,'email_from_name','From Name','Sentora Server',NULL,'The name to appear in the From field of emails sent by Sentora.','Sentora Config','true'),
(31,'email_smtp','Use SMTP','false','true|false','Use SMTP server to send emails from. (true/false)','Sentora Config','true'),
(32,'smtp_auth','Use AUTH','false','true|false','SMTP requires authentication. (true/false)','Sentora Config','true'),
(33,'smtp_server','SMTP Server','',NULL,'The address of the SMTP server.','Sentora Config','true'),
(34,'smtp_port','SMTP Port','465',NULL,'The port address of the SMTP server (usually 25)','Sentora Config','true'),
(35,'smtp_username','SMTP User','',NULL,'Username for authentication on the SMTP server.','Sentora Config','true'),
(36,'smtp_password','SMTP Pass','',NULL,'Password for authentication on the SMTP server.','Sentora Config','true'),
(37,'smtp_secure','SMTP Auth method','false','false|ssl|tls','If specified will attempt to use encryption to connect to the server, if \'false\' this is disabled. Available options: false, ssl, tls','Sentora Config','true'),
(38,'daemon_lastrun','Daemon timeing cache','0',NULL,'Timestamp of when the daemon last ran.',NULL,'false'),
(39,'daemon_dayrun','Daemon timeing cache','0',NULL,NULL,NULL,'false'),
(40,'daemon_weekrun','Daemon timeing cache','0',NULL,NULL,NULL,'false'),
(41,'daemon_monthrun','Daemon timeing cache','0',NULL,NULL,NULL,'false'),
(42,'purge_bu','Purge Backups','true','true|false','Delete client backups after allotted time has elapsed to help save diskspace (true/false)','Backup Config','true'),
(43,'purge_date','Purge Date','30',NULL,'Time in days backups are safe from being deleted. After days have elapsed, older backups will be deleted on Daemon Day Run','Backup Config','true'),
(44,'disk_bu','Disk Backups','true','true|false','Allow users to create and save backups of their home directories to disk. (true/false)','Backup Config','true'),
(45,'schedule_bu','Daily Backups','false','true|false','Make a daily backup of each clients data, including MySQL databases to their backup folder. Backups will still be created if Disk Backups are set to false. (true/false)','Backup Config','true'),
(46,'ftp_db','FTP Database','sentora_proftpd',NULL,'The name of the ftp server database','FTP Config','true'),
(47,'ftp_php','FTP PHP','proftpd.php',NULL,'Name of PHP to include when adding FTP data.','FTP Config','true'),
(48,'ftp_service','FTP Service Name','proftpd',NULL,'The name of the FTP service','FTP Config','true'),
(49,'ftp_service_root','FTP Service Root','/etc/init.d/',NULL,'The path to the service executable if applicable.','FTP Config','true');
insert into `x_settings`(`so_id_pk`,`so_name_vc`,`so_cleanname_vc`,`so_value_tx`,`so_defvalues_tx`,`so_desc_tx`,`so_module_vc`,`so_usereditable_en`) values
(50,'ftp_config_file','FTP Config File','',NULL,'The path to the configuration file if applicable.','FTP Config','true'),
(51,'mailserver_db','Mailserver Database','sentora_postfix',NULL,'The name of the mail server database','Mail Config','true'),
(52,'hmailserver_et','Hmail Encryption Type','2',NULL,'Type of encryption uses for hMailServer passwords','Mail Config','false'),
(53,'max_mail_size','Max Mailbox Size','200',NULL,'Maximum size in megabytes allowed for mailboxes. Default = 200','Mail Config','true'),
(54,'mailserver_php','Mailserver PHP','postfix.php',NULL,'Name of PHP to include when adding mailbox data.','Mail Config','true'),
(55,'remove_orphan','Remove Orphans','true','true|false','When domains are deleted, also delete all mailboxes for that domain when the daemon runs. (true/false)','Mail Config','true'),
(56,'named_dir','Named Directory','/etc/sentora/configs/bind/etc/',NULL,'Path to the directory where named.conf is stored','DNS Config','true'),
(57,'named_conf','Named Config','named.conf',NULL,'Named configuration file','DNS Config','true'),
(58,'zone_dir','Zone Directory','/etc/sentora/configs/bind/zones/',NULL,'Path to where DNS zone files are stored','DNS Config','true'),
(59,'refresh_ttl','SOA Refesh TTL','21600',NULL,'Global refresh TTL. Default = 21600 (6 hours)','DNS Config','true'),
(60,'retry_ttl','SOA Retry TTL','3600',NULL,'Global retry TTL. Default = 3600 (1 hour)','DNS Config','true'),
(61,'expire_ttl','SOA Expire TTL','86400',NULL,'Global expire TTL. Default = 86400 (1 day)','DNS Config','true'),
(62,'minimum_ttl','SOA Minimum TTL','86400',NULL,'Global minimum TTL. Default = 86400 (1 day)','DNS Config','true'),
(63,'custom_ip','Allow Custom IP','true','true|false','Allow users to change IP settings in A records. If set to false, IP is locked to server IP setting in Sentora Config','DNS Config','true'),
(64,'bind_dir','Path to BIND Root','',NULL,'Path to the root directory where BIND is installed.','DNS Config','true'),
(65,'bind_service','BIND Service Name','',NULL,'Name of the BIND service','DNS Config','true'),
(66,'allow_xfer','Allow Zone Transfers','trusted-servers',NULL,'Setting to restrict zone transfers in setting: allow-transfer {}; Default = all','DNS Config','true'),
(67,'allowed_types','Allowed Record Types','A AAAA CNAME MX TXT SRV SPF NS',NULL,'Types of records allowed seperated by a space. Default = A AAAA CNAME MX TXT SRV SPF NS','DNS Config','true'),
(68,'bind_log','Bind Log','/var/sentora/logs/bind/bind.log',NULL,'Path and name of the Bind Log','DNS Config','true'),
(69,'hosted_dir','Vhosts Directory','/var/sentora/hostdata/',NULL,'Virtual host directory','Apache Config','true'),
(70,'disable_hostsen','Disable HOSTS file entries','false','true|false','Disable host entries','Apache Config','true'),
(71,'apache_vhost','Apache VHOST Conf','/etc/sentora/configs/apache/httpd-vhosts.conf',NULL,'The full system path and filename of the Apache VHOST configuration name.','Apache Config','true'),
(72,'php_handler','PHP Handler','AddType application/x-httpd-php .php3 .php',NULL,'The PHP Handler.','Apache Config','false'),
(73,'cgi_handler','CGI Handler','ScriptAlias /cgi-bin/ \"/_cgi-bin/\"\r\n<location /cgi-bin>\r\nAddHandler cgi-script .cgi .pl\r\nOptions +ExecCGI -Indexes\r\n</location>',NULL,'The CGI Handler.','Apache Config','false'),
(74,'global_vhcustom','Global VHost Entry',NULL,NULL,"Extra directives for all apache vhost's.",'Apache Config','true'),
(75,'static_dir','Static Pages Directory','/etc/sentora/panel/etc/static/',NULL,'The Sentora static directory, used for storing welcome pages etc. etc.','Apache Config','true'),
(76,'parking_path','Vhost Parking Path','/etc/sentora/panel/etc/static/parking/',NULL,'The path to the parking website, this will be used by all clients.','Apache Config','true'),
(78,'shared_domains','Shared Domains','no-ip,dyndns,autono,zphub',NULL,'Domains entered here can be shared across multiple accounts. Seperate domains with , example: no-ip,dyndns','Apache Config','true'),
(79,'upload_temp_dir','Upload Temp Directory','/var/sentora/temp/',NULL,'The path to the Apache Upload directory (with trailing slash)','Apache Config','true'),
(80,'apache_port','Apache Port','80',NULL,'Apache service port','Apache Config','true'),
(81,'dir_index','Directory Indexes','DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm',NULL,'Directory Index','Apache Config','true'),
(82,'suhosin_value','Suhosin Value','php_admin_value suhosin.executor.func.blacklist \"passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec\"',NULL,'Suhosin configuration for virtual host blacklisting commands','Apache Config','false'),
(83,'openbase_seperator','Open Base Seperator',':',NULL,'Seperator flag used in open_base_directory setting','Apache Config','false'),
(84,'openbase_temp','Open Base Temp Directory','/var/sentora/temp/',NULL,'Temp directory used in open_base_directory setting','Apache Config','true'),
(85,'access_log_format','Access Log Format','combined','combined|common','Log format for the Apache access log','Apache Config','true'),
(86,'bandwidth_log_format','Bandwidth Log Format','common','combined|common','Log format for the Apache bandwidth log','Apache Config','true'),
(87,'global_zpcustom','Global Sentora Entry',NULL,NULL,'Extra directives for Sentora default vhost.','Apache Config','true'),
(88,'use_openbase','Use Open Base Dir','true','true|false','Enable openbase directory for all vhosts','Apache Config','true'),
(89,'use_suhosin','Use Suhosin','true','true|false','Enable Suhosin for all vhosts','Apache Config','true'),
(90,'sentora_domain','Sentora Domain','sentora.ztest.com',NULL,'Domain that the control panel is installed under.','Sentora Config','false'),
(91,'log_dir','Log Directory','/var/sentora/logs/',NULL,'Root path to directory log folders','Sentora Config','true'),
(92,'apache_changed','Apache Changed','true','true|false','If set, Apache Config daemon hook will write the vhost config file changes.','Apache Config','false'),
(94,'apache_allow_disabled','Allow Disabled','true','true|false','Allow webhosts to remain active even if a user has been disabled.','Apache Config','true'),
(95,'apache_budir','VHost Backup Dir','/var/sentora/backups/',NULL,'Directory that vhost.conf backups are stored.','Apache Config','true'),
(96,'apache_purgebu','Purge Backups','true','true|false','Old backups are deleted after the date set in Puge Date','Apache Config','true'),
(97,'apache_purge_date','Purge Date','7',NULL,'Time in days that vhost backups are safe from deletion','Apache Config','true'),
(98,'apache_backup','VHost Backup','true','true|false','Backup vhost file before a new one is written','Apache Config','true'),
(99,'zsudo','zsudo path','/etc/sentora/panel/bin/zsudo',NULL,'Path to the zsudo binary used by Apache to run system commands.','Sentora Config','true');
insert into `x_settings`(`so_id_pk`,`so_name_vc`,`so_cleanname_vc`,`so_value_tx`,`so_defvalues_tx`,`so_desc_tx`,`so_module_vc`,`so_usereditable_en`) values
(100,'apache_restart','Apache Restart Cmd','reload',NULL,'Command line arguments used after the restart service request when reloading Apache.','Apache Config','true'),
(101,'httpd_exe','Apache Binary','',NULL,'Path to the Apache binary','Apache Config','true'),
(102,'apache_sn','Apache Service Name','',NULL,'Service name used to handle Apache service control','Apache Config','true'),
(103,'daemon_exer',NULL,'/etc/sentora/panel/bin/daemon.php',NULL,'Path to the Sentora daemon','Sentora Config','false'),
(104,'daemon_timing',NULL,'0 * * * *',NULL,'Cron time for when to run the Sentora daemon','Sentora Config','false'),
(105,'cron_file','Cron File','',NULL,'Path to the user cron file','Cron Config','true'),
(107,'mysqldump_exe','MySQL Dump','mysqldump',NULL,'Path to MySQL dump','Sentora Config','false'),
(108,'dns_hasupdates','DNS Updated',NULL,NULL,NULL,NULL,'false'),
(109,'named_checkconf','Named CheckConfig','named-checkconf',NULL,'Path to named-checkconf bind utility.','DNS Config','true'),
(110,'named_checkzone','Named CheckZone','named-checkzone',NULL,'Path to named-checkzone bind utility.','DNS Config','true'),
(111,'named_compilezone','Named CompileZone','named-compilezone',NULL,' Path to named-compilezone bind utility.','DNS Config','true'),
(112,'mailer_type','Mail method','mail','mail|smtp|sendmail','Method to use when sending emails out. (mail = PHP Mail())','Sentora Config','true'),
(113,'daemon_run_interval','Number of seconds between each daemon execution','300',NULL,'The total number of seconds between each daemon run (default 300 = 5 mins)','Sentora Config','false'),
(114,'debug_mode','Sentora Debug Mode','prod','dev|prod','Whether or not to show PHP debug errors,warnings and notices','Sentora Config','true'),
(115,'password_minlength','Min Password Length','10',NULL,'Minimum length required for new passwords','Sentora Config','true'),
(116,'cron_reload_command','Cron Reload Command','crontab',NULL,'Crontab binary in Linux Only','Cron Config','true'),
(117,'cron_reload_path','Cron Reload Path','',NULL,'Cron reload path in Linux Only','Cron Config','true'),
(118,'cron_reload_flag','Cron Reload Flags','-u',NULL,'Cron reload command flags in Linux Only','Cron Config','true'),
(119,'cron_reload_user','Cron Reload User','',NULL,'Cron reload apache user in Linux','Cron Config','true'),
(120,'login_csfr','Remote Login Forms','false','false|true','Disables CSFR protection on the login form to enable remote login forms.','Sentora Config','true'),
(121,'sentora_port','Sentora Apache Port','80',NULL,'Sentora Apache panel port (change will be pending until next daemon run)','Sentora Config','true'),
(122, 'welcome_message', 'Custom e-mail Welcome Message', 'Hi {{fullname}},\nWe are pleased to inform you that your new hosting account is now active!\nYou can access your web hosting control panel using this link: {{controlpanelurl}}\nYour username and password is as follows:\nUsername: {{username}}\nPassword: {{password}}\nMany thanks,\nThe management', NULL, 'Here you can edit the Welcme Message e-mail', 'Sentora Config', 'true'),
(123, 'panel_ssl_tx', 'Sentora Panel SSL Config', NULL, NULL, 'Sentora SSL settings and certs', 'Sentora Config', 'true');
/*Table structure for table `x_translations` */
DROP TABLE IF EXISTS `x_translations`;
CREATE TABLE `x_translations` (
`tr_id_pk` int(11) NOT NULL AUTO_INCREMENT,
`tr_en_tx` text,
`tr_de_tx` text,
PRIMARY KEY (`tr_id_pk`)
) ENGINE=InnoDB AUTO_INCREMENT=125 DEFAULT CHARSET=utf8;
/*Data for the table `x_translations` */
insert into `x_translations`(`tr_id_pk`,`tr_en_tx`,`tr_de_tx`) values
(44,'Webmail is a convenient way for you to check your email accounts online without the need to configure an email client.','Webmail ist ein bequemer Weg für Sie, Ihre E-Mail-Konten online zu überprüfen, ohne dass eine E-Mail-Client zu konfigurieren.'),
(45,'Launch Webmail','Starten Sie WebMail'),
(56,'PHPInfo provides you with information regarding the version of PHP running on this system as well as installed PHP extentsions and configuration details.','PHPInfo bietet Ihnen Informationen über die PHP-Version auf dem System, sowie PHP installiert extentsions und Konfigurationsmöglichkeiten.'),
(67,"From here you can shadow any of your client's accounts, this enables you to automatically login as the user which enables you to offer remote help by seeing what they see!",'Von hier aus können alle Ihre Kunden-Accounts können Schatten, ermöglicht Ihnen dies automatisch, wenn der Benutzer mit dem Sie remote helfen zu sehen, was sie sehen, anbieten zu können login!'),
(68,'My Account','Meine Konto'),
(69,'Change Password','Kennwort ändern'),
(70,'Shadowing','Schatten'),
(71,'Sentora Config','Config Sentora'),
(72,'Sentora News','Sentora Aktuelles'),
(73,'Updates','Aktualisierung'),
(74,'Report Bug','Fehler melden'),
(75,'Account','Konto'),
(76,'Module Admin','Modul Admin'),
(77,'Backup','Sicherungskopie'),
(78,'Network Tools','Netzwerk-Tools'),
(79,'Service Status','Service Status'),
(80,'PHPInfo','PHPInfo'),
(81,'phpMyAdmin','phpMyAdmin'),
(82,'Domains','Domains'),
(83,'Sub Domains','Sub Domains'),
(84,'Parked Domains','geparkte Domains'),
(85,'Manage Clients','Verwalten Kunden'),
(86,'Package Manager','Paket Manager'),
(87,'Server','Server'),
(88,'Database','Datenbank'),
(89,'Advanced','Fortgeschritten'),
(90,'Mail','Post'),
(91,'Reseller','Wiederverkäufer'),
(92,'Account Information','Account Informationen'),
(93,'Server Admin','Server Admin'),
(94,'Database Management','Datenbank Verwalten'),
(95,'Domain Management','Verwalten von Domains'),
(96,'Find out all the latest news and information from the Sentora project.','Finden Sie heraus, alle Neuigkeiten und Informationen aus dem Sentora Projekt.'),
(97,'Check to see if there are any available updates to your version of the Sentora software.','Prüfen Sie, ob es irgendwelche verfügbaren Aktualisierungen für Ihre Version des Sentora Software.'),
(98,'If you have found a bug with Sentora you can report it here.','Did you mean: If you have found a bug with CPanel you can report it here.\r\nWenn Sie einen Fehler mit Sentora gefunden haben, können Sie ihn hier melden.'),
(99,'phpMyAdmin is a web based tool that enables you to manage your Sentora MySQL databases via. the web.','phpMyAdmin ist ein webbasiertes Tool, das Sie zu Ihrem Sentora MySQL-Datenbanken via verwalten können. im Internet.'),
(100,'Current personal details that you have provided us with, We ask that you keep these upto date in case we require to contact you regarding your hosting package.','Aktuelle persönlichen Daten, die Sie uns mit vorgesehen ist, bitten wir Sie, diese zu halten bis zu Datum, falls wir mit Ihnen Kontakt aufnehmen über Ihre Hosting-Paket erfordern.'),
(101,'Webmail is a convenient way for you to check your email accounts online without the need to configure an email client.','Webmail ist ein bequemer Weg für Sie, Ihre E-Mail-Konten online zu überprüfen, ohne dass eine E-Mail-Client zu konfigurieren.'),
(102,'Change your current control panel password.','Ändern Sie Ihre aktuelle Bedienfeld oder MySQL-Kennwort.'),
(103,'The backup manager module enables you to backup your entire hosting account including all your MySQL® databases.','Der Backup-Manager-Modul ermöglicht es Ihnen, Ihre gesamte Hosting-Account inklusive aller Ihrer MySQL ® Datenbank-Backup.'),
(104,'You can use the tools below to diagnose issues or to simply test connectivity to other servers or sites around the globe.','Sie können die folgenden Tools verwenden, um Probleme zu diagnostizieren oder einfach testen Verbindung mit anderen Servern oder Websites rund um den Globus.'),
(105,'Here you can check the current status of our services and see what services are up and running and which are down and not.','Hier können Sie den aktuellen Status unserer Dienstleistungen und sehen, welche Dienste vorhanden sind und laufen, und die nach unten und es nicht sind.'),
(106,'This module enables you to add or configure domain web hosting on your account.','Dieses Modul ermöglicht es Ihnen, hinzuzufügen oder zu konfigurieren Domain Hosting auf Ihrem Konto.'),
(107,'Domain parking refers to the registration of an Internet domain name without that domain being used to provide services such as e-mail or a website. If you have any domains that you are not using, then simply park them!','Domain-Parking bezieht sich auf die Registrierung von Internet Domain-Namen ohne diese Domäne verwendet, um Dienste wie E-Mail oder eine Webseite bereitzustellen. Wenn Sie alle Domains, die Sie nicht haben, dann einfach parken sie!'),
(108,'This module enables you to add or configure domain web hosting on your account.','Dieses Modul ermöglicht es Ihnen, hinzuzufügen oder zu konfigurieren Domain Hosting auf Ihrem Konto.'),
(109,'Administer or configure modules registered with module admin','Verwalten oder zu konfigurieren Module mit Modul admin registriert'),
(110,'The account manager enables you to view, update and create client accounts.','Die Account-Manager ermöglicht es Ihnen, anzuzeigen, zu aktualisieren und erstellen Kundenkonten.'),
(111,'Welcome to the Package Manager, using this module enables you to create and manage existing reseller packages on your Sentora hosting account.','Willkommen auf der Paket-Manager, mit diesem Modul ermöglicht Ihnen die Erstellung und Verwaltung von bestehenden Reseller-Pakete auf Ihrem Sentora Hosting-Account.'),
(112,'Gives you access to your files with drag-and-drop, multiple file uploading, text editing, zip support.','Ermöglicht den Zugriff auf Ihre Dateien mit Drag-and-drop, multiple Datei-Upload, Textbearbeitung, zip unterstützen.'),
(113,'Secure FTP Applet is a JAVA based FTP client component that runs within your web browser. It is designed to let non-technical users exchange data securely with an FTP server.','Secure FTP Applet ist eine Java-basierte FTP-Client-Komponente, die in Ihrem Web-Browser läuft. Es wurde entwickelt, um nicht-technische Anwender den Datenaustausch secureiy lassen mit einem FTP-Server.'),
(114,'Full name','Vollständiger Name'),
(115,'Email Address','E-Mail Adresse'),
(116,'Phone Number','Telefonnummer'),
(117,'Choose Language','Sprache wählen'),
(118,'Postal Address','Postanschrift'),
(119,'Postal Code','Postleitzahl'),
(120,'Current personal details that you have provided us with, We ask that you keep these upto date in case we require to contact you regarding your hosting package.','Aktuelle persönlichen Daten, die Sie uns mit vorgesehen ist, bitten wir Sie, diese zu halten bis zu Datum, falls wir mit Ihnen Kontakt aufnehmen über Ihre Hosting-Paket erfordern.'),
(121,'Changes to your account settings have been saved successfully!','Änderungen an Ihrem Konto-Einstellungen wurden erfolgreich gespeichert!'),
(122,'Update Account','Aktualisierung Konto'),
(123,'Enter your account details','Geben Sie Ihre Kontodaten');
/*Table structure for table `x_vhosts` */
DROP TABLE IF EXISTS `x_vhosts`;
CREATE TABLE `x_vhosts` (
`vh_id_pk` int(6) unsigned NOT NULL AUTO_INCREMENT,
`vh_acc_fk` int(6) DEFAULT NULL,
`vh_name_vc` varchar(255) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL,
`vh_directory_vc` varchar(255) CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT NULL,
`vh_type_in` int(1) DEFAULT '1',
`vh_active_in` int(1) DEFAULT '0',
`vh_suhosin_in` int(1) DEFAULT '1',
`vh_obasedir_in` int(1) DEFAULT '1',
`vh_ssl_tx` text DEFAULT NULL,
`vh_ssl_port_in` int(6) DEFAULT NULL,
`vh_custom_sp_tx` text DEFAULT NULL,
`vh_custom_tx` text DEFAULT NULL,
`vh_custom_port_in` int(6) DEFAULT NULL,
`vh_custom_ip_vc` varchar(45) DEFAULT NULL,
`vh_portforward_in` int(1) DEFAULT NULL,
`vh_soaserial_vc` CHAR(10) DEFAULT 'AAAAMMDDSS',
`vh_enabled_in` int(1) DEFAULT '1',
`vh_created_ts` int(30) DEFAULT NULL,
`vh_deleted_ts` int(30) DEFAULT NULL,
PRIMARY KEY (`vh_id_pk`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*Data for the table `x_vhosts` */
/* Tables for new protected directories */
DROP TABLE IF EXISTS `x_htpasswd_file`;
CREATE TABLE `x_htpasswd_file` (
`x_htpasswd_file_id` int(11) NOT NULL AUTO_INCREMENT,
`x_htpasswd_file_target` varchar(255) NOT NULL,
`x_htpasswd_file_message` varchar(255) NOT NULL,
`x_htpasswd_file_created` int(11) NOT NULL,
`x_htpasswd_file_deleted` int(11) DEFAULT NULL,
`x_htpasswd_sentora_user_id` int(11) NOT NULL,
PRIMARY KEY (`x_htpasswd_file_id`),
UNIQUE KEY `x_htpasswd_file_target` (`x_htpasswd_file_target`),
KEY `x_htpasswd_file_x_htpasswd_sentora_user_id_idx` (`x_htpasswd_sentora_user_id`)
) DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `x_htpasswd_mapper`;
CREATE TABLE `x_htpasswd_mapper` (
`x_htpasswd_mapper_id` int(11) NOT NULL AUTO_INCREMENT,
`x_htpasswd_file_id` int(11) NOT NULL,
`x_htpasswd_user_id` int(11) NOT NULL,
PRIMARY KEY (`x_htpasswd_mapper_id`),
KEY `x_htpasswd_mapper_x_htpasswd_file_id_idx` (`x_htpasswd_file_id`),
KEY `x_htpasswd_mapper_x_htpasswd_user_id_idx` (`x_htpasswd_user_id`)
) DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `x_htpasswd_user`;
CREATE TABLE `x_htpasswd_user` (
`x_htpasswd_user_id` int(11) NOT NULL AUTO_INCREMENT,
`x_htpasswd_user_username` varchar(255) NOT NULL,
`x_htpasswd_user_password` varchar(255) NOT NULL,
`x_htpasswd_user_created` int(11) NOT NULL,
`x_htpasswd_user_deleted` int(11) DEFAULT NULL,
`x_htpasswd_sentora_user_id` int(11) NOT NULL,
PRIMARY KEY (`x_htpasswd_user_id`),
UNIQUE KEY `x_htpasswd_user_username` (`x_htpasswd_user_username`),
UNIQUE KEY `x_htpasswd_user_password` (`x_htpasswd_user_password`)
) DEFAULT CHARSET=utf8;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;