Debian Codegraph @

doc/text/imap/download/installation/distributions/centos.txt

raw
1 CentOS
2 ******
3
4 Currently supported versions of CentOS include Cyrus IMAP packages in
5 the repositories configured on a stock system:
6
7 * Cyrus IMAP 2.3.7 for CentOS 5
8
9 * Cyrus IMAP 2.3.16 for CentOS 6
10
11 * Cyrus IMAP 2.4.17 for CentOS 7
12
13 Note:
14
15 The Cyrus project does not support running any versions of the Cyrus
16 IMAP software older than the version of the software shipped with
17 the operating system itself.
18
19 To install the version of Cyrus IMAP that comes with the operating
20 system, issue the following command:
21
22 # **yum install cyrus-imapd cyrus-sasl cyrus-sasl-plain**
23
24 Next, set a password for the default administrative user "cyrus":
25
26 # **passwd cyrus**
27 Changing password for user cyrus.
28 New password:
29 Retype new password:
30 passwd: all authentication tokens updated successfully.
31
32 Start and configure to start when the system boots, the *saslauthd*
33 service:
34
35 # **service saslauthd start**
36 Starting saslauthd: [ OK ]
37 # **chkconfig saslauthd on**
38
39 You should at this moment be able to authenticate against *saslauthd*:
40
41 # **testsaslauthd -u cyrus -p YOUR-PASSWORD**
42
43 You should get an "0: OK "Success."" message.
44
45 Start the service, and ensure the service starts up when the system
46 boots:
47
48 # **service cyrus-imapd start**
49 # **chkconfig cyrus-imapd on**
50
51 You should now be able to login as the "cyrus" user, which is
52 configured by default as an administrator for Cyrus IMAP:
53
54 # **imtest -t "" -u cyrus -a cyrus localhost**
55 S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS LOGINDISABLED COMPRESS=DEFLATE] d5ec35c1414a Cyrus IMAP v2.3.16-Fedora-RPM-2.3.16-13.el6_6 server ready
56 C: S01 STARTTLS
57 S: S01 OK Begin TLS negotiation now
58 verify error:num=18:self signed certificate
59 TLS connection established: TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)
60 C: C01 CAPABILITY
61 S: * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=PLAIN SASL-IR COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH
62 S: C01 OK Completed
63 Please enter your password:
64 C: A01 AUTHENTICATE PLAIN ************
65 S: A01 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED COMPRESS=DEFLATE ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE SCAN IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH] Success (tls protection)
66 Authenticated.
67 Security strength factor: 256
68 . LIST "" "*"
69 . OK Completed (0.000 secs 1 calls)
70 C: Q01 LOGOUT
71 * BYE LOGOUT received
72 Q01 OK Completed
73 Connection closed.
74
75 Next, continue with Configuring the MTA.