| 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>How do I get Cyrus Sieve to play nice with Exim? — 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="Why does mail delivery go slow or hang sometimes?" href="interop-slow-delivery.html" /> |
| 24 |
<link rel="prev" title="Why does Cyrus reject messages with "bare newlines"?" href="interop-barenewlines.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"><a class="reference internal" href="../manpages/index.html">Man pages</a></li> |
| 57 |
<li class="toctree-l2"><a class="reference internal" href="../admin.html">Administrator Guide</a></li> |
| 58 |
<li class="toctree-l2 current"><a class="reference internal" href="../faq.html">Frequently Asked Questions</a><ul class="current"> |
| 59 |
<li class="toctree-l3"><a class="reference internal" href="../faq.html#features">Features</a></li> |
| 60 |
<li class="toctree-l3"><a class="reference internal" href="../faq.html#installation-problems">Installation Problems</a></li> |
| 61 |
<li class="toctree-l3"><a class="reference internal" href="../faq.html#common-feature-requests">Common Feature Requests</a></li> |
| 62 |
<li class="toctree-l3"><a class="reference internal" href="../faq.html#common-operational-questions">Common Operational Questions</a></li> |
| 63 |
<li class="toctree-l3 current"><a class="reference internal" href="../faq.html#common-interoperability-problems">Common Interoperability Problems</a><ul class="current"> |
| 64 |
<li class="toctree-l4"><a class="reference internal" href="interop-8bit.html">Why does Cyrus reject 8-bit characters in the headers of my messages?</a></li> |
| 65 |
<li class="toctree-l4"><a class="reference internal" href="interop-barenewlines.html">Why does Cyrus reject messages with "bare newlines"?</a></li> |
| 66 |
<li class="toctree-l4 current"><a class="current reference internal" href="#">How do I get Cyrus Sieve to play nice with Exim?</a></li> |
| 67 |
<li class="toctree-l4"><a class="reference internal" href="interop-slow-delivery.html">Why does mail delivery go slow or hang sometimes?</a></li> |
| 68 |
</ul> |
| 69 |
</li> |
| 70 |
</ul> |
| 71 |
</li> |
| 72 |
</ul> |
| 73 |
</li> |
| 74 |
<li class="toctree-l1"><a class="reference internal" href="../../../developers.html">Developers</a></li> |
| 75 |
<li class="toctree-l1"><a class="reference internal" href="../../../support.html">Support/Community</a></li> |
| 76 |
</ul> |
| 77 |
<p class="caption" role="heading"><span class="caption-text">Cyrus SASL</span></p> |
| 78 |
<ul> |
| 79 |
<li class="toctree-l1"><a class="reference external" href="http://www.cyrusimap.org/sasl">Cyrus SASL</a></li> |
| 80 |
</ul> |
| 81 |
|
| 82 |
</div> |
| 83 |
</div> |
| 84 |
</nav> |
| 85 |
|
| 86 |
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" > |
| 87 |
<i data-toggle="wy-nav-top" class="fa fa-bars"></i> |
| 88 |
<a href="../../../index.html">Cyrus IMAP</a> |
| 89 |
</nav> |
| 90 |
|
| 91 |
<div class="wy-nav-content"> |
| 92 |
<div class="rst-content"> |
| 93 |
<div role="navigation" aria-label="Page navigation"> |
| 94 |
<ul class="wy-breadcrumbs"> |
| 95 |
<li><a href="../../../index.html" class="icon icon-home" aria-label="Home"></a></li> |
| 96 |
<li class="breadcrumb-item"><a href="../../../operations.html">Operations</a></li> |
| 97 |
<li class="breadcrumb-item"><a href="../faq.html">Frequently Asked Questions</a></li> |
| 98 |
<li class="breadcrumb-item active">How do I get Cyrus Sieve to play nice with Exim?</li> |
| 99 |
<li class="wy-breadcrumbs-aside"> |
| 100 |
<a href="https://github.com/cyrusimap/cyrus-imapd/blob/master/docsrc/imap/reference/faqs/interop-sieve-exim.rst" class="fa fa-github"> Edit on GitHub</a> |
| 101 |
</li> |
| 102 |
</ul> |
| 103 |
<hr/> |
| 104 |
</div> |
| 105 |
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> |
| 106 |
<div itemprop="articleBody"> |
| 107 |
|
| 108 |
<section id="how-do-i-get-cyrus-sieve-to-play-nice-with-exim"> |
| 109 |
<h1>How do I get Cyrus Sieve to play nice with Exim?<a class="headerlink" href="#how-do-i-get-cyrus-sieve-to-play-nice-with-exim" title="Link to this heading"></a></h1> |
| 110 |
<p>This problem results from Cyrus using CRLF sequences to denote line |
| 111 |
breaks in its pipe to the sendmail process, which normal Sendmail |
| 112 |
handles just fine. However, Exim does not handle these sequences ok.</p> |
| 113 |
<p>Exim 4.20 and later has a drop_cr option which you can use, the |
| 114 |
following wrapper script was suggested by Bernhard Erdmann |
| 115 |
(<a class="reference external" href="mailto:be%40berdmann.de">be<span>@</span>berdmann<span>.</span>de</a>):</p> |
| 116 |
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>- /etc/imapd.conf: |
| 117 |
sendmail: /opt/exim/exim_dropcr |
| 118 |
|
| 119 |
- /opt/exim/exim_dropcr: |
| 120 |
#!/bin/sh |
| 121 |
/opt/exim/exim -dropcr $@ |
| 122 |
</pre></div> |
| 123 |
</div> |
| 124 |
</section> |
| 125 |
|
| 126 |
|
| 127 |
</div> |
| 128 |
</div> |
| 129 |
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> |
| 130 |
<a href="interop-barenewlines.html" class="btn btn-neutral float-left" title="Why does Cyrus reject messages with "bare newlines"?" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> |
| 131 |
<a href="interop-slow-delivery.html" class="btn btn-neutral float-right" title="Why does mail delivery go slow or hang sometimes?" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> |
| 132 |
</div> |
| 133 |
|
| 134 |
<hr/> |
| 135 |
|
| 136 |
<div role="contentinfo"> |
| 137 |
<p>© Copyright 1993–2026, The Cyrus Team.</p> |
| 138 |
</div> |
| 139 |
|
| 140 |
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a |
| 141 |
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> |
| 142 |
provided by <a href="https://readthedocs.org">Read the Docs</a>. |
| 143 |
|
| 144 |
|
| 145 |
</footer> |
| 146 |
</div> |
| 147 |
</div> |
| 148 |
</section> |
| 149 |
</div> |
| 150 |
<script> |
| 151 |
jQuery(function () { |
| 152 |
SphinxRtdTheme.Navigation.enable(true); |
| 153 |
}); |
| 154 |
</script> |
| 155 |
|
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
</body> |
| 160 |
</html> |