Umfassend am Mailserver gearbeitet:

- Unnuetze Patches aus dem cyrusimapd raus
 - Eine Konfiguration und Datenbank fuer openmailadmin erstellt.
 - Konfiguration von Postfix und Cyrus ein wenig optimiert.
 - 2 Threads des saslauthd muessen reichen fuer kleine Mailserver.
Kleines Problem mit den Dateiberechtigungen in den Pakfire-Paketen gehabt und hoffentlich behoben.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@918 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-09-23 16:09:22 +00:00
parent b7ce6aa364
commit fc4ac7acab
38 changed files with 1644 additions and 3830 deletions

View File

@@ -0,0 +1,21 @@
<?php
/* Created by setup.php (1.0.0) on Sun, 23 Sep 2007 16:44:38 +0200 */
$cfg['user_ignore'] = array('cyrus');
$cfg['passwd']['strategy'] = 'PasswordPlaintext';
// repeat these lines for every server or virtual domain
$cfg['Servers']['verbose'][] = 'my database';
$cfg['Servers']['number'][] = $i++;
$cfg['Servers']['DB'][] = array(
'DSN' => 'mysql://root:mysqlfire@localhost/mail',
'PREFIX' => '',
);
$cfg['Servers']['IMAP'][] = array(
'TYPE' => 'cyrus',
'HOST' => 'localhost',
'PORT' => 143,
'ADMIN' => 'cyrus',
'PASS' => 'ipfire',
'VDOM' => ''
);
?>

View File

@@ -0,0 +1,158 @@
-- MySQL dump 10.10
--
-- Host: localhost Database: mail
-- ------------------------------------------------------
-- Server version 5.0.24a
/*!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 `domains`
--
DROP TABLE IF EXISTS `domains`;
CREATE TABLE `domains` (
`ID` int(10) unsigned NOT NULL auto_increment,
`domain` varchar(64) NOT NULL default '',
`categories` varchar(100) NOT NULL default 'all',
`owner` varchar(16) NOT NULL default '',
`a_admin` text,
`neu` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `domains`
--
/*!40000 ALTER TABLE `domains` DISABLE KEYS */;
LOCK TABLES `domains` WRITE;
UNLOCK TABLES;
/*!40000 ALTER TABLE `domains` ENABLE KEYS */;
--
-- Table structure for table `imap_demo`
--
DROP TABLE IF EXISTS `imap_demo`;
CREATE TABLE `imap_demo` (
`mailbox` varchar(250) NOT NULL default '',
`used` int(10) unsigned NOT NULL default '0',
`qmax` int(10) unsigned NOT NULL default '0',
`ACL` text,
PRIMARY KEY (`mailbox`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `imap_demo`
--
/*!40000 ALTER TABLE `imap_demo` DISABLE KEYS */;
LOCK TABLES `imap_demo` WRITE;
INSERT INTO `imap_demo` VALUES ('shared',0,0,'anyone lrswipcda');
UNLOCK TABLES;
/*!40000 ALTER TABLE `imap_demo` ENABLE KEYS */;
--
-- Table structure for table `user`
--
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`mbox` varchar(16) NOT NULL default '',
`person` varchar(100) NOT NULL default '',
`pate` varchar(16) NOT NULL default '',
`canonical` varchar(100) NOT NULL default '',
`password` varchar(40) NOT NULL default '',
`domains` varchar(100) NOT NULL default '',
`active` tinyint(1) NOT NULL default '0',
`created` int(10) unsigned NOT NULL default '0',
`last_login` int(10) unsigned NOT NULL default '0',
`max_alias` int(10) unsigned NOT NULL default '1',
`max_regexp` int(10) unsigned NOT NULL default '1',
`a_admin_domains` tinyint(4) NOT NULL default '0',
`a_admin_user` tinyint(4) NOT NULL default '0',
`a_super` tinyint(4) default '0',
PRIMARY KEY (`mbox`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user`
--
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
LOCK TABLES `user` WRITE;
INSERT INTO `user` VALUES ('admin','Admin John Doe','admin','admin@example.com','mailfire','all',1,1190483338,1190558772,10000,100,2,2,2),('cyrus','cyrus','cyrus','--@example.com','ipfire','none',1,1190483338,0,0,0,0,0,1);
UNLOCK TABLES;
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
--
-- Table structure for table `virtual`
--
DROP TABLE IF EXISTS `virtual`;
CREATE TABLE `virtual` (
`address` varchar(255) NOT NULL default '',
`dest` text,
`owner` varchar(16) NOT NULL default '',
`active` tinyint(1) NOT NULL default '1',
`neu` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`address`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `virtual`
--
/*!40000 ALTER TABLE `virtual` DISABLE KEYS */;
LOCK TABLES `virtual` WRITE;
UNLOCK TABLES;
/*!40000 ALTER TABLE `virtual` ENABLE KEYS */;
--
-- Table structure for table `virtual_regexp`
--
DROP TABLE IF EXISTS `virtual_regexp`;
CREATE TABLE `virtual_regexp` (
`ID` int(10) unsigned NOT NULL auto_increment,
`reg_exp` varchar(255) NOT NULL default '',
`dest` text,
`owner` varchar(16) NOT NULL default '',
`active` tinyint(1) NOT NULL default '0',
`neu` tinyint(1) NOT NULL default '1',
PRIMARY KEY (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `virtual_regexp`
--
/*!40000 ALTER TABLE `virtual_regexp` DISABLE KEYS */;
LOCK TABLES `virtual_regexp` WRITE;
UNLOCK TABLES;
/*!40000 ALTER TABLE `virtual_regexp` ENABLE KEYS */;
/*!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 */;