From 348aef798afc67d45e60022b40a2a5becac8ebc4 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 23 Nov 2005 18:33:07 -0500
Subject: [PATCH] added mail_box

---
 interface/sql/ispconfig3db.sql |   49 +++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 45 insertions(+), 4 deletions(-)

diff --git a/interface/sql/ispconfig3db.sql b/interface/sql/ispconfig3db.sql
index 590243f..08a880d 100644
--- a/interface/sql/ispconfig3db.sql
+++ b/interface/sql/ispconfig3db.sql
@@ -3,9 +3,9 @@
 # http://www.phpmyadmin.net/ (download page)
 #
 # Host: localhost
-# Erstellungszeit: 23. November 2005 um 18:15
-# Server Version: 4.0.22
-# PHP-Version: 5.0.2
+# Erstellungszeit: 24. November 2005 um 00:31
+# Server Version: 4.0.23
+# PHP-Version: 5.0.3
 # Datenbank: `ispconfig3`
 # --------------------------------------------------------
 
@@ -13,6 +13,7 @@
 # Tabellenstruktur f�r Tabelle `mail_blacklist`
 #
 
+DROP TABLE IF EXISTS mail_blacklist;
 CREATE TABLE mail_blacklist (
   blacklist_id int(11) NOT NULL auto_increment,
   server_id int(11) NOT NULL default '0',
@@ -31,6 +32,7 @@
 # Tabellenstruktur f�r Tabelle `mail_box`
 #
 
+DROP TABLE IF EXISTS mail_box;
 CREATE TABLE mail_box (
   mailbox_id int(11) NOT NULL auto_increment,
   sys_userid int(11) NOT NULL default '0',
@@ -49,7 +51,7 @@
   quota varchar(255) NOT NULL default '',
   cc varchar(50) NOT NULL default '',
   forward varchar(50) NOT NULL default '',
-  autoresponder enum('yes','no') NOT NULL default 'no',
+  autoresponder enum('0','1') NOT NULL default '0',
   autoresponder_text tinytext NOT NULL,
   active enum('0','1') NOT NULL default '1',
   antivirus enum('yes','no') NOT NULL default 'no',
@@ -63,12 +65,14 @@
 # Daten f�r Tabelle `mail_box`
 #
 
+INSERT INTO mail_box VALUES (1, 1, 0, 'riud', 'riud', '', 1, 'till@test.de', '$1$ye3.TQ1.$v/RvqbuU.Gh7UrLlA6HqX/', '', '', 0, 0, '', '', '', '', '0', '', '1', 'no', 'no', 'no');
 # --------------------------------------------------------
 
 #
 # Tabellenstruktur f�r Tabelle `mail_domain`
 #
 
+DROP TABLE IF EXISTS mail_domain;
 CREATE TABLE mail_domain (
   domain_id int(11) NOT NULL auto_increment,
   sys_userid int(11) NOT NULL default '0',
@@ -98,6 +102,7 @@
 # Tabellenstruktur f�r Tabelle `mail_domain_catchall`
 #
 
+DROP TABLE IF EXISTS mail_domain_catchall;
 CREATE TABLE mail_domain_catchall (
   virtual_default_id int(11) NOT NULL auto_increment,
   server_id int(11) NOT NULL default '0',
@@ -117,6 +122,7 @@
 # Tabellenstruktur f�r Tabelle `mail_greylist`
 #
 
+DROP TABLE IF EXISTS mail_greylist;
 CREATE TABLE mail_greylist (
   greylist_id int(11) NOT NULL auto_increment,
   relay_ip varchar(64) default NULL,
@@ -138,6 +144,7 @@
 # Tabellenstruktur f�r Tabelle `mail_mailman_domain`
 #
 
+DROP TABLE IF EXISTS mail_mailman_domain;
 CREATE TABLE mail_mailman_domain (
   mailman_id int(11) NOT NULL auto_increment,
   server_id int(11) NOT NULL default '0',
@@ -159,6 +166,7 @@
 # Tabellenstruktur f�r Tabelle `mail_redirect`
 #
 
+DROP TABLE IF EXISTS mail_redirect;
 CREATE TABLE mail_redirect (
   email_id int(11) NOT NULL auto_increment,
   sys_userid int(11) NOT NULL default '0',
@@ -185,6 +193,7 @@
 # Tabellenstruktur f�r Tabelle `mail_whitelist`
 #
 
+DROP TABLE IF EXISTS mail_whitelist;
 CREATE TABLE mail_whitelist (
   whitelist_id int(11) NOT NULL auto_increment,
   server_id int(11) NOT NULL default '0',
@@ -203,6 +212,7 @@
 # Tabellenstruktur f�r Tabelle `reseller`
 #
 
+DROP TABLE IF EXISTS reseller;
 CREATE TABLE reseller (
   reseller_id bigint(20) NOT NULL auto_increment,
   sys_userid int(11) NOT NULL default '0',
@@ -247,6 +257,7 @@
 # Tabellenstruktur f�r Tabelle `server`
 #
 
+DROP TABLE IF EXISTS server;
 CREATE TABLE server (
   server_id bigint(20) NOT NULL auto_increment,
   sys_userid int(11) NOT NULL default '0',
@@ -277,6 +288,7 @@
 # Tabellenstruktur f�r Tabelle `sys_datalog`
 #
 
+DROP TABLE IF EXISTS sys_datalog;
 CREATE TABLE sys_datalog (
   datalog_id bigint(20) NOT NULL auto_increment,
   dbtable varchar(255) NOT NULL default '',
@@ -295,12 +307,38 @@
 INSERT INTO sys_datalog VALUES (1, 'mail_domain', 'domain_id:0', 'i', 1132758298, 'admin', 'a:5:{s:9:"server_id";a:2:{s:3:"old";N;s:3:"new";i:1;}s:6:"domain";a:2:{s:3:"old";N;s:3:"new";s:7:"test.de";}s:11:"destination";a:2:{s:3:"old";N;s:3:"new";s:8:"hallo.de";}s:4:"type";a:2:{s:3:"old";N;s:3:"new";s:5:"alias";}s:6:"active";a:2:{s:3:"old";N;s:3:"new";i:1;}}');
 INSERT INTO sys_datalog VALUES (2, 'mail_domain', 'domain_id:2', 'u', 1132759303, 'admin', 'a:1:{s:6:"domain";a:2:{s:3:"old";s:7:"test.de";s:3:"new";s:8:"test2.de";}}');
 INSERT INTO sys_datalog VALUES (3, 'mail_domain', 'domain_id:2', 'u', 1132759328, 'admin', 'a:1:{s:11:"destination";a:2:{s:3:"old";s:8:"hallo.de";s:3:"new";s:7:"test.de";}}');
+INSERT INTO sys_datalog VALUES (4, 'mail_box', 'mailbox_id:0', 'i', 1132775402, 'admin', 'a:3:{s:5:"email";a:2:{s:3:"old";N;s:3:"new";s:12:"till@test.de";}s:8:"cryptpwd";a:2:{s:3:"old";N;s:3:"new";s:5:"hallo";}s:6:"active";a:2:{s:3:"old";N;s:3:"new";i:1;}}');
+INSERT INTO sys_datalog VALUES (5, 'mail_box', 'mailbox_id:1', 'u', 1132775575, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (6, 'mail_box', 'mailbox_id:1', 'u', 1132775587, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (7, 'mail_box', 'mailbox_id:1', 'u', 1132775898, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (8, 'mail_box', 'mailbox_id:1', 'u', 1132775901, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (9, 'mail_box', 'mailbox_id:1', 'u', 1132777011, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (10, 'mail_box', 'mailbox_id:1', 'u', 1132777757, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (11, 'mail_box', 'mailbox_id:1', 'u', 1132777760, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (12, 'mail_box', 'mailbox_id:1', 'u', 1132777764, 'admin', 'a:2:{s:5:"email";a:2:{s:3:"old";s:12:"till@test.de";s:3:"new";s:13:"till2@test.de";}s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (13, 'mail_box', 'mailbox_id:1', 'u', 1132777768, 'admin', 'a:2:{s:5:"email";a:2:{s:3:"old";s:13:"till2@test.de";s:3:"new";s:12:"till@test.de";}s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (14, 'mail_box', 'mailbox_id:1', 'u', 1132778380, 'admin', 'a:2:{s:9:"server_id";a:2:{s:3:"old";s:1:"0";s:3:"new";i:1;}s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (15, 'mail_box', 'mailbox_id:1', 'u', 1132784990, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (16, 'mail_box', 'mailbox_id:0', 'i', 1132785424, 'admin', 'a:3:{s:9:"server_id";a:2:{s:3:"old";N;s:3:"new";i:1;}s:5:"email";a:2:{s:3:"old";N;s:3:"new";s:8:"@test.de";}s:6:"active";a:2:{s:3:"old";N;s:3:"new";i:1;}}');
+INSERT INTO sys_datalog VALUES (17, 'mail_box', 'mailbox_id:1', 'u', 1132786068, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (18, 'mail_box', 'mailbox_id:1', 'u', 1132786083, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (19, 'mail_box', 'mailbox_id:1', 'u', 1132786772, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (20, 'mail_box', 'mailbox_id:1', 'u', 1132786777, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:32:"598d4c200461b81522a3328565c25f7c";s:3:"new";s:4:"test";}}');
+INSERT INTO sys_datalog VALUES (21, 'mail_box', 'mailbox_id:1', 'u', 1132786796, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:0:"";s:3:"new";s:4:"test";}}');
+INSERT INTO sys_datalog VALUES (22, 'mail_box', 'mailbox_id:1', 'u', 1132786860, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:0:"";s:3:"new";s:4:"test";}}');
+INSERT INTO sys_datalog VALUES (23, 'mail_box', 'mailbox_id:1', 'u', 1132787252, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:0:"";s:3:"new";s:4:"test";}}');
+INSERT INTO sys_datalog VALUES (24, 'mail_box', 'mailbox_id:1', 'u', 1132787548, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:34:"$1$ye3.TQ1.$v/RvqbuU.Gh7UrLlA6HqX/";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (25, 'mail_box', 'mailbox_id:1', 'u', 1132787761, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:34:"$1$ye3.TQ1.$v/RvqbuU.Gh7UrLlA6HqX/";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (26, 'mail_box', 'mailbox_id:0', 'i', 1132787775, 'admin', 'a:3:{s:9:"server_id";a:2:{s:3:"old";N;s:3:"new";i:1;}s:5:"email";a:2:{s:3:"old";N;s:3:"new";s:12:"test@test.de";}s:6:"active";a:2:{s:3:"old";N;s:3:"new";i:1;}}');
+INSERT INTO sys_datalog VALUES (27, 'mail_box', 'mailbox_id:1', 'u', 1132788121, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:34:"$1$ye3.TQ1.$v/RvqbuU.Gh7UrLlA6HqX/";s:3:"new";s:0:"";}}');
+INSERT INTO sys_datalog VALUES (28, 'mail_box', 'mailbox_id:1', 'u', 1132788482, 'admin', 'a:1:{s:8:"cryptpwd";a:2:{s:3:"old";s:34:"$1$ye3.TQ1.$v/RvqbuU.Gh7UrLlA6HqX/";s:3:"new";s:0:"";}}');
 # --------------------------------------------------------
 
 #
 # Tabellenstruktur f�r Tabelle `sys_dbsync`
 #
 
+DROP TABLE IF EXISTS sys_dbsync;
 CREATE TABLE sys_dbsync (
   id bigint(20) NOT NULL auto_increment,
   jobname varchar(255) NOT NULL default '',
@@ -329,6 +367,7 @@
 # Tabellenstruktur f�r Tabelle `sys_filesync`
 #
 
+DROP TABLE IF EXISTS sys_filesync;
 CREATE TABLE sys_filesync (
   id bigint(20) NOT NULL auto_increment,
   jobname varchar(255) NOT NULL default '',
@@ -353,6 +392,7 @@
 # Tabellenstruktur f�r Tabelle `sys_group`
 #
 
+DROP TABLE IF EXISTS sys_group;
 CREATE TABLE sys_group (
   groupid int(11) NOT NULL auto_increment,
   name varchar(255) NOT NULL default '',
@@ -372,6 +412,7 @@
 # Tabellenstruktur f�r Tabelle `sys_user`
 #
 
+DROP TABLE IF EXISTS sys_user;
 CREATE TABLE sys_user (
   userid int(11) NOT NULL auto_increment,
   sys_userid int(11) NOT NULL default '0',

--
Gitblit v1.9.1