Debian Codegraph @

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

raw
1 Debian
2 ******
3
4 Currently supported versions of Debian include Cyrus IMAP packages in
5 the repositories configured on a stock system.
6
7 Note:
8
9 The Cyrus project does not support running any versions of the Cyrus
10 IMAP software older than the version of the software shipped with
11 the operating system itself.
12
13 To install the version of Cyrus IMAP that comes with the operating
14 system, issue the following command:
15
16 # **apt-get install cyrus-imapd cyrus-sasl cyrus-sasl-plain**
17
18 If you want xapian, you'll need to build all of Cyrus yourself.
19
20 Next, set a password for the default administrative user "cyrus":
21
22 # **passwd cyrus**
23 Changing password for user cyrus.
24 New password:
25 Retype new password:
26 passwd: all authentication tokens updated successfully.
27
28 Start and configure to start when the system boots, the *saslauthd*
29 service:
30
31 # **service saslauthd start**
32 Starting saslauthd: [ OK ]
33 # **chkconfig saslauthd on**
34
35 You should at this moment be able to authenticate against *saslauthd*:
36
37 # **testsaslauthd -u cyrus -p YOUR-PASSWORD**
38
39 You should get an "0: OK "Success."" message.
40
41 Start the service, and ensure the service starts up when the system
42 boots:
43
44 # **service cyrus-imapd start**
45 # **chkconfig cyrus-imapd on**
46
47 You should now be able to login as the "cyrus" user, which is
48 configured by default as an administrator for Cyrus IMAP:
49
50 # **imtest -t "" -u cyrus -a cyrus localhost**
51 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
52 C: S01 STARTTLS
53 S: S01 OK Begin TLS negotiation now
54 verify error:num=18:self signed certificate
55 TLS connection established: TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)
56 C: C01 CAPABILITY
57 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
58 S: C01 OK Completed
59 Please enter your password:
60 C: A01 AUTHENTICATE PLAIN ************
61 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)
62 Authenticated.
63 Security strength factor: 256
64 . LIST "" "*"
65 . OK Completed (0.000 secs 1 calls)
66 C: Q01 LOGOUT
67 * BYE LOGOUT received
68 Q01 OK Completed
69 Connection closed.
70
71 Next, continue with Configuring the MTA.