Debian Codegraph @

doc/html/quickstart.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html class="writer-html5" lang="en" data-content_root="./">
3 <head>
4 <meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
5
6 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 <title>Quickstart Guide &mdash; Cyrus IMAP 3.12.3 documentation</title>
8 <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
9 <link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=86f27845" />
10 <link rel="stylesheet" type="text/css" href="_static/graphviz.css?v=eafc0fe6" />
11 <link rel="stylesheet" href="_static/cyrus.css" type="text/css" />
12
13
14
15 <script src="_static/jquery.js?v=8dae8fb0"></script>
16 <script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17 <script src="_static/documentation_options.js?v=2c828074"></script>
18 <script src="_static/doctools.js?v=888ff710"></script>
19 <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
20 <script src="_static/js/theme.js"></script>
21 <link rel="index" title="Index" href="genindex.html" />
22 <link rel="search" title="Search" href="search.html" />
23 <link rel="next" title="Introduction to Cyrus IMAP" href="imap/quickstart/introduction.html" />
24 <link rel="prev" title="Notes for Packagers" href="imap/download/packagers.html" />
25 </head>
26
27 <body class="wy-body-for-nav">
28 <div class="wy-grid-for-nav">
29 <nav data-toggle="wy-nav-shift" class="wy-nav-side">
30 <div class="wy-side-scroll">
31 <div class="wy-side-nav-search" >
32
33
34
35 <a href="index.html" class="icon icon-home">
36 Cyrus IMAP
37 </a>
38 <div class="version">
39 3.12.3
40 </div>
41 <div role="search">
42 <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
43 <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
44 <input type="hidden" name="check_keywords" value="yes" />
45 <input type="hidden" name="area" value="default" />
46 </form>
47 </div>
48 </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
49 <p class="caption" role="heading"><span class="caption-text">Cyrus IMAP</span></p>
50 <ul class="current">
51 <li class="toctree-l1"><a class="reference internal" href="download.html">Download</a></li>
52 <li class="toctree-l1 current"><a class="current reference internal" href="#">Quickstart Guide</a><ul>
53 <li class="toctree-l2"><a class="reference internal" href="imap/quickstart/introduction.html">Introduction to Cyrus IMAP</a></li>
54 <li class="toctree-l2"><a class="reference internal" href="#quick-install">Quick install</a><ul>
55 <li class="toctree-l3"><a class="reference internal" href="#install-cyrus-package-s">1. Install Cyrus package(s)</a></li>
56 <li class="toctree-l3"><a class="reference internal" href="#setup-the-cyrus-mail-user-and-group">2. Setup the cyrus:mail user and group</a></li>
57 <li class="toctree-l3"><a class="reference internal" href="#setting-up-authentication-with-sasl">3. Setting up authentication with SASL</a></li>
58 <li class="toctree-l3"><a class="reference internal" href="#setup-mail-delivery-from-your-mta">4. Setup mail delivery from your MTA</a></li>
59 <li class="toctree-l3"><a class="reference internal" href="#protocol-ports">5. Protocol ports</a></li>
60 <li class="toctree-l3"><a class="reference internal" href="#configuring-cyrus">6. Configuring Cyrus</a></li>
61 <li class="toctree-l3"><a class="reference internal" href="#launch-cyrus">7. Launch Cyrus</a></li>
62 </ul>
63 </li>
64 </ul>
65 </li>
66 <li class="toctree-l1"><a class="reference internal" href="overview.html">Overview</a></li>
67 <li class="toctree-l1"><a class="reference internal" href="setup.html">Setup</a></li>
68 <li class="toctree-l1"><a class="reference internal" href="operations.html">Operations</a></li>
69 <li class="toctree-l1"><a class="reference internal" href="developers.html">Developers</a></li>
70 <li class="toctree-l1"><a class="reference internal" href="support.html">Support/Community</a></li>
71 </ul>
72 <p class="caption" role="heading"><span class="caption-text">Cyrus SASL</span></p>
73 <ul>
74 <li class="toctree-l1"><a class="reference external" href="http://www.cyrusimap.org/sasl">Cyrus SASL</a></li>
75 </ul>
76
77 </div>
78 </div>
79 </nav>
80
81 <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
82 <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
83 <a href="index.html">Cyrus IMAP</a>
84 </nav>
85
86 <div class="wy-nav-content">
87 <div class="rst-content">
88 <div role="navigation" aria-label="Page navigation">
89 <ul class="wy-breadcrumbs">
90 <li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
91 <li class="breadcrumb-item active">Quickstart Guide</li>
92 <li class="wy-breadcrumbs-aside">
93 <a href="https://github.com/cyrusimap/cyrus-imapd/blob/master/docsrc/quickstart.rst" class="fa fa-github"> Edit on GitHub</a>
94 </li>
95 </ul>
96 <hr/>
97 </div>
98 <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
99 <div itemprop="articleBody">
100
101 <section id="quickstart-guide">
102 <h1>Quickstart Guide<a class="headerlink" href="#quickstart-guide" title="Link to this heading"></a></h1>
103 <div class="toctree-wrapper compound">
104 <ul>
105 <li class="toctree-l1"><a class="reference internal" href="imap/quickstart/introduction.html">Introduction to Cyrus IMAP</a><ul>
106 <li class="toctree-l2"><a class="reference internal" href="imap/quickstart/introduction.html#what-is-imap">What is IMAP?</a></li>
107 </ul>
108 </li>
109 </ul>
110 </div>
111 <section id="quick-install">
112 <h2>Quick install<a class="headerlink" href="#quick-install" title="Link to this heading"></a></h2>
113 <p>A quick guide to getting a basic installation of Cyrus up and running in 5 minutes.</p>
114 <p>The first place to start with a new installation of Cyrus IMAP is with
115 your OS distribution of choice and their packaging, where available.</p>
116 <p>If there is no Cyrus IMAP 3.12.3 package available yet
117 from your distro, download the official source tarball from <a class="reference external" href="https://github.com/cyrusimap/cyrus-imapd/releases">GitHub</a>. The
118 <a class="reference internal" href="imap/developer/compiling.html#compiling"><span class="std std-ref">Compiling</span></a> guide will help you get it built and installed.</p>
119 <section id="install-cyrus-package-s">
120 <h3>1. Install Cyrus package(s)<a class="headerlink" href="#install-cyrus-package-s" title="Link to this heading"></a></h3>
121 <p>Install the Cyrus IMAP package(s), either from your distribution's package
122 manager, or from a release tarball.</p>
123 <p>Your distribution might have split Cyrus IMAP into several packages. Check
124 their documentation if you're not sure what you need.</p>
125 </section>
126 <section id="setup-the-cyrus-mail-user-and-group">
127 <h3>2. Setup the cyrus:mail user and group<a class="headerlink" href="#setup-the-cyrus-mail-user-and-group" title="Link to this heading"></a></h3>
128 <p>Now let's create a <strong>special user account just for the Cyrus server</strong>
129 to sandbox Cyrus: called <code class="docutils literal notranslate"><span class="pre">cyrus</span></code>. We'll also create a <code class="docutils literal notranslate"><span class="pre">mail</span></code> group
130 as well. This allows Cyrus to give other programs some permissions if
131 they are run under the <code class="docutils literal notranslate"><span class="pre">mail</span></code> group, again, without causing a Cyrus
132 bug to delete all of your cat pictures. Disaster!</p>
133 <p>If you have installed from packages, your package vendor may have
134 already done this for you. To check, use these commands:</p>
135 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ getent group mail
136 mail:x:8:
137 </pre></div>
138 </div>
139 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ getent passwd cyrus
140 cyrus:x:999:8:Cyrus IMAP Server:/var/lib/imap:/bin/bash
141 </pre></div>
142 </div>
143 <p>Example group and user creation commands for GNU/Linux:</p>
144 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">groupadd</span> <span class="o">-</span><span class="n">fr</span> <span class="n">mail</span>
145 <span class="n">useradd</span> <span class="o">-</span><span class="n">c</span> <span class="s2">&quot;Cyrus IMAP Server&quot;</span> <span class="o">-</span><span class="n">d</span> <span class="o">/</span><span class="n">var</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span><span class="n">imap</span> <span class="o">-</span><span class="n">g</span> <span class="n">mail</span> <span class="o">-</span><span class="n">s</span> <span class="o">/</span><span class="nb">bin</span><span class="o">/</span><span class="n">bash</span> <span class="o">-</span><span class="n">r</span> <span class="n">cyrus</span>
146 </pre></div>
147 </div>
148 <p>The <code class="docutils literal notranslate"><span class="pre">var/lib/imap</span></code> directory above is an example. Use the same directory
149 specified in the <code class="docutils literal notranslate"><span class="pre">configdirectory</span></code> option in <a class="reference internal" href="imap/reference/manpages/configs/imapd.conf.html#std-cyrusman-imapd.conf-5">imapd.conf(5)</a>.</p>
150 <aside class="sidebar">
151 <p class="sidebar-title">configdirectory</p>
152 <p><em>This shows the default value: change it in imapd.conf to suit your needs.</em></p>
153 <blockquote>
154 <div><p><code class="docutils literal notranslate"><span class="pre">configdirectory:</span></code> &lt;none&gt;</p>
155 <blockquote>
156 <div><p>The pathname of the IMAP configuration directory. This field is
157 required.</p>
158 </div></blockquote>
159 </div></blockquote>
160 </aside>
161 <p>If your installation uses system locations for things like SSL
162 certificates (i.e. <code class="docutils literal notranslate"><span class="pre">/etc/ssl/certs</span> <span class="pre">/etc/ssl/private</span></code>), then you should
163 also add the <code class="docutils literal notranslate"><span class="pre">cyrus</span></code> user to the appropriate group to gain access to
164 the PKI files. On Debian/Ubuntu systems, for example, this group is
165 <code class="docutils literal notranslate"><span class="pre">ssl-cert</span></code>:</p>
166 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">usermod</span> <span class="o">-</span><span class="n">aG</span> <span class="n">ssl</span><span class="o">-</span><span class="n">cert</span> <span class="n">cyrus</span>
167 </pre></div>
168 </div>
169 </section>
170 <section id="setting-up-authentication-with-sasl">
171 <h3>3. Setting up authentication with SASL<a class="headerlink" href="#setting-up-authentication-with-sasl" title="Link to this heading"></a></h3>
172 <p>Now, let's set up <strong>SASL</strong>. This will allow you to connect to your
173 local IMAP server and login, just like any IMAP user would before
174 checking for new emails.</p>
175 <p>Create a <code class="docutils literal notranslate"><span class="pre">saslauth</span></code> group and add the <code class="docutils literal notranslate"><span class="pre">cyrus</span></code> user to the group, so
176 Cyrus can access SASL. (on Debian, this group is called 'sasl': adjust
177 the following commands to suit.)</p>
178 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">groupadd</span> <span class="o">-</span><span class="n">fr</span> <span class="n">saslauth</span>
179 <span class="n">usermod</span> <span class="o">-</span><span class="n">aG</span> <span class="n">saslauth</span> <span class="n">cyrus</span>
180 </pre></div>
181 </div>
182 <dl class="simple">
183 <dt>Change the default SASL configuration in <code class="docutils literal notranslate"><span class="pre">/etc/default/saslauthd</span></code>.</dt><dd><ol class="arabic simple">
184 <li><p>Make sure that the <code class="docutils literal notranslate"><span class="pre">START</span></code> option is set to <em>yes</em>
185 <code class="docutils literal notranslate"><span class="pre">(START=yes)</span></code> and</p></li>
186 <li><p>Set the``MECHANISMS`` option to <strong>sasldb</strong>
187 <code class="docutils literal notranslate"><span class="pre">(MECHANISMS=&quot;sasldb&quot;)</span></code>.</p></li>
188 </ol>
189 </dd>
190 </dl>
191 <p>Start the SASL auth daemon:</p>
192 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">init</span><span class="o">.</span><span class="n">d</span><span class="o">/</span><span class="n">saslauthd</span> <span class="n">start</span>
193 </pre></div>
194 </div>
195 <p>Now, we'll create the IMAP user inside SASL. This is the user you'll
196 use to login to the IMAP server later on.</p>
197 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">echo</span> <span class="s1">&#39;secret&#39;</span> <span class="o">|</span> <span class="n">saslpasswd2</span> <span class="o">-</span><span class="n">p</span> <span class="o">-</span><span class="n">c</span> <span class="n">imapuser</span>
198 </pre></div>
199 </div>
200 <p>You can replace <code class="docutils literal notranslate"><span class="pre">secret</span></code> with a more suitable password you want and
201 <code class="docutils literal notranslate"><span class="pre">imapuser</span></code> with the username you want. Once this is done, check that
202 the user exists and is set up correctly:</p>
203 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">testsaslauthd</span> <span class="o">-</span><span class="n">u</span> <span class="n">imapuser</span> <span class="o">-</span><span class="n">p</span> <span class="n">secret</span> <span class="o">-</span><span class="n">f</span> <span class="o">/</span><span class="n">var</span><span class="o">/</span><span class="n">run</span><span class="o">/</span><span class="n">saslauthd</span><span class="o">/</span><span class="n">mux</span>
204 </pre></div>
205 </div>
206 <p>You should get an <code class="docutils literal notranslate"><span class="pre">0:</span> <span class="pre">OK</span> <span class="pre">&quot;Success.&quot;</span></code> message.</p>
207 </section>
208 <section id="setup-mail-delivery-from-your-mta">
209 <h3>4. Setup mail delivery from your MTA<a class="headerlink" href="#setup-mail-delivery-from-your-mta" title="Link to this heading"></a></h3>
210 <p>Your Cyrus IMAP server will want to receive the emails accepted by your
211 SMTP server (ie Sendmail, Postfix, Exim). See <a class="reference internal" href="imap/installing.html#mta-lda-delivery"><span class="std std-ref">Mail delivery from your MTA</span></a>.</p>
212 </section>
213 <section id="protocol-ports">
214 <h3>5. Protocol ports<a class="headerlink" href="#protocol-ports" title="Link to this heading"></a></h3>
215 <p>The Cyrus IMAP server provides service interfaces via either TCP/IP
216 ports or Unix domain sockets. For the former, Cyrus requires that there
217 are proper entries in the host's <code class="docutils literal notranslate"><span class="pre">/etc/services</span></code> file. The following
218 are required for any host using the listed services:</p>
219 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pop3</span> <span class="mi">110</span><span class="o">/</span><span class="n">tcp</span> <span class="c1"># Post Office Protocol v3</span>
220 <span class="n">nntp</span> <span class="mi">119</span><span class="o">/</span><span class="n">tcp</span> <span class="c1"># Network News Transport Protocol</span>
221 <span class="n">imap</span> <span class="mi">143</span><span class="o">/</span><span class="n">tcp</span> <span class="c1"># Internet Mail Access Protocol rev4</span>
222 <span class="n">nntps</span> <span class="mi">563</span><span class="o">/</span><span class="n">tcp</span> <span class="c1"># NNTP over TLS</span>
223 <span class="n">imaps</span> <span class="mi">993</span><span class="o">/</span><span class="n">tcp</span> <span class="c1"># IMAP over TLS</span>
224 <span class="n">pop3s</span> <span class="mi">995</span><span class="o">/</span><span class="n">tcp</span> <span class="c1"># POP3 over TLS</span>
225 <span class="n">lmtp</span> <span class="mi">2003</span><span class="o">/</span><span class="n">tcp</span> <span class="c1"># Lightweight Mail Transport Protocol service</span>
226 <span class="n">smmap</span> <span class="mi">2004</span><span class="o">/</span><span class="n">tcp</span> <span class="c1"># Cyrus smmapd (quota check) service</span>
227 <span class="n">csync</span> <span class="mi">2005</span><span class="o">/</span><span class="n">tcp</span> <span class="c1"># Cyrus replication service</span>
228 <span class="n">mupdate</span> <span class="mi">3905</span><span class="o">/</span><span class="n">tcp</span> <span class="c1"># Cyrus mupdate service</span>
229 <span class="n">sieve</span> <span class="mi">4190</span><span class="o">/</span><span class="n">tcp</span> <span class="c1"># timsieved Sieve Mail Filtering Language service</span>
230 </pre></div>
231 </div>
232 <p>Make sure that these lines are present or add them if they are missing.</p>
233 </section>
234 <section id="configuring-cyrus">
235 <h3>6. Configuring Cyrus<a class="headerlink" href="#configuring-cyrus" title="Link to this heading"></a></h3>
236 <p>(Nearly there)</p>
237 <p>Set up a simple directory structure for Cyrus to store emails, owned by
238 the <code class="docutils literal notranslate"><span class="pre">cyrus</span></code> user and group <code class="docutils literal notranslate"><span class="pre">mail</span></code>:</p>
239 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">mkdir</span> <span class="o">-</span><span class="n">p</span> <span class="o">/</span><span class="n">var</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span><span class="n">cyrus</span> <span class="o">/</span><span class="n">var</span><span class="o">/</span><span class="n">spool</span><span class="o">/</span><span class="n">cyrus</span>
240 <span class="n">sudo</span> <span class="n">chown</span> <span class="o">-</span><span class="n">R</span> <span class="n">cyrus</span><span class="p">:</span><span class="n">mail</span> <span class="o">/</span><span class="n">var</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span><span class="n">cyrus</span> <span class="o">/</span><span class="n">var</span><span class="o">/</span><span class="n">spool</span><span class="o">/</span><span class="n">cyrus</span>
241 <span class="n">sudo</span> <span class="n">chmod</span> <span class="mi">750</span> <span class="o">/</span><span class="n">var</span><span class="o">/</span><span class="n">lib</span><span class="o">/</span><span class="n">cyrus</span> <span class="o">/</span><span class="n">var</span><span class="o">/</span><span class="n">spool</span><span class="o">/</span><span class="n">cyrus</span>
242 </pre></div>
243 </div>
244 <p>The <code class="docutils literal notranslate"><span class="pre">/var/spool/cyrus</span></code> directory is the
245 <a class="reference internal" href="imap/concepts/features/mail-spool-partitions.html#imap-features-mail-spool-partitions"><span class="std std-ref">partition</span></a> where Cyrus will store
246 mail and must be allocated sufficient storage. The exact location can be
247 configured in <a class="reference internal" href="imap/reference/manpages/configs/imapd.conf.html#std-cyrusman-imapd.conf-5">imapd.conf(5)</a> in the partitions options.</p>
248 <p>Following installation, a fairly comprehensive set of sample
249 configuration files may be found in
250 <code class="docutils literal notranslate"><span class="pre">/usr/share/doc/cyrus-doc/examples/</span></code>. Select one from each of the
251 <code class="docutils literal notranslate"><span class="pre">cyrus_conf</span></code> and <code class="docutils literal notranslate"><span class="pre">imapd_conf</span></code> directories, and install as
252 <code class="docutils literal notranslate"><span class="pre">/etc/cyrus.conf</span></code> and <code class="docutils literal notranslate"><span class="pre">/etc/imapd.conf</span></code> respectively.</p>
253 <p>A basic description of these files:</p>
254 <ul>
255 <li><p>Stand-alone server configurations (pick one):</p>
256 <ul class="simple">
257 <li><dl class="simple">
258 <dt>small.conf</dt><dd><p>A simple small server</p>
259 </dd>
260 </dl>
261 </li>
262 <li><dl class="simple">
263 <dt>normal.conf</dt><dd><p>A more typical server</p>
264 </dd>
265 </dl>
266 </li>
267 <li><dl class="simple">
268 <dt>prefork.conf</dt><dd><p>As above, but with several server processes pre-forked for
269 faster connection initialization.</p>
270 </dd>
271 </dl>
272 </li>
273 </ul>
274 <div class="admonition note">
275 <p class="admonition-title">Note</p>
276 <p>The <code class="docutils literal notranslate"><span class="pre">normal.conf</span></code> file in the <code class="docutils literal notranslate"><span class="pre">imapd_conf</span></code> directory
277 is intended to work with any of the above files from the
278 <code class="docutils literal notranslate"><span class="pre">cyrus_conf</span></code> directory.</p>
279 </div>
280 </li>
281 <li><p>Cyrus Aggregation - Murder -- configurations (these constitute a
282 set, with at least one of each required):</p>
283 <ul class="simple">
284 <li><dl class="simple">
285 <dt>murder-mupdate.conf</dt><dd><p>The Mupdate Master server; holds the canonical copy of the
286 <code class="docutils literal notranslate"><span class="pre">mailboxes.db</span></code> database.</p>
287 </dd>
288 </dl>
289 </li>
290 <li><dl class="simple">
291 <dt>murder-backend.conf</dt><dd><p>A backend server which holds the actual mailboxes and
292 interacts with frontend proxies and/or clients.</p>
293 </dd>
294 </dl>
295 </li>
296 <li><dl class="simple">
297 <dt>murder-frontend.conf</dt><dd><p>A frontend server which holds no mailboxes, but either
298 refers clients to the proper backend server for each
299 requests, or proxies those requests directly.</p>
300 </dd>
301 </dl>
302 </li>
303 </ul>
304 </li>
305 <li><p>Replication configurations (these constitute a set, with one master
306 and at least one replica required):</p>
307 <ul class="simple">
308 <li><dl class="simple">
309 <dt>normal-master.conf</dt><dd><p>The master server which uses the <code class="docutils literal notranslate"><span class="pre">sync_client</span></code> program to
310 send mailbox updates to each replica on a rolling or
311 periodic basis.</p>
312 </dd>
313 </dl>
314 </li>
315 <li><dl class="simple">
316 <dt>normal-replica.conf</dt><dd><p>A typical replica server, which accepts updates from the
317 master.</p>
318 </dd>
319 </dl>
320 </li>
321 </ul>
322 <div class="admonition note">
323 <p class="admonition-title">Note</p>
324 <p>When working with replication or aggregation (Murder), the
325 example files in <code class="docutils literal notranslate"><span class="pre">cyrus_conf</span></code> and <code class="docutils literal notranslate"><span class="pre">imapd_conf</span></code> of the same
326 name are intended to be used together.</p>
327 </div>
328 </li>
329 </ul>
330 <p>You should review each of these and then install as desired to
331 <code class="docutils literal notranslate"><span class="pre">/etc/</span></code>, making changes as needed. In particular, you'll need to set
332 passwords for the various users used to authenticate between instances
333 in a Murder or Replication environment.</p>
334 <p>For example:</p>
335 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">install</span> <span class="o">-</span><span class="n">m</span> <span class="mi">600</span> <span class="n">doc</span><span class="o">/</span><span class="n">examples</span><span class="o">/</span><span class="n">cyrus_conf</span><span class="o">/</span><span class="n">normal</span><span class="o">.</span><span class="n">conf</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">cyrus</span><span class="o">.</span><span class="n">conf</span>
336 <span class="n">install</span> <span class="o">-</span><span class="n">m</span> <span class="mi">600</span> <span class="n">doc</span><span class="o">/</span><span class="n">examples</span><span class="o">/</span><span class="n">imapd_conf</span><span class="o">/</span><span class="n">normal</span><span class="o">.</span><span class="n">conf</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">imapd</span><span class="o">.</span><span class="n">conf</span>
337 <span class="n">vi</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">imapd</span><span class="o">.</span><span class="n">conf</span>
338 <span class="o">...</span>
339 <span class="n">vi</span> <span class="o">/</span><span class="n">etc</span><span class="o">/</span><span class="n">cyrus</span><span class="o">.</span><span class="n">conf</span>
340 <span class="o">...</span>
341 </pre></div>
342 </div>
343 </section>
344 <section id="launch-cyrus">
345 <h3>7. Launch Cyrus<a class="headerlink" href="#launch-cyrus" title="Link to this heading"></a></h3>
346 <p>If using a distribution package, you probably now have an init script
347 installed, that you can invoke with your system's usual service control
348 mechanism.</p>
349 <p>If you built from source, you will need to write your own init script.
350 The simplest one will simply start/stop the <a class="reference internal" href="imap/reference/manpages/systemcommands/master.html#std-cyrusman-master-8">master(8)</a> binary,
351 with suitable options, as root (master will drop root privileges itself
352 as soon as it possibly can).</p>
353 </section>
354 </section>
355 </section>
356
357
358 </div>
359 </div>
360 <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
361 <a href="imap/download/packagers.html" class="btn btn-neutral float-left" title="Notes for Packagers" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
362 <a href="imap/quickstart/introduction.html" class="btn btn-neutral float-right" title="Introduction to Cyrus IMAP" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
363 </div>
364
365 <hr/>
366
367 <div role="contentinfo">
368 <p>&#169; Copyright 1993–2026, The Cyrus Team.</p>
369 </div>
370
371 Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
372 <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
373 provided by <a href="https://readthedocs.org">Read the Docs</a>.
374
375
376 </footer>
377 </div>
378 </div>
379 </section>
380 </div>
381 <script>
382 jQuery(function () {
383 SphinxRtdTheme.Navigation.enable(true);
384 });
385 </script>
386
387
388
389
390 </body>
391 </html>