Changeset 157

Show
Ignore:
Timestamp:
08/25/07 02:27:36 (17 months ago)
Author:
jonas
Message:

CpVES version 0.04

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r156 r157  
    1 CpVES 0.04 YYYY-MM-DD - Jonas Genannt - <jonas.genannt@brachium-system.net> 
     1CpVES 0.04 2007-08-25 - Jonas Genannt - <jonas.genannt@brachium-system.net> 
    22        o Added: Webmail to config.inc.php and navigation for direct webmail link 
    33        o Added: initial language split 
  • trunk/mail_system.sql

    r95 r157  
     1-- phpMyAdmin SQL Dump 
     2-- version 2.6.2-Debian-3sarge3 
     3-- http://www.phpmyadmin.net 
     4--  
     5-- Host: localhost 
     6-- Generation Time: Aug 25, 2007 at 02:18 AM 
     7-- Server version: 4.1.11 
     8-- PHP Version: 4.3.10-22 
    19--  
    210-- Database: `mail_system` 
     
    1321  `username` varchar(200) collate utf8_unicode_ci NOT NULL default '', 
    1422  `passwd` varchar(200) collate utf8_unicode_ci NOT NULL default '', 
    15   `access` enum('y','n') collate utf8_unicode_ci NOT NULL default 'y', 
    16   `manager` enum('n','y') collate utf8_unicode_ci NOT NULL default 'n', 
     23  `access` tinyint(1) NOT NULL default '1', 
     24  `manager` tinyint(1) NOT NULL default '0', 
    1725  `full_name` varchar(255) collate utf8_unicode_ci default NULL, 
    1826  `cpasswd` varchar(255) character set utf8 NOT NULL default '', 
    1927  PRIMARY KEY  (`id`), 
    2028  UNIQUE KEY `id` (`id`) 
    21 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
     29) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
     30 
     31--  
     32-- Dumping data for table `adm_users` 
     33--  
     34 
     35INSERT INTO `adm_users` VALUES (1, 'admin', '', 1, 1, 'Superadmin', '$1$Ekjbn5PV$lTKL1k2IkDKzpneppf6Wx0'); 
    2236 
    2337-- -------------------------------------------------------- 
     
    3246  `domain` int(11) NOT NULL default '0', 
    3347  PRIMARY KEY  (`id`) 
    34 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
     48) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
     49 
     50--  
     51-- Dumping data for table `admin_access` 
     52--  
     53 
    3554 
    3655-- -------------------------------------------------------- 
     
    4665  `active` enum('y','n') collate utf8_unicode_ci NOT NULL default 'y', 
    4766  `email` int(11) NOT NULL default '0', 
     67  `times` char(1) collate utf8_unicode_ci NOT NULL default '1', 
    4868  PRIMARY KEY  (`id`), 
    4969  KEY `email` (`email`) 
    5070) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
     71 
     72--  
     73-- Dumping data for table `autoresponder` 
     74--  
     75 
    5176 
    5277-- -------------------------------------------------------- 
     
    6590) ENGINE=MyISAM DEFAULT CHARSET=utf8; 
    6691 
     92--  
     93-- Dumping data for table `autoresponder_disable` 
     94--  
     95 
     96 
    6797-- -------------------------------------------------------- 
    6898 
     
    78108  KEY `email` (`email`) 
    79109) ENGINE=MyISAM DEFAULT CHARSET=utf8; 
     110 
     111--  
     112-- Dumping data for table `autoresponder_recipient` 
     113--  
     114 
    80115 
    81116-- -------------------------------------------------------- 
     
    94129) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
    95130 
     131--  
     132-- Dumping data for table `autoresponder_send` 
     133--  
     134 
     135 
    96136-- -------------------------------------------------------- 
    97137 
     
    103143  `id` int(11) NOT NULL auto_increment, 
    104144  `dnsname` varchar(255) collate utf8_unicode_ci NOT NULL default '', 
    105   `access` enum('y','n') collate utf8_unicode_ci NOT NULL default 'y', 
     145  `access` tinyint(1) NOT NULL default '0', 
    106146  `p_imap` tinyint(1) default '1', 
    107147  `p_pop3` tinyint(1) default '1', 
     
    114154  `p_bogofilter` tinyint(1) NOT NULL default '0', 
    115155  `p_sa_wb_listing` tinyint(1) NOT NULL default '0', 
     156  `p_mailfilter` tinyint(1) NOT NULL default '0', 
     157  `p_spam_del` tinyint(1) NOT NULL default '0', 
     158  `enew` tinyint(1) NOT NULL default '1', 
     159  `p_sa_learn` tinyint(1) NOT NULL default '0', 
     160  `p_fetchmail` tinyint(1) NOT NULL default '0', 
     161  `p_webinterface` tinyint(1) NOT NULL default '1', 
    116162  PRIMARY KEY  (`id`), 
    117163  UNIQUE KEY `dnsname_2` (`dnsname`) 
    118 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
     164) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
     165 
     166--  
     167-- Dumping data for table `domains` 
     168--  
     169 
    119170 
    120171-- -------------------------------------------------------- 
     
    134185) ENGINE=MyISAM DEFAULT CHARSET=latin1; 
    135186 
     187--  
     188-- Dumping data for table `email_options` 
     189--  
     190 
     191 
     192-- -------------------------------------------------------- 
     193 
     194--  
     195-- Table structure for table `fetchmail` 
     196--  
     197 
     198CREATE TABLE `fetchmail` ( 
     199  `id` int(11) NOT NULL auto_increment, 
     200  `email` int(11) NOT NULL default '0', 
     201  `server` varchar(255) NOT NULL default '', 
     202  `proto` tinyint(1) NOT NULL default '0', 
     203  `conn_type` tinyint(1) NOT NULL default '0', 
     204  `username` varchar(255) NOT NULL default '', 
     205  `password` varchar(255) NOT NULL default '', 
     206  `keep_mails` tinyint(1) NOT NULL default '0', 
     207  `active` tinyint(1) NOT NULL default '1', 
     208  PRIMARY KEY  (`id`), 
     209  KEY `email` (`email`), 
     210  KEY `active` (`active`) 
     211) ENGINE=MyISAM DEFAULT CHARSET=utf8; 
     212 
     213--  
     214-- Dumping data for table `fetchmail` 
     215--  
     216 
     217 
    136218-- -------------------------------------------------------- 
    137219 
     
    145227  `efrom` varchar(255) collate utf8_unicode_ci NOT NULL default '', 
    146228  `eto` text collate utf8_unicode_ci NOT NULL, 
    147   `access` enum('y','n') collate utf8_unicode_ci NOT NULL default 'y', 
     229  `access` tinyint(1) NOT NULL default '1', 
    148230  PRIMARY KEY  (`id`), 
    149231  UNIQUE KEY `efrom` (`efrom`) 
    150 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
     232) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
     233 
     234--  
     235-- Dumping data for table `forwardings` 
     236--  
     237 
    151238 
    152239-- -------------------------------------------------------- 
     
    161248  KEY `listID` (`id`) 
    162249) ENGINE=MyISAM DEFAULT CHARSET=latin1; 
     250 
     251--  
     252-- Dumping data for table `list_recp` 
     253--  
     254 
    163255 
    164256-- -------------------------------------------------------- 
     
    178270) ENGINE=MyISAM DEFAULT CHARSET=latin1; 
    179271 
     272--  
     273-- Dumping data for table `lists` 
     274--  
     275 
     276 
     277-- -------------------------------------------------------- 
     278 
     279--  
     280-- Table structure for table `mailarchive` 
     281--  
     282 
     283CREATE TABLE `mailarchive` ( 
     284  `id` int(11) NOT NULL auto_increment, 
     285  `email` int(11) NOT NULL default '0', 
     286  `folder` varchar(250) NOT NULL default '', 
     287  `adays` int(11) NOT NULL default '0', 
     288  `fname_month` tinyint(1) NOT NULL default '0', 
     289  `fname_year` tinyint(1) NOT NULL default '0', 
     290  `active` tinyint(1) NOT NULL default '0', 
     291  `mailsread` tinyint(1) NOT NULL default '0', 
     292  PRIMARY KEY  (`id`), 
     293  KEY `email` (`email`,`active`) 
     294) ENGINE=MyISAM DEFAULT CHARSET=utf8; 
     295 
     296--  
     297-- Dumping data for table `mailarchive` 
     298--  
     299 
     300 
    180301-- -------------------------------------------------------- 
    181302 
     
    195316) ENGINE=MyISAM DEFAULT CHARSET=utf8; 
    196317 
     318--  
     319-- Dumping data for table `mailfilter` 
     320--  
     321 
     322 
    197323-- -------------------------------------------------------- 
    198324 
     
    210336  KEY `domainid` (`domainid`), 
    211337  KEY `type` (`type`) 
    212 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8; 
     338) ENGINE=MyISAM DEFAULT CHARSET=utf8; 
     339 
     340--  
     341-- Dumping data for table `sa_wb_listing` 
     342--  
     343 
    213344 
    214345-- -------------------------------------------------------- 
     
    219350 
    220351CREATE TABLE `spamassassin` ( 
     352  `email` int(11) NOT NULL default '0', 
    221353  `username` varchar(100) NOT NULL default '', 
    222354  `preference` varchar(30) NOT NULL default '', 
     
    228360) ENGINE=MyISAM DEFAULT CHARSET=utf8; 
    229361 
     362--  
     363-- Dumping data for table `spamassassin` 
     364--  
     365 
     366 
     367-- -------------------------------------------------------- 
     368 
     369--  
     370-- Table structure for table `spamassassin_learn` 
     371--  
     372 
     373CREATE TABLE `spamassassin_learn` ( 
     374  `id` int(11) NOT NULL auto_increment, 
     375  `email` int(11) NOT NULL default '0', 
     376  `folder` varchar(255) NOT NULL default '', 
     377  `active` tinyint(1) NOT NULL default '0', 
     378  `type` enum('spam','ham') NOT NULL default 'spam', 
     379  PRIMARY KEY  (`id`) 
     380) ENGINE=MyISAM DEFAULT CHARSET=latin1; 
     381 
     382--  
     383-- Dumping data for table `spamassassin_learn` 
     384--  
     385 
     386 
    230387-- -------------------------------------------------------- 
    231388 
     
    240397  `passwd` varchar(200) collate utf8_unicode_ci NOT NULL default '', 
    241398  `full_name` text collate utf8_unicode_ci NOT NULL, 
    242   `access` enum('y','n') collate utf8_unicode_ci NOT NULL default 'y', 
     399  `access` tinyint(1) NOT NULL default '0', 
    243400  `enew` tinyint(4) NOT NULL default '1', 
    244   `admin` enum('n','y') collate utf8_unicode_ci NOT NULL default 'n', 
    245401  `p_imap` tinyint(1) default '1', 
    246402  `p_pop3` tinyint(1) default '1', 
     
    252408  `p_mailarchive` tinyint(1) default '0', 
    253409  `p_bogofilter` tinyint(1) NOT NULL default '0', 
     410  `p_spam_del` tinyint(1) NOT NULL default '0', 
     411  `p_sa_learn` tinyint(1) NOT NULL default '0', 
     412  `p_fetchmail` tinyint(1) NOT NULL default '0', 
     413  `p_webinterface` tinyint(1) NOT NULL default '1', 
    254414  PRIMARY KEY  (`id`), 
    255415  UNIQUE KEY `email` (`email`) 
    256 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
    257  
    258 INSERT INTO `adm_users` VALUES (1, 'admin', '', 'y', 'y', 'Superadmin', '$1$Ekjbn5PV$lTKL1k2IkDKzpneppf6Wx0'); 
     416) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; 
     417 
     418--  
     419-- Dumping data for table `users` 
     420--  
     421 
     422