67 lines
2.3 KiB
HTML
67 lines
2.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
<TITLE> Cyrus IMAP HOWTO: Cyrus IMAP Installation</TITLE>
|
|
<LINK HREF="Cyrus-IMAP-7.html" REL=next>
|
|
<LINK HREF="Cyrus-IMAP-5.html" REL=previous>
|
|
<LINK HREF="Cyrus-IMAP.html#toc6" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="Cyrus-IMAP-7.html">Next</A>
|
|
<A HREF="Cyrus-IMAP-5.html">Previous</A>
|
|
<A HREF="Cyrus-IMAP.html#toc6">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="s6">6. Cyrus IMAP Installation</A></H2>
|
|
|
|
<H2><A NAME="ss6.1">6.1 Uncompress</A>
|
|
</H2>
|
|
|
|
<P>The following commands will tar and gunzip cyrus IMAP under <EM>/temp</EM>.
|
|
<P>
|
|
<OL>
|
|
<LI><CODE>cd /temp</CODE></LI>
|
|
<LI><CODE>tar -zxvf tar/cyrus-imapd-1.6.24.tar.gz</CODE></LI>
|
|
<LI><CODE>cd cyrus-imapd-1.6.24</CODE></LI>
|
|
</OL>
|
|
<H2><A NAME="ss6.2">6.2 A note on com_err.h</A>
|
|
</H2>
|
|
|
|
<P>When I tried to install cyrus IMAP, I got errors regarding the file com_err.h. My com_err.h was
|
|
located in <EM>/usr/include/et</EM>. It needs to reside in <EM>/usr/include</EM>.
|
|
Run the following command to make sure it is in the correct location:
|
|
<P><CODE>locate com_err.h</CODE>
|
|
<P>This will show you where the file is. If it is under <EM>/usr/include</EM>,
|
|
you can skip to the next section. If it is in another directory, just copy it to
|
|
<EM>/usr/include</EM>. If it doesn't exist, download it here:
|
|
<A HREF="http://www.ludd.luth.se/~jnilsson/cvsweb/cvsweb.cgi/src/contrib/com_err">http://www.ludd.luth.se/~jnilsson/cvsweb/cvsweb.cgi/src/contrib/com_err</A>.
|
|
<H2><A NAME="ss6.3">6.3 Configure</A>
|
|
</H2>
|
|
|
|
<P><CODE> ./configure --with-auth=unix</CODE>
|
|
<H2><A NAME="ss6.4">6.4 Adding the default user</A>
|
|
</H2>
|
|
|
|
<P>Cyrus requires a user to own its files. The default user is cyrus. The following command adds a user
|
|
cyrus with the group of "mail"
|
|
<P><CODE>useradd -g mail cyrus</CODE>
|
|
<P>You'll want to set the password for user cyrus.
|
|
<P><CODE>passwd cyrus</CODE>
|
|
<P>Type in the password you desire cyrus to have each time you are prompted
|
|
<H2><A NAME="ss6.5">6.5 Building the files</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<OL>
|
|
<LI><CODE> make depend </CODE></LI>
|
|
<LI><CODE> make all CFLAGS=-O</CODE></LI>
|
|
<LI><CODE> make install</CODE></LI>
|
|
</OL>
|
|
<P> That's it! You're ready to configure Cyrus IMAP.
|
|
<HR>
|
|
<A HREF="Cyrus-IMAP-7.html">Next</A>
|
|
<A HREF="Cyrus-IMAP-5.html">Previous</A>
|
|
<A HREF="Cyrus-IMAP.html#toc6">Contents</A>
|
|
</BODY>
|
|
</HTML>
|