个人工具
119.28.94.63
该IP地址的讨论
登录
查看“UbuntuHelp:Courier”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:Courier”的源代码
来自Ubuntu中文
←
UbuntuHelp:Courier
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/Courier}} {{Languages|UbuntuHelp:Courier}} == Introduction == Courier is one of the most known mail delivery agent. It only supports Maildir mailboxes and can be integrated with external databases (LDAP, MySQL, etc.). You will find a complete description on how to setup a virtual Postfix + Courier mail system on [[UbuntuHelp:PostfixCompleteVirtualMailSystemHowto|PostfixCompleteVirtualMailSystemHowto]]. A simpler setup is described at [[UbuntuHelp:PostfixAmavisNewClamAVSpamAssassin|PostfixAmavisNewClamAVSpamAssassin]]. To setup email in a generic way, look at the Ubuntu manual, for example at the [https://help.ubuntu.com/6.06/ubuntu/serverguide/C/email-services.html the ubuntu servierguide/email (6.06)]. In this howto, a basic Courier installation will be described: it will deliver mail to local existing users, mailbox will be situated in home directory. User accounts can be on an NFS file system (this is on of the advantage of Courier). == Installation == For installing courier, install the following packages: <code><nowiki>courier-imap courier-imap-ssl</nowiki></code> (see [[UbuntuHelp:InstallingSoftware|InstallingSoftware]]) If you want pop3 support, also install <code><nowiki>courier-pop</nowiki></code> and <code><nowiki>courier-pop-ssl</nowiki></code> packages. == Configuration == The configuration options are all located in <code><nowiki>/etc/courier/imapd</nowiki></code> for imap daemon and in <code><nowiki>/etc/courier/imapd-ssl</nowiki></code> for imap-ssl daemon. For a first installation, the default options perfectly match most of the needs. So no modification will be done. == Authentication == Courier authenticates using PAM out of the box. == Maildir setup == Basically, Maildir folders are located in the user home directory. That's a good idea to create Maildir for future users: <pre><nowiki> maildirmake /etc/skel/Maildir maildirmake /etc/skel/Maildir/.Drafts maildirmake /etc/skel/Maildir/.Sent maildirmake /etc/skel/Maildir/.Trash maildirmake /etc/skel/Maildir/.Templates </nowiki></pre> Then, for an existing user: <pre><nowiki> cp -r /etc/skel/Maildir /home/myuser/ chown -R myuser:usergroup /home/myuser/Maildir chmod -R 700 /home/myuser/Maildir </nowiki></pre> == Test == You can easily test that your recent installation is working: <pre><nowiki> telnet localhost imap Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information. imap login user password imap OK LOGIN Ok. </nowiki></pre> Where ''user'' and ''password'' are local accounts with a Maildir directory. If it does not work you will get an error message, and do not forget to check <code><nowiki>/var/log/mail.log</nowiki></code> == Administration & Maintainance == Administering a Courier IMAP/POP mail server does not really require some specific administration tasks. For each user connecting correspond a process of the system (in fact a process per Maildir directory open). For backup, only backing up user accounts (as usual ;-)) is necessary. ---- [[category:CategoryDocumentation]] [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:Courier
。