<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Aki,<div>(This message might not make it to the list; I have to switch back to the other dovecot to be able to send from that address)</div><div><br></div><div>Oops; I did not think carefully enough about your instructions. Here is the output from</div><div><br></div><div><div>$ dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf</div><div><br></div><div># 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf</div><div># Pigeonhole version 0.5.2 ()</div><div># OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4</div><div># Hostname: cpbl-t450s</div><div>doveconf: Warning: please set ssl_dh=</etc/dovecot/dh.pem</div><div>doveconf: Warning: You can generate it with: dd if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dhparam -inform der > /etc/dovecot/dh.pem</div><div>mail_location = maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX</div><div>service stats {</div><div> unix_listener stats-writer {</div><div> mode = 0666</div><div> }</div><div>}</div><div>ssl_dh = # hidden, use -P to show it</div><div>verbose_proctitle = yes</div></div><div><br></div><div><br></div><div>I then followed the instructions in the Warning lines above and now I get:</div><div><br></div><div><div> dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf</div><div># 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf</div><div># Pigeonhole version 0.5.2 ()</div><div># OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4</div><div># Hostname: cpbl-t450s</div><div>mail_location = maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX</div><div>service stats {</div><div> unix_listener stats-writer {</div><div> mode = 0666</div><div> }</div><div>}</div><div>ssl_dh = # hidden, use -P to show it</div><div>verbose_proctitle = yes</div></div><div><br></div><div><br></div><div>However, this does not help my primary symptom:</div><div><br></div><div><br></div><div><div>$ /usr/lib/dovecot/imap -c /home/meuser/dotfiles/auto-stanford-dovecot.conf</div><div>imap(meuser,)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied</div><div>* 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</div></div><div><br></div><div><br></div><div>Thanks!</div><div>Chris</div><div><br></div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 31, 2018 at 10:27 AM Aki Tuomi <<a href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Did you remove the service section before taking doveconf -n? 'cos I can't see it here..<br>
<br>
Also, did you restart dovecot after config change?<br>
<br>
Aki<br>
<br>
> On 31 December 2018 at 16:54 Chris BL <<a href="mailto:cpblpublic%2Bdovecot@gmail.com" target="_blank">cpblpublic+dovecot@gmail.com</a>> wrote:<br>
> <br>
> <br>
> Hi Aki, <br>
> <br>
> Yes, the same connect error: imap(meuser,)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied<br>
> <br>
> The mail location in "doveconf -n" (belo) does not reflect my preferences.<br>
> <br>
> In Alpine, if I acknowledge the error I get, which tells me to add <br>
> novalidate-cert in my pinerc file, it prompts me for my POSIX username and <br>
> password. After that, I get my /var/spool/mail inbox, which is not what I <br>
> want.<br>
> <br>
> <br>
> doveconf -n<br>
> # 2.3.2.1 (0719df592): /etc/dovecot/dovecot.conf<br>
> # Pigeonhole version 0.5.2 ()<br>
> # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 <br>
> # Hostname: myhost-t450s<br>
> mail_location = mbox:~/mail:INBOX=/var/mail/%u<br>
> mail_privileged_group = mail<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>
> driver = pam<br>
> }<br>
> protocols = " imap"<br>
> ssl_cert = </etc/dovecot/private/dovecot.pem<br>
> ssl_client_ca_dir = /etc/ssl/certs<br>
> ssl_dh = # hidden, use -P to show it<br>
> ssl_key = # hidden, use -P to show it<br>
> userdb {<br>
> driver = passwd<br>
> }<br>
> <br>
> <br>
> <br>
> On Mon, 31 Dec 2018, Aki Tuomi wrote:<br>
> <br>
> > You are still getting the connect error?<br>
> > <br>
> > Can you share your doveconf -n?<br>
> > <br>
> > Aki<br>
> > <br>
> > > On 31 December 2018 at 16:42 <a href="mailto:cpblpublic%2Bdovecot@gmail.com" target="_blank">cpblpublic+dovecot@gmail.com</a> wrote:<br>
> > > <br>
> > > <br>
> > > Hi Aki,<br>
> > > <br>
> > > Thanks. I put that in the .conf file I mentioned, and it made no <br>
> > > difference.<br>
> > > <br>
> > > Chris<br>
> > > <br>
> > > > Hi!<br>
> > > > <br>
> > > > In your case it's probably easiest to change <br>
> > > > <br>
> > > > service stats {<br>
> > > > unix_listener stats-writer {<br>
> > > > mode = 0666<br>
> > > > }<br>
> > > > }<br>
> > > > <br>
> > > > Aki<br>
> > > > <br>
> > > > > On 31 December 2018 at 16:05 <a href="mailto:cpblpublic%2Bdovecot@gmail.com" target="_blank">cpblpublic+dovecot@gmail.com</a> wrote:<br>
> > > > > <br>
> > > > > <br>
> > > > > <br>
> > > > > I use a localhost dovecot imap server in order to access maildir folders from Alpine (see 2009 instructions for my set up here <br>
> > > > > <a href="https://cpbl.wordpress.com/2009/11/07/alpine-offlineimap-and-gmail-under-ubuntu/" rel="noreferrer" target="_blank">https://cpbl.wordpress.com/2009/11/07/alpine-offlineimap-and-gmail-under-ubuntu/</a> )<br>
> > > > > <br>
> > > > > My configuration has worked nicely since 2009, but failed after a recent upgrade of dovecot (during basic upgrade from Ubuntu 18.04 to 18.10).<br>
> > > > > <br>
> > > > > The version of Alpine did not change. Uninstalling dovecot-core and dovecot-imapd, and reinstalling the older versions, fully fixes the problem.<br>
> > > > > <br>
> > > > > I would like to know how to get my configuration working with the new version of dovecot.<br>
> > > > > <br>
> > > > > Here's what the problem looks like:<br>
> > > > > <br>
> > > > > I have a file auto-dovecot.conf with only the following two lines.<br>
> > > > > <br>
> > > > > verbose_proctitle = yes<br>
> > > > > mail_location = maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX<br>
> > > > > <br>
> > > > > Other /etc/ files are unchanged from installation defaults.<br>
> > > > > <br>
> > > > > Alpine calls imapd when it starts, with the following command:<br>
> > > > > <br>
> > > > > /usr/lib/dovecot/imap -c /home/meuser/dotfiles/auto-dovecot.conf<br>
> > > > > <br>
> > > > > <br>
> > > > > When I run that command, I get:<br>
> > > > > <br>
> > > > > imap(meuser,)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied<br>
> > > > > * PREAUTH [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE <br>
> > > > > SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT <br>
> > > > > MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS <br>
> > > > > LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN <br>
> > > > > CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY LITERAL+ NOTIFY] <br>
> > > > > Logged in as meuser<br>
> > > > > <br>
> > > > > <br>
> > > > > <br>
> > > > > <br>
> > > > > so I am guessing that the first line is the issue, since when the older version I get instead:<br>
> > > > > <br>
> > > > > * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE <br>
> > > > > IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT <br>
> > > > > MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS <br>
> > > > > LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN <br>
> > > > > CONTEXT=SEARCH LIST-STATUS BINARY MOVE] Logged in as meuser<br>
> > > > > <br>
> > > > > <br>
> > > > > Can anyone help me? I cannot find documentation for using a localhost server for Alpine, except my own from 2009.<br>
> > > > > <br>
> > > > > Many thanks!<br>
> > > > > <br>
> > > > > Chris<br>
> > > ><br>
> ><br>
</blockquote></div>