<div dir="ltr"><div>I'm trying to setup sieve and getting the following error in my logs:</div><div><br></div><div><pre><font face="arial,helvetica,sans-serif"><font size="1"><span style="font-family:monospace,monospace">Dec 17 10:36:07 bllmail01 cyrus/lmtp[14530]: sieve runtime error for <a href="mailto:jschaeffer@harmonywave.net">jschaeffer@harmonywave.net</a> id <CAFNRWC6zKssMS8cdyg1yG9t-fv6=+<a href="mailto:1jRpf4p5BKd8wgQ-19wgA@mail.gmail.com">1jRpf4p5BKd8wgQ-19wgA@mail.gmail.com</a>>: Reject: Sendmail process terminated normally, exit status 255</span></font></font></pre></div><div><br></div><div>I'm following the documentation here: <a href="https://www.cyrusimap.org/imap/reference/admin/sieve.html?highlight=sieve#testing-the-sieve-server" target="_blank">https://www.cyrusimap.org/imap/reference/admin/sieve.html?highlight=sieve#testing-the-sieve-server</a></div><div><br></div><div>I'm trying to get sieve working on my IMAP server. Using Ubuntu 16.04 with the cyrus-imapd 2.4.18-3 package. I'm using the test sieve script shown in the documentation to reject everything from my personal email:<br><pre>require ["reject","fileinto"];
if address :is :all "From" "<a href="mailto:jschaeffer0922@gmail.com">jschaeffer0922@gmail.com</a>"
{
reject "testing";
}<br><br></pre><pre><font face="arial,helvetica,sans-serif">I then connect using sieveshell, upload the file, and activate it:<br><br><font size="1"><span style="font-family:monospace,monospace">root@bllmail01:~# sieveshell -u <a href="mailto:jschaeffer@harmonywave.net">jschaeffer@harmonywave.net</a> -a <a href="mailto:jschaeffer@harmonywave.net">jschaeffer@harmonywave.net</a> mail.harmonywave.cloud<br>connecting to mail.harmonywave.cloud<br>Please enter your password: <br>> put /tmp/testing.sieve testing<br>> activate testing<br>> list<br>testing <- active script<br>> quit</span></font><br><br></font></pre><pre><font face="arial,helvetica,sans-serif">However when I send a test email from my personal account to the email I have setup on the IMAP server it always comes through and I get this in mail.log:<br><br><font size="1"><span style="font-family:monospace,monospace">Dec 17 10:36:07 bllmail01 cyrus/lmtp[14530]: sieve runtime error for <a href="mailto:jschaeffer@harmonywave.net">jschaeffer@harmonywave.net</a> id <CAFNRWC6zKssMS8cdyg1yG9t-fv6=+<a href="mailto:1jRpf4p5BKd8wgQ-19wgA@mail.gmail.com">1jRpf4p5BKd8wgQ-19wgA@mail.gmail.com</a>>: Reject: Sendmail process terminated normally, exit status 255</span></font><br><br></font></pre><pre><font face="arial,helvetica,sans-serif">I've tried searching for causes of this error but couldn't find much. Any help would be appreciated.<br><br></font></pre><pre><font face="arial,helvetica,sans-serif">Thanks,<br></font></pre><pre><font face="arial,helvetica,sans-serif">Joshua Schaeffer<br></font></pre></div></div>