How to use local dovecot (imap) with Alpine (18.10+ changes)












0















I have been using Alpine mail client with a local dovecot imap server (fed by offlineimap) for many years. Here are my compete 2011 instructions for how to set this up (https://cpbl.wordpress.com/2011/11/16/how-to-alpine-maildir-offlineimap/ ).



I have just updated from 18.04 to 18.10, and my arrangement no longer works. How can I fix it?



Alpine first tells me to replace localhost with localhost/novalidate-cert in my Alpine config file, and it then if I do that it asks me for a password. If I grudgingly give it one, it then shows me my /var/spool mailbox instead of my imap mailbox.



The following line is in my .pinerc:



rsh-command=/usr/lib/dovecot/imap -c ~/.auto-dovecot.conf 2>> ~/imap.log


My .auto-dovecot.conf has nothing but



verbose_proctitle = yes

mail_location = maildir:~/imap/mygmail:LAYOUT=fs:INBOX=~/imap/mygmail/INBOX


When I run from the command line



/usr/lib/dovecot/imap -c ~/.auto-dovecot.conf


I see the following (my POSIX username is meuser)




imap(meuser,)Error: net_connect_unix(/var/run/dovecot/stats-writer)
failed: Permission denied
* PREAUTH [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES
WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY LITERAL+
NOTIFY] Logged in as meuser




which tells me that dovecot is running fine. But I do not understand what this is telling me or what is wrong.










share|improve this question





























    0















    I have been using Alpine mail client with a local dovecot imap server (fed by offlineimap) for many years. Here are my compete 2011 instructions for how to set this up (https://cpbl.wordpress.com/2011/11/16/how-to-alpine-maildir-offlineimap/ ).



    I have just updated from 18.04 to 18.10, and my arrangement no longer works. How can I fix it?



    Alpine first tells me to replace localhost with localhost/novalidate-cert in my Alpine config file, and it then if I do that it asks me for a password. If I grudgingly give it one, it then shows me my /var/spool mailbox instead of my imap mailbox.



    The following line is in my .pinerc:



    rsh-command=/usr/lib/dovecot/imap -c ~/.auto-dovecot.conf 2>> ~/imap.log


    My .auto-dovecot.conf has nothing but



    verbose_proctitle = yes

    mail_location = maildir:~/imap/mygmail:LAYOUT=fs:INBOX=~/imap/mygmail/INBOX


    When I run from the command line



    /usr/lib/dovecot/imap -c ~/.auto-dovecot.conf


    I see the following (my POSIX username is meuser)




    imap(meuser,)Error: net_connect_unix(/var/run/dovecot/stats-writer)
    failed: Permission denied
    * PREAUTH [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
    MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
    LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES
    WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY LITERAL+
    NOTIFY] Logged in as meuser




    which tells me that dovecot is running fine. But I do not understand what this is telling me or what is wrong.










    share|improve this question



























      0












      0








      0








      I have been using Alpine mail client with a local dovecot imap server (fed by offlineimap) for many years. Here are my compete 2011 instructions for how to set this up (https://cpbl.wordpress.com/2011/11/16/how-to-alpine-maildir-offlineimap/ ).



      I have just updated from 18.04 to 18.10, and my arrangement no longer works. How can I fix it?



      Alpine first tells me to replace localhost with localhost/novalidate-cert in my Alpine config file, and it then if I do that it asks me for a password. If I grudgingly give it one, it then shows me my /var/spool mailbox instead of my imap mailbox.



      The following line is in my .pinerc:



      rsh-command=/usr/lib/dovecot/imap -c ~/.auto-dovecot.conf 2>> ~/imap.log


      My .auto-dovecot.conf has nothing but



      verbose_proctitle = yes

      mail_location = maildir:~/imap/mygmail:LAYOUT=fs:INBOX=~/imap/mygmail/INBOX


      When I run from the command line



      /usr/lib/dovecot/imap -c ~/.auto-dovecot.conf


      I see the following (my POSIX username is meuser)




      imap(meuser,)Error: net_connect_unix(/var/run/dovecot/stats-writer)
      failed: Permission denied
      * PREAUTH [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
      MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
      LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES
      WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY LITERAL+
      NOTIFY] Logged in as meuser




      which tells me that dovecot is running fine. But I do not understand what this is telling me or what is wrong.










      share|improve this question
















      I have been using Alpine mail client with a local dovecot imap server (fed by offlineimap) for many years. Here are my compete 2011 instructions for how to set this up (https://cpbl.wordpress.com/2011/11/16/how-to-alpine-maildir-offlineimap/ ).



      I have just updated from 18.04 to 18.10, and my arrangement no longer works. How can I fix it?



      Alpine first tells me to replace localhost with localhost/novalidate-cert in my Alpine config file, and it then if I do that it asks me for a password. If I grudgingly give it one, it then shows me my /var/spool mailbox instead of my imap mailbox.



      The following line is in my .pinerc:



      rsh-command=/usr/lib/dovecot/imap -c ~/.auto-dovecot.conf 2>> ~/imap.log


      My .auto-dovecot.conf has nothing but



      verbose_proctitle = yes

      mail_location = maildir:~/imap/mygmail:LAYOUT=fs:INBOX=~/imap/mygmail/INBOX


      When I run from the command line



      /usr/lib/dovecot/imap -c ~/.auto-dovecot.conf


      I see the following (my POSIX username is meuser)




      imap(meuser,)Error: net_connect_unix(/var/run/dovecot/stats-writer)
      failed: Permission denied
      * PREAUTH [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
      MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
      LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES
      WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY LITERAL+
      NOTIFY] Logged in as meuser




      which tells me that dovecot is running fine. But I do not understand what this is telling me or what is wrong.







      email dovecot imap






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 23 '18 at 19:38







      CPBL

















      asked Dec 23 '18 at 18:17









      CPBLCPBL

      278510




      278510






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Alpine hasn't changed from 18.04 to 18.10, but dovecot did.



          The problem appears to be an issue that the developers of dovecot are working on.
          I have not issued a bug report, but after discussions with lead dev Iko Tuomi, it turns out that the solution is to put the following into /etc/dovecot/dovecot.conf:



          service stats {
          unix_listener stats-writer {
          mode = 0666
          }
          }


          Then all of my old prescriptions (including the custom .conf file that is used for the imapd call) work fine as they were. (and I'll update that blog shortly)






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104056%2fhow-to-use-local-dovecot-imap-with-alpine-18-10-changes%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Alpine hasn't changed from 18.04 to 18.10, but dovecot did.



            The problem appears to be an issue that the developers of dovecot are working on.
            I have not issued a bug report, but after discussions with lead dev Iko Tuomi, it turns out that the solution is to put the following into /etc/dovecot/dovecot.conf:



            service stats {
            unix_listener stats-writer {
            mode = 0666
            }
            }


            Then all of my old prescriptions (including the custom .conf file that is used for the imapd call) work fine as they were. (and I'll update that blog shortly)






            share|improve this answer




























              1














              Alpine hasn't changed from 18.04 to 18.10, but dovecot did.



              The problem appears to be an issue that the developers of dovecot are working on.
              I have not issued a bug report, but after discussions with lead dev Iko Tuomi, it turns out that the solution is to put the following into /etc/dovecot/dovecot.conf:



              service stats {
              unix_listener stats-writer {
              mode = 0666
              }
              }


              Then all of my old prescriptions (including the custom .conf file that is used for the imapd call) work fine as they were. (and I'll update that blog shortly)






              share|improve this answer


























                1












                1








                1







                Alpine hasn't changed from 18.04 to 18.10, but dovecot did.



                The problem appears to be an issue that the developers of dovecot are working on.
                I have not issued a bug report, but after discussions with lead dev Iko Tuomi, it turns out that the solution is to put the following into /etc/dovecot/dovecot.conf:



                service stats {
                unix_listener stats-writer {
                mode = 0666
                }
                }


                Then all of my old prescriptions (including the custom .conf file that is used for the imapd call) work fine as they were. (and I'll update that blog shortly)






                share|improve this answer













                Alpine hasn't changed from 18.04 to 18.10, but dovecot did.



                The problem appears to be an issue that the developers of dovecot are working on.
                I have not issued a bug report, but after discussions with lead dev Iko Tuomi, it turns out that the solution is to put the following into /etc/dovecot/dovecot.conf:



                service stats {
                unix_listener stats-writer {
                mode = 0666
                }
                }


                Then all of my old prescriptions (including the custom .conf file that is used for the imapd call) work fine as they were. (and I'll update that blog shortly)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 31 '18 at 22:23









                CPBLCPBL

                278510




                278510






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104056%2fhow-to-use-local-dovecot-imap-with-alpine-18-10-changes%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Mont Emei

                    Province de Neuquén

                    Journaliste