<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Dear Egoitz and Cyrus friends,</div><div class=""><br class=""></div><div class="">Check if sieve is actually listening at port 2000 as well.</div><div class=""><br class=""></div><br class=""><div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">Wiel Offermans</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><a href="mailto:Willem@Offermans.Rompen.nl" class="">Willem@Offermans.Rompen.nl</a></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 18 Feb 2019, at 09:34, <a href="mailto:egoitz@sarenet.es" class="">egoitz@sarenet.es</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class=""><div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif" class=""><p class="">Hi!</p><p class=""><br class=""></p><p class="">Could you try enabling local6.debug channel in syslog, so that you could see additional Sieve debugging information?. Can you then post that log?</p><p class=""><br class=""></p><p class="">Cheers!</p>
<div class=""> </div><p class=""><br class=""></p><p class="">El 2019-02-15 12:32, J Pilfold-Bagwell escribió:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0" class=""><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span style="white-space: nowrap;" class="">Hi All,</span><br class=""> <br class=""> I have a Centos 7 box running with the latest default cyrus install from the Centos 7 repo, i.e. cyrus-imapd-2.4.17-13.el7.x86_64 .<br class=""> <br class=""> The problem I have is that sieve doesn't seem to pay any attention to the scripts. I have sieve running, I can successfully log in to it using sieveshell, create, upload and activate scripts, but they don't seem to be applied to the incoming mail. First I was trying the vacation and reject scripts so checked that the correct sendmail is in use but it fails on fileinto as well.<br class=""> <br class=""> <span style="white-space: nowrap;" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">imapd.conf looks like this:</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">[root@mail admin]# cat /etc/imapd.conf</span><br class=""> <span style="white-space: nowrap;" class="">configdirectory: /var/lib/imap</span><br class=""> <span style="white-space: nowrap;" class="">partition-default: /var/spool/imap</span><br class=""> <span style="white-space: nowrap;" class="">admins: cyradmin</span><br class=""> <span style="white-space: nowrap;" class="">sieve_admins: cyradmin</span><br class=""> <span style="white-space: nowrap;" class="">sievedir: /var/lib/imap/sieve</span><br class=""> <span style="white-space: nowrap;" class="">sendmail: /usr/sbin/sendmail</span><br class=""> <span style="white-space: nowrap;" class="">hashimapspool: true</span><br class=""> <span style="white-space: nowrap;" class="">sasl_pwcheck_method: auxprop</span><br class=""> <span style="white-space: nowrap;" class="">sasl_auxprop_plugin: sasldb</span><br class=""> <span style="white-space: nowrap;" class="">sasl_mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5</span><br class=""> <span style="white-space: nowrap;" class="">allowplaintext: yes</span><br class=""> <span style="white-space: nowrap;" class="">allowusermoves: yes</span><br class=""> <span style="white-space: nowrap;" class="">defaultdomain: mail</span><br class=""> <span style="white-space: nowrap;" class="">lmtp_downcase_rcpt: yes</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">tls_cert_file: /etc/ssl/certs/cyrus-imapd/newcert.pem</span><br class=""> <span style="white-space: nowrap;" class="">tls_key_file: /etc/ssl/certs/cyrus-imapd/newkey.pem</span><br class=""> <span style="white-space: nowrap;" class="">tls_ca_file: /etc/ssl/certs/cyrus-imapd/cacert.pem</span><br class=""> <span style="white-space: nowrap;" class="">tls_ca_path: /etc/ssl/certscyrus-imapd</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">cyrus.conf:</span><br class=""> <br class=""> <span style="white-space: nowrap;" class=""># standard standalone server implementation</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">START {</span><br class=""> <span style="white-space: nowrap;" class=""> # do not delete this entry!</span><br class=""> <span style="white-space: nowrap;" class=""> recover cmd="ctl_cyrusdb -r"</span><br class=""> <br class=""> <span style="white-space: nowrap;" class=""> # this is only necessary if using idled for IMAP IDLE</span><br class=""> <span style="white-space: nowrap;" class=""> idled cmd="idled"</span><br class=""> <span style="white-space: nowrap;" class="">}</span><br class=""> <br class=""> <span style="white-space: nowrap;" class=""># UNIX sockets start with a slash and are put into /var/lib/imap/sockets</span><br class=""> <span style="white-space: nowrap;" class="">SERVICES {</span><br class=""> <span style="white-space: nowrap;" class=""> # add or remove based on preferences</span><br class=""> <span style="white-space: nowrap;" class=""> imap cmd="imapd" listen="imap" prefork=5</span><br class=""> <span style="white-space: nowrap;" class=""> imaps cmd="imapd -s" listen="imaps" prefork=1</span><br class=""> <span style="white-space: nowrap;" class=""># pop3 cmd="pop3d" listen="pop3" prefork=3</span><br class=""> <span style="white-space: nowrap;" class=""># pop3s cmd="pop3d -s" listen="pop3s" prefork=1</span><br class=""> <span style="white-space: nowrap;" class=""> sieve cmd="timsieved" listen="0.0.0.0:2000" prefork=0</span><br class=""> <span style="white-space: nowrap;" class=""> sieve cmd="timsieved" listen="0.0.0.0:4190" prefork=0</span><br class=""> <span style="white-space: nowrap;" class=""># managesieve cmd="timsieved" listen="localhost:4190" prefork=0</span><br class=""> <br class=""> <span style="white-space: nowrap;" class=""> # these are only necessary if receiving/exporting usenet via NNTP</span><br class=""> <span style="white-space: nowrap;" class=""># nntp cmd="nntpd" listen="nntp" prefork=3</span><br class=""> <span style="white-space: nowrap;" class=""># nntps cmd="nntpd -s" listen="nntps" prefork=1</span><br class=""> <br class=""> <span style="white-space: nowrap;" class=""> # at least one LMTP is required for delivery</span><br class=""> <span style="white-space: nowrap;" class=""># lmtp cmd="lmtpd" listen="lmtp" prefork=0</span><br class=""> <span style="white-space: nowrap;" class=""> lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1</span><br class=""> <br class=""> <span style="white-space: nowrap;" class=""> # this is only necessary if using notifications</span><br class=""> # notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1<br class=""> <span style="white-space: nowrap;" class="">}</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">EVENTS {</span><br class=""> <span style="white-space: nowrap;" class=""> # this is required</span><br class=""> <span style="white-space: nowrap;" class=""> checkpoint cmd="ctl_cyrusdb -c" period=30</span><br class=""> <br class=""> <span style="white-space: nowrap;" class=""> # this is only necessary if using duplicate delivery suppression,</span><br class=""> <span style="white-space: nowrap;" class=""> # Sieve or NNTP</span><br class=""> <span style="white-space: nowrap;" class=""> delprune cmd="cyr_expire -E 3" at=0400</span><br class=""> <br class=""> <span style="white-space: nowrap;" class=""> # this is only necessary if caching TLS sessions</span><br class=""> <span style="white-space: nowrap;" class=""> tlsprune cmd="tls_prune" at=0400</span><br class=""> <br class=""> <span style="white-space: nowrap;" class=""> # reindex changed mailboxes (fulltext) approximately every three hours</span><br class=""> squatter1 cmd="/usr/bin/ionice -c idle /usr/lib/cyrus/bin/squatter -s" period=180<br class=""> <br class=""> <span style="white-space: nowrap;" class=""> # reindex all mailboxes (fulltext) daily</span><br class=""> <span style="white-space: nowrap;" class=""> squattera cmd="/usr/lib/cyrus/bin/squatter" at=0117</span><br class=""> <span style="white-space: nowrap;" class="">}</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">sieveshell logs in fine:</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">[root@mail admin]# sieveshell --authname=cyradmin --user=testuser1 localhost</span><br class=""> <span style="white-space: nowrap;" class="">connecting to localhost</span><br class=""> <span style="white-space: nowrap;" class="">Please enter your password:</span>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0" class="">list</blockquote>
mail<br class=""> <span style="white-space: nowrap;" class="">sieve-test <- active script</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~telnet</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">Telnet login provides:</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">[root@mail admin]# telnet 192.168.0.6 4190</span><br class=""> <span style="white-space: nowrap;" class="">Trying 192.168.0.6...</span><br class=""> <span style="white-space: nowrap;" class="">Connected to 192.168.0.6.</span><br class=""> <span style="white-space: nowrap;" class="">Escape character is '^]'.</span><br class=""> <span style="white-space: nowrap;" class="">"IMPLEMENTATION" "Cyrus timsieved v2.4.17-Fedora-RPM-2.4.17-13.el7"</span><br class=""> <span style="white-space: nowrap;" class="">"SASL" "PLAIN LOGIN CRAM-MD5 DIGEST-MD5"</span><br class=""> "SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify envelope relational regex subaddress copy"<br class=""> <span style="white-space: nowrap;" class="">"STARTTLS"</span><br class=""> <span style="white-space: nowrap;" class="">"UNAUTHENTICATE"</span><br class=""> OK<br class=""> <br class=""> <span style="white-space: nowrap;" class="">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><br class=""> <br class=""> And this works for both port 2000 and 4190 on all interfaces. LMTP is in use but somewhere, they aren't talking.<br class=""> <br class=""> Does anyone have any troubleshooting tips they can feed me or, can anyone see a glaringly obvious error I've made because it's all gone a bit wood for the trees here.<br class=""> <br class=""> The logs are huge but if you'd like to see the contents, let me know what you'd like it grep'd for and I'll provide.<br class=""> <br class=""> <span style="white-space: nowrap;" class="">Thanks,</span><br class=""> <br class=""> Julian<br class=""> <br class=""> -- <br class=""> <span style="white-space: nowrap;" class="">This email is from Borden Grammar School Trust.</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">This email, together with any files transmitted with it, is confidential, and is intended solely for the use of the individual or entity to whom it is addressed. Any unauthorised dissemination or copying of this email or its attachments, and any use or disclosure of any information contained in them, is strictly prohibited, and may also be illegal. If you are not the intended recipient you may not use, disclose, distribute, copy, print or relay this email.</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">Please note that any views expressed by an individual within this email, do not necessarily reflect the views of the Borden Grammar School Trust.</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">Borden Grammar School Trust has taken reasonable precautions to ensure no viruses are present in this email. The Academy cannot accept responsibility for any loss or damage arising from the use of this email and/or files attached.</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">Registered Office: Borden Grammar School, Avenue of Remembrance, Sittingbourne, Kent ME10 4DB</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">Registered in England: 07827591</span><br class=""> <br class=""> <span style="white-space: nowrap;" class="">----</span><br class=""> <span style="white-space: nowrap;" class="">Cyrus Home Page: <a href="http://www.cyrusimap.org/" target="_blank" rel="noopener noreferrer" class="">http://www.cyrusimap.org/</a></span><br class=""> <span style="white-space: nowrap;" class="">List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" target="_blank" rel="noopener noreferrer" class="">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a></span><br class=""> <span style="white-space: nowrap;" class="">To Unsubscribe:</span><br class=""> <span style="white-space: nowrap;" class=""><a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" target="_blank" rel="noopener noreferrer" class="">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></span></div>
</blockquote>
</div>
----<br class="">Cyrus Home Page: <a href="http://www.cyrusimap.org/" class="">http://www.cyrusimap.org/</a><br class="">List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" class="">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br class="">To Unsubscribe:<br class=""><a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" class="">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></div></blockquote></div><br class=""></body></html>