ldap, postfix and courier-imap howto
2009-05-13 10:53:20来源:未知 阅读 ()
Author: J.Vriesman, joenix@gmx.net
All new documentation (including new versions of this one) will be put
here
.
Contents
1 The ldap server
1.1 About the ldap server setup
1.2 Schema's
1.3 The tree
1.4 System-leave
1.5 Personal accounts
1.6 Shared folders
1.7 Example account ldif
1.8 makeMailMessageStoreDirs
1.9 About sldapd.conf
2 The smtp server
2.1 Overview
2.2 Virtual delivery
2.3 mydestination
2.4 virtual_maps
3 The imap server
3.1 Overview
3.2 Authldaprc
3.3 Shared folders
Abstract:
This document describes the setup of an ldap based mailsystem, using
openldap, postfix and courier-imap. It was tested on Linux, but it
should work on any os if postfix, openldap and courier-imap are available.
Features
- All mail is owned by one virtual user, no Unix accounts needed.
- Everything is configured from ldap, no need to restart server processes
when adding domains
- Shared folders can be configured from ldap
- Mail is in maildir format and can be placed on nfs
- Multiple smtp and imap servers are possible
1 The ldap server
1.1 About the ldap server setup
The ldap server contains all information needed by the smtp and imap
server and can also be used as an address book. Since there seemed
to be no objectclass which is exactly fit for this purpose, some attributes
are used in a setup-specific way, e.g. ''seeAlso'' for shared folders.
1.2 Schema's
The following schema's are included in slapd.conf:
- core.schema
- cosine.schema
- corba.schema
- inetorgperson.schema
- java.schema
- kerberosobject.schema
- nis.schema
- openldap.schema
- qmail.schema
Not all schema's are used.
1.3 The tree
Two leaves of the ldap tree are essential for the imap and smtp servers,
the first one stores ''system'' information, the other one ''account''
information.
The base for the system leave can be:
- [ou=System,o=company]
the accepted domains are stored. From here and further this is refered
to as the ''system-leave''.
The base for the accounts can be:
- [ou=Country,o=company]
passwords, aliases and shared folders. From here and further this
is refered to as the ''account-leave''.
1.4 System-leave
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- 提示:bad kernel: arp : 内网IP地址 is on em0 but got rep 2009-05-13
- OpenBSD 4.5 2009-05-13
- DragonFly BSD 2.2.1发布 2009-05-13
- NetBSD 5.0发布 2009-05-13
- Introducing NetBSD 5.0 by Andrew Doran 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash