Skip to content

Instantly share code, notes, and snippets.

@zuckercode
Created September 26, 2012 19:35
Show Gist options
  • Save zuckercode/3790075 to your computer and use it in GitHub Desktop.
Save zuckercode/3790075 to your computer and use it in GitHub Desktop.
webcyradm sql strcuture
# ************************************************************
# Sequel Pro SQL dump
# Version 3408
#
# http://www.sequelpro.com/
# http://code.google.com/p/sequel-pro/
#
# Host: 127.0.0.1 (MySQL 5.5.27-1~dotdeb.0)
# Datenbank: mail
# Erstellungsdauer: 2012-09-26 19:30:53 +0000
# ************************************************************
/*!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 */;
/*!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 */;
# Export von Tabelle accountuser
# ------------------------------------------------------------
DROP TABLE IF EXISTS `accountuser`;
CREATE TABLE `accountuser` (
`username` varchar(255) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
`password` varchar(50) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
`prefix` varchar(50) NOT NULL DEFAULT '',
`domain_name` varchar(255) NOT NULL DEFAULT '',
`imap` int(10) NOT NULL DEFAULT '1',
`pop` int(10) NOT NULL DEFAULT '1',
`sieve` int(10) NOT NULL DEFAULT '1',
`smtpauth` int(10) NOT NULL DEFAULT '1',
UNIQUE KEY `username` (`username`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Export von Tabelle adminuser
# ------------------------------------------------------------
DROP TABLE IF EXISTS `adminuser`;
CREATE TABLE `adminuser` (
`username` varchar(50) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
`password` varchar(50) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
`type` int(11) NOT NULL DEFAULT '0',
`SID` varchar(255) NOT NULL DEFAULT '',
`home` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`username`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Export von Tabelle alias
# ------------------------------------------------------------
DROP TABLE IF EXISTS `alias`;
CREATE TABLE `alias` (
`alias` varchar(255) NOT NULL DEFAULT '',
`dest` longtext,
`username` varchar(50) NOT NULL DEFAULT '',
`status` int(11) NOT NULL DEFAULT '1',
PRIMARY KEY (`alias`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Export von Tabelle domain
# ------------------------------------------------------------
DROP TABLE IF EXISTS `domain`;
CREATE TABLE `domain` (
`domain_name` varchar(255) NOT NULL DEFAULT '',
`prefix` varchar(50) NOT NULL DEFAULT '',
`maxaccounts` int(11) NOT NULL DEFAULT '20',
`quota` int(10) NOT NULL DEFAULT '20000',
`domainquota` int(10) NOT NULL DEFAULT '0',
`transport` varchar(255) NOT NULL DEFAULT 'cyrus',
`freenames` enum('YES','NO') NOT NULL DEFAULT 'NO',
`freeaddress` enum('YES','NO') NOT NULL DEFAULT 'NO',
`folders` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`domain_name`),
UNIQUE KEY `prefix` (`prefix`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Export von Tabelle domainadmin
# ------------------------------------------------------------
DROP TABLE IF EXISTS `domainadmin`;
CREATE TABLE `domainadmin` (
`domain_name` varchar(255) NOT NULL DEFAULT '',
`adminuser` varchar(255) NOT NULL DEFAULT ''
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Export von Tabelle log
# ------------------------------------------------------------
DROP TABLE IF EXISTS `log`;
CREATE TABLE `log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`msg` text NOT NULL,
`user` varchar(255) NOT NULL DEFAULT '',
`host` varchar(255) NOT NULL DEFAULT '',
`time` datetime NOT NULL DEFAULT '2000-00-00 00:00:00',
`pid` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `idx_log_user` (`user`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Export von Tabelle search
# ------------------------------------------------------------
DROP TABLE IF EXISTS `search`;
CREATE TABLE `search` (
`search_id` varchar(255) NOT NULL DEFAULT '',
`search_sql` text NOT NULL,
`perpage` int(11) NOT NULL DEFAULT '0',
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`search_id`),
KEY `search_id` (`search_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Export von Tabelle settings
# ------------------------------------------------------------
DROP TABLE IF EXISTS `settings`;
CREATE TABLE `settings` (
`username` varchar(50) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
`style` varchar(50) NOT NULL DEFAULT 'default',
`maxdisplay` int(4) NOT NULL DEFAULT '15',
`warnlevel` int(3) NOT NULL DEFAULT '90',
PRIMARY KEY (`username`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Export von Tabelle virtual
# ------------------------------------------------------------
DROP TABLE IF EXISTS `virtual`;
CREATE TABLE `virtual` (
`alias` varchar(255) NOT NULL DEFAULT '',
`dest` longtext,
`username` varchar(50) NOT NULL DEFAULT '',
`status` int(11) NOT NULL DEFAULT '1',
KEY `alias` (`alias`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_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 */;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment