422 lines
18 KiB
SQL
422 lines
18 KiB
SQL
-- MySQL dump 10.14 Distrib 5.5.68-MariaDB, for Linux (x86_64)
|
|
--
|
|
-- Host: localhost Database: vmailadmin
|
|
-- ------------------------------------------------------
|
|
-- Server version 5.5.68-MariaDB
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
/*!40101 SET NAMES utf8 */;
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
/*!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 */;
|
|
|
|
--
|
|
-- Table structure for table `admin`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `admin`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `admin` (
|
|
`username` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`password` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`modified` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`active` tinyint(1) NOT NULL DEFAULT '1',
|
|
`superadmin` tinyint(1) NOT NULL DEFAULT '0',
|
|
`phone` varchar(30) CHARACTER SET utf8 NOT NULL DEFAULT '',
|
|
`email_other` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '',
|
|
`token` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '',
|
|
`token_validity` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
PRIMARY KEY (`username`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='Postfix Admin - Virtual Admins';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `admin`
|
|
--
|
|
|
|
LOCK TABLES `admin` WRITE;
|
|
/*!40000 ALTER TABLE `admin` DISABLE KEYS */;
|
|
INSERT INTO `admin` VALUES ('postmaster@example.com','{CRAM-MD5}4e24650823fd8a3eb76efab2a304f1baab302f854826eb8b7af3c6aa73112c86','2021-05-04 19:32:47','2021-05-04 19:32:47',1,1,'','','','2021-05-04 14:02:47');
|
|
/*!40000 ALTER TABLE `admin` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `alias`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `alias`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `alias` (
|
|
`address` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`goto` text COLLATE latin1_general_ci NOT NULL,
|
|
`domain` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`modified` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`active` tinyint(1) NOT NULL DEFAULT '1',
|
|
PRIMARY KEY (`address`),
|
|
KEY `domain` (`domain`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='Postfix Admin - Virtual Aliases';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `alias`
|
|
--
|
|
|
|
LOCK TABLES `alias` WRITE;
|
|
/*!40000 ALTER TABLE `alias` DISABLE KEYS */;
|
|
INSERT INTO `alias` VALUES ('catchall@example.com','postmaster@example.com','example.com','2021-05-04 21:26:57','2021-05-04 21:26:57',1),('everyone@example.com','postmaster@example.com','example.com','2021-05-04 21:26:57','2021-05-04 21:26:57',1),('noreply@example.com','noreply@example.com','example.com','2021-05-04 21:26:57','2021-05-04 21:26:57',1),('postmaster@example.com','postmaster@example.com','example.com','2021-05-04 21:27:39','2021-05-04 21:27:39',1);
|
|
/*!40000 ALTER TABLE `alias` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `alias_domain`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `alias_domain`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `alias_domain` (
|
|
`alias_domain` varchar(255) COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
|
`target_domain` varchar(255) COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
|
`created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`modified` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`active` tinyint(1) NOT NULL DEFAULT '1',
|
|
PRIMARY KEY (`alias_domain`),
|
|
KEY `active` (`active`),
|
|
KEY `target_domain` (`target_domain`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='Postfix Admin - Domain Aliases';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `alias_domain`
|
|
--
|
|
|
|
LOCK TABLES `alias_domain` WRITE;
|
|
/*!40000 ALTER TABLE `alias_domain` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `alias_domain` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `config`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `config`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `config` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
`name` varchar(20) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
|
`value` varchar(20) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `name` (`name`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COMMENT='PostfixAdmin settings';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `config`
|
|
--
|
|
|
|
LOCK TABLES `config` WRITE;
|
|
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
|
|
INSERT INTO `config` VALUES (1,'version','1843');
|
|
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `domain`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `domain`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `domain` (
|
|
`domain` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`description` varchar(255) CHARACTER SET utf8 NOT NULL,
|
|
`aliases` int(10) NOT NULL DEFAULT '0',
|
|
`mailboxes` int(10) NOT NULL DEFAULT '0',
|
|
`maxquota` bigint(20) NOT NULL DEFAULT '0',
|
|
`quota` bigint(20) NOT NULL DEFAULT '0',
|
|
`transport` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`backupmx` tinyint(1) NOT NULL DEFAULT '0',
|
|
`created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`modified` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`active` tinyint(1) NOT NULL DEFAULT '1',
|
|
`password_expiry` int(11) DEFAULT '0',
|
|
PRIMARY KEY (`domain`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='Postfix Admin - Virtual Domains';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `domain`
|
|
--
|
|
|
|
LOCK TABLES `domain` WRITE;
|
|
/*!40000 ALTER TABLE `domain` DISABLE KEYS */;
|
|
INSERT INTO `domain` VALUES ('ALL','',0,0,0,0,'',0,'2021-05-04 19:32:47','2021-05-04 19:32:47',1,0),('example.com','',10,10,10,2048,'virtual',0,'2021-05-04 21:26:57','2021-05-04 21:26:57',1,365);
|
|
/*!40000 ALTER TABLE `domain` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `domain_admins`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `domain_admins`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `domain_admins` (
|
|
`username` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`domain` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`active` tinyint(1) NOT NULL DEFAULT '1',
|
|
KEY `username` (`username`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='Postfix Admin - Domain Admins';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `domain_admins`
|
|
--
|
|
|
|
LOCK TABLES `domain_admins` WRITE;
|
|
/*!40000 ALTER TABLE `domain_admins` DISABLE KEYS */;
|
|
INSERT INTO `domain_admins` VALUES ('postmaster@example.com','ALL','2021-05-04 19:32:47',1);
|
|
/*!40000 ALTER TABLE `domain_admins` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `fetchmail`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `fetchmail`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `fetchmail` (
|
|
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
|
`mailbox` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`src_server` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`src_auth` enum('password','kerberos_v5','kerberos','kerberos_v4','gssapi','cram-md5','otp','ntlm','msn','ssh','any') CHARACTER SET latin1 DEFAULT NULL,
|
|
`src_user` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`src_password` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`src_folder` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`poll_time` int(11) unsigned NOT NULL DEFAULT '10',
|
|
`fetchall` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
|
`keep` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
|
`protocol` enum('POP3','IMAP','POP2','ETRN','AUTO') CHARACTER SET latin1 DEFAULT NULL,
|
|
`usessl` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
|
`extra_options` text COLLATE latin1_general_ci,
|
|
`returned_text` text COLLATE latin1_general_ci,
|
|
`mda` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`date` timestamp NOT NULL DEFAULT '1999-12-31 18:30:00',
|
|
`sslcertck` tinyint(1) NOT NULL DEFAULT '0',
|
|
`sslcertpath` varchar(255) CHARACTER SET utf8 DEFAULT '',
|
|
`sslfingerprint` varchar(255) COLLATE latin1_general_ci DEFAULT '',
|
|
`domain` varchar(255) COLLATE latin1_general_ci DEFAULT '',
|
|
`active` tinyint(1) NOT NULL DEFAULT '0',
|
|
`created` timestamp NOT NULL DEFAULT '1999-12-31 18:30:00',
|
|
`modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
`src_port` int(11) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `fetchmail`
|
|
--
|
|
|
|
LOCK TABLES `fetchmail` WRITE;
|
|
/*!40000 ALTER TABLE `fetchmail` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `fetchmail` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `log`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `log`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `log` (
|
|
`timestamp` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`username` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`domain` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`action` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`data` text COLLATE latin1_general_ci NOT NULL,
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
PRIMARY KEY (`id`),
|
|
KEY `timestamp` (`timestamp`),
|
|
KEY `domain_timestamp` (`domain`,`timestamp`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='Postfix Admin - Log';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `log`
|
|
--
|
|
|
|
LOCK TABLES `log` WRITE;
|
|
/*!40000 ALTER TABLE `log` DISABLE KEYS */;
|
|
INSERT INTO `log` VALUES ('2021-05-04 19:32:47','SETUP.PHP (192.168.43.142)','','create_admin','postmaster@example.com',1),('2021-05-04 21:26:57','postmaster@example.com (192.168.43.142)','example.com','create_domain','example.com',2),('2021-05-04 21:27:39','postmaster@example.com (192.168.43.142)','example.com','create_alias','postmaster@example.com',3),('2021-05-04 21:27:40','postmaster@example.com (192.168.43.142)','example.com','create_mailbox','postmaster@example.com',4),('2021-05-04 21:28:07','postmaster@example.com (192.168.43.142)','example.com','create_alias','harish@example.com',5),('2021-05-04 21:28:07','postmaster@example.com (192.168.43.142)','example.com','create_mailbox','harish@example.com',6),('2021-05-05 16:41:15','postmaster@example.com (192.168.43.142)','example.com','edit_alias','postmaster@example.com',7),('2021-05-05 16:41:15','postmaster@example.com (192.168.43.142)','example.com','edit_mailbox','postmaster@example.com',8),('2021-05-05 16:41:34','postmaster@example.com (192.168.43.142)','example.com','delete_mailbox','harish@example.com',9),('2021-05-05 16:42:28','postmaster@example.com (192.168.43.142)','example.com','edit_alias','catchall@example.com',10),('2021-05-05 16:43:08','postmaster@example.com (192.168.43.142)','example.com','edit_alias','everyone@example.com',11),('2021-05-05 16:43:36','postmaster@example.com (192.168.43.142)','example.com','edit_alias','everyone@example.com',12),('2021-05-05 19:52:30','postmaster@example.com (192.168.43.142)','','edit_admin','postmaster@example.com',13),('2021-05-05 19:52:43','postmaster@example.com (192.168.43.142)','','edit_password','postmaster@example.com',14);
|
|
/*!40000 ALTER TABLE `log` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `mailbox`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `mailbox`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `mailbox` (
|
|
`username` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`password` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`name` varchar(255) CHARACTER SET utf8 NOT NULL,
|
|
`maildir` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`quota` bigint(20) NOT NULL DEFAULT '0',
|
|
`local_part` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`domain` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`modified` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`active` tinyint(1) NOT NULL DEFAULT '1',
|
|
`phone` varchar(30) CHARACTER SET utf8 NOT NULL DEFAULT '',
|
|
`email_other` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '',
|
|
`token` varchar(255) CHARACTER SET utf8 NOT NULL DEFAULT '',
|
|
`token_validity` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`password_expiry` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
PRIMARY KEY (`username`),
|
|
KEY `domain` (`domain`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='Postfix Admin - Virtual Mailboxes';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `mailbox`
|
|
--
|
|
|
|
LOCK TABLES `mailbox` WRITE;
|
|
/*!40000 ALTER TABLE `mailbox` DISABLE KEYS */;
|
|
INSERT INTO `mailbox` VALUES ('postmaster@example.com','{CRAM-MD5}4e24650823fd8a3eb76efab2a304f1baab302f854826eb8b7af3c6aa73112c86','','example.com/postmaster/',5120000,'postmaster','example.com','2021-05-04 21:27:39','2021-05-04 21:27:39',1,'','','','2021-05-04 21:27:39','2022-05-05 16:41:00');
|
|
/*!40000 ALTER TABLE `mailbox` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `quota`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `quota`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `quota` (
|
|
`username` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`path` varchar(100) COLLATE latin1_general_ci NOT NULL,
|
|
`current` bigint(20) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`username`,`path`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `quota`
|
|
--
|
|
|
|
LOCK TABLES `quota` WRITE;
|
|
/*!40000 ALTER TABLE `quota` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `quota` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `quota2`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `quota2`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `quota2` (
|
|
`username` varchar(100) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
|
|
`bytes` bigint(20) NOT NULL DEFAULT '0',
|
|
`messages` int(11) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`username`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `quota2`
|
|
--
|
|
|
|
LOCK TABLES `quota2` WRITE;
|
|
/*!40000 ALTER TABLE `quota2` DISABLE KEYS */;
|
|
INSERT INTO `quota2` VALUES ('postmaster@example.com',5405,8);
|
|
/*!40000 ALTER TABLE `quota2` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `vacation`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `vacation`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `vacation` (
|
|
`email` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`subject` varchar(255) CHARACTER SET utf8 NOT NULL,
|
|
`body` text CHARACTER SET utf8 NOT NULL,
|
|
`cache` text COLLATE latin1_general_ci NOT NULL,
|
|
`domain` varchar(255) COLLATE latin1_general_ci NOT NULL,
|
|
`created` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',
|
|
`active` tinyint(1) NOT NULL DEFAULT '1',
|
|
`modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
`activefrom` timestamp NOT NULL DEFAULT '1999-12-31 18:30:00',
|
|
`activeuntil` timestamp NOT NULL DEFAULT '2038-01-17 18:30:00',
|
|
`interval_time` int(11) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`email`),
|
|
KEY `email` (`email`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='Postfix Admin - Virtual Vacation';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `vacation`
|
|
--
|
|
|
|
LOCK TABLES `vacation` WRITE;
|
|
/*!40000 ALTER TABLE `vacation` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `vacation` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `vacation_notification`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `vacation_notification`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `vacation_notification` (
|
|
`on_vacation` varchar(255) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
|
|
`notified` varchar(255) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
|
`notified_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
PRIMARY KEY (`on_vacation`,`notified`),
|
|
CONSTRAINT `vacation_notification_pkey` FOREIGN KEY (`on_vacation`) REFERENCES `vacation` (`email`) ON DELETE CASCADE
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Postfix Admin - Virtual Vacation Notifications';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `vacation_notification`
|
|
--
|
|
|
|
LOCK TABLES `vacation_notification` WRITE;
|
|
/*!40000 ALTER TABLE `vacation_notification` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `vacation_notification` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
-- Dump completed on 2021-05-05 19:58:14
|