Courier well-known mail send agent program installation and configuration

Source: Internet
Author: User
Keywords installation user program installation
Tags agents basic can find configuration directory etc external find

Courier is one of the most well-known mail-sending agents. It only supports mailboxes in Maildir format and can be integrated with external databases (LDAP, MySQL, etc.). You can find a complete description of how to install a virtual Postfix+courier messaging system in POSTFIXCOMPLETEVIRTUALMAILSYSTEMHOWTO. This article describes the basic installation of courier, the implementation of forwarding mail to the local presence of users, mailbox settings in the home folder. Notably, Courier supports user accounts in NFS file systems (which is also a major advantage of courier).

Installation

The packages that are installed courier need to be installed are: Courier-imap and Courier-imap-ssl (see Installingsoftware).

If you want to support POP3, you need to install Courier-pop and Courier-pop-ssl.

Configuration

All configuration options are in/ETC/COURIER/IMAPD and/etc/courier/imapd-ssl, which are used to configure the IMAP daemon, which is used to configure the Imap-ssl daemon. If you are installing for the first time, the default configuration will be a good fit for most of your needs without any modification.

Certification

Courier's authentication uses Pam and does not require any configuration to use.

Mail directory settings

Typically, the mail directory is set up under the user's home folder. This can be convenient later http://www.aliyun.com/zixun/aggregation/18538.html "> The creation of the mail directory when new users:

Maildirmake/etc/skel/maildir
maildirmake/etc/skel/maildir/. Drafts
maildirmake/etc/skel/maildir/. Sent
maildirmake/etc/skel/maildir/. Trash
maildirmake/etc/skel/maildir/. Templates

For existing users:

Cp-r/etc/skel/maildir/home/myuser/
Chown-r Myuser:usergroup/home/myuser/maildir
Chmod-r 700/home/myuser/maildir

Test

You can easily test whether the program after the installation works:

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 ACL IDLE UNION STARTTLS] Courier-imap ready.  Copyright 1998-2004 Double Precision, Inc. COPYING for distribution information.
IMAP Login User Password
IMAP OK LOGIN OK.

Where user and password are local accounts with a mailing directory. If you are unable to work, you will see the error message and don't forget to view the log information/var/log/mail.log.

Management and Maintenance

No additional work is required to manage courier Imap/pop Mail servers. Each connected user corresponds to a process of the system (actually each open mail directory corresponds to a process). If you are considering a backup, you usually need to back up the user's account information.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.