Debian Codegraph @

doc/html/imap/reference/manpages/systemcommands/smmapd.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>smmapd &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="squatter" href="squatter.html" />
24 <link rel="prev" title="sieved" href="sieved.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"><a class="reference internal" href="../../../../quickstart.html">Quickstart Guide</a></li>
53 <li class="toctree-l1"><a class="reference internal" href="../../../../overview.html">Overview</a></li>
54 <li class="toctree-l1"><a class="reference internal" href="../../../../setup.html">Setup</a></li>
55 <li class="toctree-l1 current"><a class="reference internal" href="../../../../operations.html">Operations</a><ul class="current">
56 <li class="toctree-l2 current"><a class="reference internal" href="../index.html">Man pages</a><ul class="current">
57 <li class="toctree-l3"><a class="reference internal" href="../index.html#configuration-files">(5) Configuration Files</a></li>
58 <li class="toctree-l3 current"><a class="reference internal" href="../index.html#system-commands">(8) System Commands</a><ul class="current">
59 <li class="toctree-l4"><a class="reference internal" href="arbitron.html"><strong>arbitron</strong></a></li>
60 <li class="toctree-l4"><a class="reference internal" href="calalarmd.html"><strong>calalarmd</strong></a></li>
61 <li class="toctree-l4"><a class="reference internal" href="chk_cyrus.html"><strong>chk_cyrus</strong></a></li>
62 <li class="toctree-l4"><a class="reference internal" href="ctl_conversationsdb.html"><strong>ctl_conversationsdb</strong></a></li>
63 <li class="toctree-l4"><a class="reference internal" href="ctl_cyrusdb.html"><strong>ctl_cyrusdb</strong></a></li>
64 <li class="toctree-l4"><a class="reference internal" href="ctl_deliver.html"><strong>ctl_deliver</strong></a></li>
65 <li class="toctree-l4"><a class="reference internal" href="ctl_mboxlist.html"><strong>ctl_mboxlist</strong></a></li>
66 <li class="toctree-l4"><a class="reference internal" href="ctl_zoneinfo.html"><strong>ctl_zoneinfo</strong></a></li>
67 <li class="toctree-l4"><a class="reference internal" href="cvt_cyrusdb.html"><strong>cvt_cyrusdb</strong></a></li>
68 <li class="toctree-l4"><a class="reference internal" href="cvt_xlist_specialuse.html"><strong>cvt_xlist_specialuse</strong></a></li>
69 <li class="toctree-l4"><a class="reference internal" href="cyr_buildinfo.html"><strong>cyr_buildinfo</strong></a></li>
70 <li class="toctree-l4"><a class="reference internal" href="cyr_dbtool.html"><strong>cyr_dbtool</strong></a></li>
71 <li class="toctree-l4"><a class="reference internal" href="cyr_deny.html"><strong>cyr_deny</strong></a></li>
72 <li class="toctree-l4"><a class="reference internal" href="cyr_df.html"><strong>cyr_df</strong></a></li>
73 <li class="toctree-l4"><a class="reference internal" href="cyr_expire.html"><strong>cyr_expire</strong></a></li>
74 <li class="toctree-l4"><a class="reference internal" href="cyr_info.html"><strong>cyr_info</strong></a></li>
75 <li class="toctree-l4"><a class="reference internal" href="cyr_ls.html"><strong>cyr_ls</strong></a></li>
76 <li class="toctree-l4"><a class="reference internal" href="cyr_synclog.html"><strong>cyr_synclog</strong></a></li>
77 <li class="toctree-l4"><a class="reference internal" href="cyr_userseen.html"><strong>cyr_userseen</strong></a></li>
78 <li class="toctree-l4"><a class="reference internal" href="cyr_virusscan.html"><strong>cyr_virusscan</strong></a></li>
79 <li class="toctree-l4"><a class="reference internal" href="cyr_withlock_run.html"><strong>cyr_withlock_run</strong></a></li>
80 <li class="toctree-l4"><a class="reference internal" href="cyradm.html"><strong>cyradm</strong></a></li>
81 <li class="toctree-l4"><a class="reference internal" href="cyrdump.html"><strong>cyrdump</strong></a></li>
82 <li class="toctree-l4"><a class="reference internal" href="deliver.html"><strong>deliver</strong></a></li>
83 <li class="toctree-l4"><a class="reference internal" href="fetchnews.html"><strong>fetchnews</strong></a></li>
84 <li class="toctree-l4"><a class="reference internal" href="fud.html"><strong>fud</strong></a></li>
85 <li class="toctree-l4"><a class="reference internal" href="httpd.html"><strong>httpd</strong></a></li>
86 <li class="toctree-l4"><a class="reference internal" href="idled.html"><strong>idled</strong></a></li>
87 <li class="toctree-l4"><a class="reference internal" href="imapd.html"><strong>imapd</strong></a></li>
88 <li class="toctree-l4"><a class="reference internal" href="ipurge.html"><strong>ipurge</strong></a></li>
89 <li class="toctree-l4"><a class="reference internal" href="lmtpd.html"><strong>lmtpd</strong></a></li>
90 <li class="toctree-l4"><a class="reference internal" href="lmtpproxyd.html"><strong>lmtpproxyd</strong></a></li>
91 <li class="toctree-l4"><a class="reference internal" href="masssievec.html"><strong>masssievec</strong></a></li>
92 <li class="toctree-l4"><a class="reference internal" href="master.html"><strong>master</strong></a></li>
93 <li class="toctree-l4"><a class="reference internal" href="mbexamine.html"><strong>mbexamine</strong></a></li>
94 <li class="toctree-l4"><a class="reference internal" href="mbpath.html"><strong>mbpath</strong></a></li>
95 <li class="toctree-l4"><a class="reference internal" href="mbtool.html"><strong>mbtool</strong></a></li>
96 <li class="toctree-l4"><a class="reference internal" href="mkimap.html"><strong>mkimap</strong></a></li>
97 <li class="toctree-l4"><a class="reference internal" href="mknewsgroups.html"><strong>mknewsgroups</strong></a></li>
98 <li class="toctree-l4"><a class="reference internal" href="mupdate.html"><strong>mupdate</strong></a></li>
99 <li class="toctree-l4"><a class="reference internal" href="nntpd.html"><strong>nntpd</strong></a></li>
100 <li class="toctree-l4"><a class="reference internal" href="notifyd.html"><strong>notifyd</strong></a></li>
101 <li class="toctree-l4"><a class="reference internal" href="pop3d.html"><strong>pop3d</strong></a></li>
102 <li class="toctree-l4"><a class="reference internal" href="pop3proxyd.html"><strong>pop3proxyd</strong></a></li>
103 <li class="toctree-l4"><a class="reference internal" href="promstatsd.html"><strong>promstatsd</strong></a></li>
104 <li class="toctree-l4"><a class="reference internal" href="proxyd.html"><strong>proxyd</strong></a></li>
105 <li class="toctree-l4"><a class="reference internal" href="ptdump.html"><strong>ptdump</strong></a></li>
106 <li class="toctree-l4"><a class="reference internal" href="ptexpire.html"><strong>ptexpire</strong></a></li>
107 <li class="toctree-l4"><a class="reference internal" href="ptloader.html"><strong>ptloader</strong></a></li>
108 <li class="toctree-l4"><a class="reference internal" href="quota.html"><strong>quota</strong></a></li>
109 <li class="toctree-l4"><a class="reference internal" href="reconstruct.html"><strong>reconstruct</strong></a></li>
110 <li class="toctree-l4"><a class="reference internal" href="rehash.html"><strong>rehash</strong></a></li>
111 <li class="toctree-l4"><a class="reference internal" href="relocate_by_id.html"><strong>relocate_by_id</strong></a></li>
112 <li class="toctree-l4"><a class="reference internal" href="sievec.html"><strong>sievec</strong></a></li>
113 <li class="toctree-l4"><a class="reference internal" href="sieved.html"><strong>sieved</strong></a></li>
114 <li class="toctree-l4 current"><a class="current reference internal" href="#"><strong>smmapd</strong></a></li>
115 <li class="toctree-l4"><a class="reference internal" href="squatter.html"><strong>squatter</strong></a></li>
116 <li class="toctree-l4"><a class="reference internal" href="sync_client.html"><strong>sync_client</strong></a></li>
117 <li class="toctree-l4"><a class="reference internal" href="sync_reset.html"><strong>sync_reset</strong></a></li>
118 <li class="toctree-l4"><a class="reference internal" href="sync_server.html"><strong>sync_server</strong></a></li>
119 <li class="toctree-l4"><a class="reference internal" href="timsieved.html"><strong>timsieved</strong></a></li>
120 <li class="toctree-l4"><a class="reference internal" href="tls_prune.html"><strong>tls_prune</strong></a></li>
121 <li class="toctree-l4"><a class="reference internal" href="translatesieve.html"><strong>translatesieve</strong></a></li>
122 <li class="toctree-l4"><a class="reference internal" href="unexpunge.html"><strong>unexpunge</strong></a></li>
123 </ul>
124 </li>
125 <li class="toctree-l3"><a class="reference internal" href="../index.html#user-commands">(1) User Commands</a></li>
126 </ul>
127 </li>
128 <li class="toctree-l2"><a class="reference internal" href="../../admin.html">Administrator Guide</a></li>
129 <li class="toctree-l2"><a class="reference internal" href="../../faq.html">Frequently Asked Questions</a></li>
130 </ul>
131 </li>
132 <li class="toctree-l1"><a class="reference internal" href="../../../../developers.html">Developers</a></li>
133 <li class="toctree-l1"><a class="reference internal" href="../../../../support.html">Support/Community</a></li>
134 </ul>
135 <p class="caption" role="heading"><span class="caption-text">Cyrus SASL</span></p>
136 <ul>
137 <li class="toctree-l1"><a class="reference external" href="http://www.cyrusimap.org/sasl">Cyrus SASL</a></li>
138 </ul>
139
140 </div>
141 </div>
142 </nav>
143
144 <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
145 <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
146 <a href="../../../../index.html">Cyrus IMAP</a>
147 </nav>
148
149 <div class="wy-nav-content">
150 <div class="rst-content">
151 <div role="navigation" aria-label="Page navigation">
152 <ul class="wy-breadcrumbs">
153 <li><a href="../../../../index.html" class="icon icon-home" aria-label="Home"></a></li>
154 <li class="breadcrumb-item"><a href="../../../../operations.html">Operations</a></li>
155 <li class="breadcrumb-item"><a href="../index.html">Man pages</a></li>
156 <li class="breadcrumb-item active"><strong>smmapd</strong></li>
157 <li class="wy-breadcrumbs-aside">
158 <a href="https://github.com/cyrusimap/cyrus-imapd/blob/master/docsrc/imap/reference/manpages/systemcommands/smmapd.rst" class="fa fa-github"> Edit on GitHub</a>
159 </li>
160 </ul>
161 <hr/>
162 </div>
163 <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
164 <div itemprop="articleBody">
165
166 <span class="target" id="std-cyrusman-smmapd-8"></span><section id="smmapd">
167 <span id="imap-reference-manpages-systemcommands-smmapd"></span><h1><strong>smmapd</strong><a class="headerlink" href="#smmapd" title="Link to this heading"></a></h1>
168 <p>Sendmail and Postfix socket map daemon</p>
169 <section id="synopsis">
170 <h2>Synopsis<a class="headerlink" href="#synopsis" title="Link to this heading"></a></h2>
171 <pre class="literal-block"><strong>smmapd</strong> [ <strong>-C</strong> <em>config-file</em> ] [ <strong>-U</strong> <em>uses</em> ] [ <strong>-T</strong> <em>timeout</em> ] [ <strong>-D</strong> ] [<strong>-p</strong>]</pre>
172 </section>
173 <section id="description">
174 <h2>Description<a class="headerlink" href="#description" title="Link to this heading"></a></h2>
175 <p><strong>smmapd</strong> is a Sendmail and Postfix socket map daemon which is used to verify
176 that a Cyrus mailbox exists, that it is postable, it is not blocked for the
177 smmapd service in the userdeny database, and it is under quota. It
178 accepts commands on its standard input and responds on its standard
179 output. It MUST be invoked by <a class="reference internal" href="master.html#std-cyrusman-master-8">master(8)</a> with those
180 descriptors attached to a remote client connection. The received queries
181 contain map name followed by mailbox, <strong>smmapd</strong> ignores the map name.
182 Queries with plus addressing, when <em>-p</em> is not passed, return <em>OK</em> when
183 the user has a mailbox with the name after plus, otherwise the result
184 is <em>NOTFOUND</em>. Match for the mailbox after plus is performed
185 case-sensitive, for the address before the plus - depends on
186 <cite>lmtp_downcase_rcpt</cite>.</p>
187 <p>The use case is to verify in Sendmail or Postfix if the destination exists,
188 before accepting an email. Then, if <cite>autocreate_sieve_folders</cite> is set, but
189 the folder does not exist yet, <strong>smmapd</strong> will return <em>NOTFOUND</em>, unless <em>-p</em>
190 is passed. Another use case is to do something in a Sieve script with emails,
191 based on plus addressing, without delivering them in the correspondent sub-folder.
192 To accept such emails, when the folder with the same name does not exist, <em>-p</em> must
193 be passed.</p>
194 <p><strong>smmapd</strong> reads its configuration options out of the <a class="reference internal" href="../configs/imapd.conf.html#std-cyrusman-imapd.conf-5">imapd.conf(5)</a> file unless specified otherwise by <strong>-C</strong>.</p>
195 </section>
196 <section id="options">
197 <h2>Options<a class="headerlink" href="#options" title="Link to this heading"></a></h2>
198 <dl class="std option">
199 <dt class="sig sig-object std" id="cmdoption-smmapd-C">
200 <span class="sig-name descname"><span class="pre">-C</span></span><span class="sig-prename descclassname"> <span class="pre">config-file</span></span><a class="headerlink" href="#cmdoption-smmapd-C" title="Link to this definition"></a></dt>
201 <dd><p>Use the specified configuration file <em>config-file</em> rather than the default <a class="reference internal" href="../configs/imapd.conf.html#std-cyrusman-imapd.conf-5">imapd.conf(5)</a>.</p>
202 </dd></dl>
203
204 <dl class="std option">
205 <dt class="sig sig-object std" id="cmdoption-smmapd-U">
206 <span class="sig-name descname"><span class="pre">-U</span></span><span class="sig-prename descclassname">&#160; <span class="pre">uses</span></span><a class="headerlink" href="#cmdoption-smmapd-U" title="Link to this definition"></a></dt>
207 <dd><p>The maximum number of times that the process should be used for new
208 connections before shutting down. The default is 250.</p>
209 </dd></dl>
210
211 <dl class="std option">
212 <dt class="sig sig-object std" id="cmdoption-smmapd-T">
213 <span class="sig-name descname"><span class="pre">-T</span></span><span class="sig-prename descclassname">&#160; <span class="pre">timeout</span></span><a class="headerlink" href="#cmdoption-smmapd-T" title="Link to this definition"></a></dt>
214 <dd><p>The number of seconds that the process will wait for a new
215 connection before shutting down. Note that a value of 0 (zero)
216 will disable the timeout. The default is 60.</p>
217 </dd></dl>
218
219 <dl class="std option">
220 <dt class="sig sig-object std" id="cmdoption-smmapd-D">
221 <span class="sig-name descname"><span class="pre">-D</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-smmapd-D" title="Link to this definition"></a></dt>
222 <dd><p>Run external debugger specified in debug_command.</p>
223 </dd></dl>
224
225 <dl class="std option">
226 <dt class="sig sig-object std" id="cmdoption-smmapd-p">
227 <span class="sig-name descname"><span class="pre">-p</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-smmapd-p" title="Link to this definition"></a></dt>
228 <dd><p>Skip plus addressing: everything from <cite>+</cite> until <cite>&#64;</cite>. When looking up the userdeny
229 database, plus addressing is always skipped, irrespective of this option.</p>
230 </dd></dl>
231
232 </section>
233 <section id="examples">
234 <h2>Examples<a class="headerlink" href="#examples" title="Link to this heading"></a></h2>
235 <p><strong>smmapd</strong> is commonly included in the SERVICES section of
236 <a class="reference internal" href="../configs/cyrus.conf.html#std-cyrusman-cyrus.conf-5">cyrus.conf(5)</a> like so:</p>
237 <pre class="literal-block">SERVICES {
238 imap cmd=&quot;imapd -U 30&quot; listen=&quot;imap&quot; prefork=0
239 imaps cmd=&quot;imapd -s -U 30&quot; listen=&quot;imaps&quot; prefork=0 maxchild=100
240 lmtpunix cmd=&quot;lmtpd&quot; listen=&quot;/var/run/cyrus/socket/lmtp&quot; prefork=0 maxchild=20
241 <strong>smmap cmd=&quot;smmapd&quot; listen=&quot;/var/run/cyrus/socket/smmap&quot; prefork=0</strong>
242 sieve cmd=&quot;timsieved&quot; listen=&quot;sieve&quot; prefork=0
243 notify cmd=&quot;notifyd&quot; listen=&quot;/var/run/cyrus/socket/notify&quot; proto=&quot;udp&quot; prefork=1
244 httpd cmd=&quot;httpd&quot; listen=8080 prefork=1 maxchild=20
245 }</pre>
246 </section>
247 <section id="files">
248 <h2>Files<a class="headerlink" href="#files" title="Link to this heading"></a></h2>
249 <p>/etc/imapd.conf,
250 /etc/cyrus.conf</p>
251 </section>
252 <section id="see-also">
253 <h2>See Also<a class="headerlink" href="#see-also" title="Link to this heading"></a></h2>
254 <p><a class="reference internal" href="../configs/imapd.conf.html#std-cyrusman-imapd.conf-5">imapd.conf(5)</a>,
255 <a class="reference internal" href="../configs/cyrus.conf.html#std-cyrusman-cyrus.conf-5">cyrus.conf(5)</a></p>
256 </section>
257 </section>
258
259
260 </div>
261 </div>
262 <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
263 <a href="sieved.html" class="btn btn-neutral float-left" title="sieved" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
264 <a href="squatter.html" class="btn btn-neutral float-right" title="squatter" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
265 </div>
266
267 <hr/>
268
269 <div role="contentinfo">
270 <p>&#169; Copyright 1993–2026, The Cyrus Team.</p>
271 </div>
272
273 Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
274 <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
275 provided by <a href="https://readthedocs.org">Read the Docs</a>.
276
277
278 </footer>
279 </div>
280 </div>
281 </section>
282 </div>
283 <script>
284 jQuery(function () {
285 SphinxRtdTheme.Navigation.enable(true);
286 });
287 </script>
288
289
290
291
292 </body>
293 </html>