<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
@font-face
        {font-family:"Lucida Console \,serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Exactly as I suspected:<o:p></o:p></p><p class=MsoNormal>> service lmtp {<br>>   inet_listener lmtp {<br>>     address = 127.0.0.1<br>>     port = 4190<br>>   }<br>> }<br><br><o:p></o:p></p><p class=MsoNormal>As for why it looks that way?  Dunno.  Check conf.d/20-lmtp.conf.  That doesn’t make sense.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console",serif'>-- <o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console",serif'>Steve Watt   KD6GGD     PP-ASEL-IA   factories.words.yappy<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console",serif'>Don't let your schooling get in the way of your education.<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Dan Egli <dan@newideatest.site> <br><b>Sent:</b> Friday, April 30, 2021 23:50<br><b>To:</b> steve@watt.com; dovecot@dovecot.org<br><b>Subject:</b> Re: Sieve daemon errors? (Part 1 of 2, Pt 2 to follow when Pt 1 resolved)<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>Ask and ye shall receive:  # dovecot -n<br># 2.3.13 (89f716dc2): /etc/dovecot/dovecot.conf<br># Pigeonhole version 0.5.13 (cdd19fe3)<br># OS: Linux 5.11.16-gentoo-x86_64 x86_64 Gentoo Base System release 2.7 xfs<br># Hostname: jupiter.newideatest.site<br>auth_debug = yes<br>auth_mechanisms = plain login<br>auth_socket_path = /run/dovecot/auth-userdb<br>auth_verbose = yes<br>debug_log_path = /var/log/dovecot/debug.log<br>default_vsz_limit = 1 G<br>disable_plaintext_auth = no<br>first_valid_uid = 114<br>hostname = jupiter.newideatest.site<br>info_log_path = /var/log/dovecot/info.log<br>log_path = /var/log/dovecot/error.log<br>mail_debug = yes<br>mail_gid = exim4u<br>mail_location = maildir:/var/mail/%d/%n/Maildir:INDEX=/var/mail/indexes/%d/%1n/%                                                                                                                                                             n<br>mail_plugins = fts<br>mail_privileged_group = mail<br>mail_server_admin = <redacted><br>mail_uid = exim4u<br>managesieve_notify_capability = mailto<br>managesieve_sieve_capability = fileinto reject envelope encoded-character vacati                                                                                                                                                             on subaddress comparator-i;ascii-numeric relational regex imap4flags copy includ                                                                                                                                                             e variables body enotify environment mailbox date index ihave duplicate mime for                                                                                                                                                             everypart extracttext imapsieve vnd.dovecot.imapsieve<br>namespace inbox {<br>  inbox = yes<br>  location =<br>  mailbox Drafts {<br>    special_use = \Drafts<br>  }<br>  mailbox Junk {<br>    special_use = \Junk<br>  }<br>  mailbox Sent {<br>    special_use = \Sent<br>  }<br>  mailbox "Sent Messages" {<br>    special_use = \Sent<br>  }<br>  mailbox Trash {<br>    special_use = \Trash<br>  }<br>  prefix =<br>}<br>passdb {<br>  args = /etc/dovecot/dovecot-sql.conf.ext<br>  driver = sql<br>}<br>passdb {<br>  args = /etc/dovecot/dovecot-ldap.conf.ext<br>  driver = ldap<br>}<br>plugin {<br>  fts_autoindex = yes<br>  fts_autoindex_exclude = \Junk<br>  fts_autoindex_exclude2 = \Trash<br>  fts_autoindex_exclude3 = \Drafts<br>  fts_autoindex_exclude4 = \Spam<br>  fts_enforced = yes<br>  imapsieve_mailbox1_before = <a href="file://var/lib/dovecot/sieve/report-spam.sieve">file:/var/lib/dovecot/sieve/report-spam.sieve</a><br>  imapsieve_mailbox1_causes = COPY<br>  imapsieve_mailbox1_name = Spam<br>  imapsieve_mailbox2_before = <a href="file://var/lib/dovecot/sieve/report-ham.sieve">file:/var/lib/dovecot/sieve/report-ham.sieve</a><br>  imapsieve_mailbox2_causes = COPY<br>  imapsieve_mailbox2_from = Spam<br>  imapsieve_mailbox2_name = *<br>  plugin = fts managesieve sieve<br>  sieve = <a href="file://%25h/sieve;active=%25h/.dovecot.sieve">file:%h/sieve;active=%h/.dovecot.sieve</a><br>  sieve_Dir = ~/sieve<br>  sieve_execute_bin_dir = /usr/lib/dovecot/sieve-execute<br>  sieve_filter_bin_dir = /usr/lib/dovecot/sieve-filter<br>  sieve_global_dir = /var/lib/dovecot/sieve/<br>  sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment<br>  sieve_global_path = /var/lib/dovecot/sieve/default.sieve<br>  sieve_pipe_bin_dir = /var/lib/dovecot/sieve<br>  sieve_plugins = sieve_imapsieve sieve_extprograms<br>}<br>postmaster_address = <a href="mailto:postmaster@newideatest.site">postmaster@newideatest.site</a><br>service auth {<br>  unix_listener auth-client {<br>    mode = 0600<br>    user = exim4u<br>  }<br>  unix_listener auth-userdb {<br>    group = exim4u<br>    mode = 0777<br>    user = exim4u<br>  }<br>}<br>service lmtp {<br>  inet_listener lmtp {<br>    address = 127.0.0.1<br>    port = 4190<br>  }<br>}<br>service managesieve-login {<br>  inet_listener sieve {<br>    port = 4190<br>  }<br>  process_min_avail = 0<br>  service_count = 1<br>  vsz_limit = 64 M<br>}<br>service managesieve {<br>  process_limit = 1024<br>}<br>service stats {<br>  unix_listener stats-reader {<br>    mode = 0777<br>    user = exim4u<br>  }<br>  unix_listener stats-writer {<br>    mode = 0777<br>    user = exim4u<br>  }<br>}<br>service submission-login {<br>  inet_listener submission {<br>    port = 2587<br>  }<br>}<br>ssl_cert = </etc/letsencrypt/live/newideatest.site/fullchain.pem<br>ssl_client_ca_dir = /etc/pki/tls/exim_tls/<br>ssl_dh = # hidden, use -P to show it<br>ssl_key = # hidden, use -P to show it<br>userdb {<br>  args = /etc/dovecot/dovecot-sql.conf.ext<br>  driver = sql<br>}<br>userdb {<br>  args = uid=exim4u gid=exim4u home=/var/mail/%Ld/%Ln<br>  driver = static<br>}<br>verbose_ssl = yes<br>protocol lmtp {<br>  info_log_path = /var/log/dovecot/lmtp.log<br>  log_path = /var/log/dovecot/lmtp-errors.log<br>  mail_plugins = fts sieve sieve<br>  postmaster_address = <a href="mailto:postmaster@newideatest.site">postmaster@newideatest.site</a><br>}<br>protocol lda {<br>  info_log_path = /var/log/dovecot/lda.log<br>  log_path = /var/log/dovecot/lda-errors.log<br>  mail_plugins = fts sieve sieve<br>}<br>protocol imap {<br>  mail_plugins = fts imap_sieve<br>}<br>protocol sieve {<br>  info_log_path = /var/log/dovecot/sieve.log<br>  log_path = /var/log/dovecot/sieve-errors.log<br>  managesieve_implementation_string = Dovecot<br>  managesieve_max_compile_errors = 5<br>  managesieve_max_line_length = 64 k<br>}<br>j<o:p></o:p></p><div><p class=MsoNormal>On 5/1/2021 12:44 AM, Steve Watt wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>From a little bit of poking around in the source, I wonder if you somehow have the LMTP listener running on the sieve port.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>The output of doveconf -n will help more than just the 90-sieve.conf.  Also check the dovecot log; I found it helpful (once I figured out how to configure it) with debugging.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>[ Apologies for top post; brain-damaged MUA in use. ]<o:p></o:p></p><div><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console ,serif",serif'>-- </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console ,serif",serif'>Steve Watt   KD6GGD     PP-ASEL-IA   factories.words.yappy</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console ,serif",serif'>Don't let your schooling get in the way of your education.</span><o:p></o:p></p></div><p class=MsoNormal> <o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> dovecot <a href="mailto:dovecot-bounces@dovecot.org"><dovecot-bounces@dovecot.org></a> <b>On Behalf Of </b>Dan Egli<br><b>Sent:</b> Friday, April 30, 2021 23:13<br><b>To:</b> <a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a><br><b>Subject:</b> Sieve daemon errors? (Part 1 of 2, Pt 2 to follow when Pt 1 resolved)<o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p>Folks, I am still trying to get help here. Let me re-state what is going on. I have a webmail program (SOGo) that connects to the Dovecot sieve system to handle things like mail filters and what not. That way dovecot's lda program can move things where they belong. So I went through the config files, and found the places where I need to enable sieve (this is in Gentoo Linux, by the way).  Now, when dovecot starts I do see a listener on the sieve port on localhost:<o:p></o:p></p><p>#netstat -tl | grep sieve<br>tcp        0      0 localhost:sieve         0.0.0.0:*               LISTEN<o:p></o:p></p><p>And when I telnet to the port, it does connect. But it doesn't say much.<o:p></o:p></p><p> telnet localhost sieve<br>Trying 127.0.0.1...<br>Connected to localhost.<br>Escape character is '^]'.<br>220 jupiter.newideatest.site Dovecot ready.<o:p></o:p></p><p> <o:p></o:p></p><p>Yet every example I see online is showing a HECK of a lot more than this. So what's up? Anyone got any idea what I did wrong? I've put the 90-sieve.conf file on my web server at <a href="http://www.newideatest.site/90-sieve.conf">www.newideatest.site/90-sieve.conf</a> for those who want to see it. If any other config files are wanted/needed to help figure this out, let me know what they are and I'll take care of it.  Here's an example of what other websites I've looked at say I SHOULD see:<o:p></o:p></p><pre>Trying 162.243.12.140...<o:p></o:p></pre><pre>Connected to test3.rtcamp.com.<o:p></o:p></pre><pre>Escape character is '^]'.<o:p></o:p></pre><pre><strong><span style='font-family:"Courier New"'>"IMPLEMENTATION" "Dovecot Pigeonhole"</span></strong><o:p></o:p></pre><pre><strong><span style='font-family:"Courier New"'>"SIEVE" "fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave"</span></strong><o:p></o:p></pre><pre>"NOTIFY" "mailto"<o:p></o:p></pre><pre>"SASL" "PLAIN LOGIN"<o:p></o:p></pre><pre>"STARTTLS"<o:p></o:p></pre><pre>"VERSION" "1.0"<o:p></o:p></pre><pre>OK "Dovecot ready."<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>so why am I not getting all this?<o:p></o:p></pre><pre>-- <o:p></o:p></pre><pre>Dan Egli<o:p></o:p></pre><pre>From my Test Server<o:p></o:p></pre></blockquote><pre>-- <o:p></o:p></pre><pre>Dan Egli<o:p></o:p></pre><pre>From my Test Server<o:p></o:p></pre></div></body></html>