doveadm index crash/assert
I got the following crash whilst looking at my logs and seeing some indexer-worker crashes. doveadm(ler): Panic: file http-client-request.c: line 1108 (http_client_request_send_more): assertion failed: (req->payload_input != NULL) Abort trap (core dumped) bt full at: https://www.lerctr.org/~ler/doveadm.index.crash.txt doveconf -n: https://www.lerctr.org/~ler/doveconf.n.txt 2.3.4 from FreeBSD ports. What else do you need? -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: larry...@gmail.com US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106
Re: Several problems on Solaris10
On Mon, 31 Dec 2018, Pierluigi Frullani wrote: 5. When linking use -R to point to the installed location of the libraries. That's fine with me, ( and eventually I will try to modify all the makefiles, but I hoped it would have already been done by configure ( wich obviously has not :) One way to I got around the shared library version snarl (and this is especially relevant for openssl where I had many versions installed) is to configure the default library runpath to a directory that should be searched first e.g. crle -l /mylibs:/lib:/usr/lib:/usr/local/lib so that /mylibs will be searched first, then the rest. You can symlink your libraries there. However, be aware that all executables (unless overidden by LD_LIBRARY_PATH) will be affected. I also did this to make dovecot NFS fault tolerant as it didn't depend on shared libraries located on NFS filesystems. Joseph Tam
Issue with LMTP proxying and port number
Hello there, Everything was working fine on Dovecot 2.2.10 (on CentOS 7), but after updating to version 2.2.36, our director servers are not able to proxy LMTP. We are sending mail from exim to the local Dovecot LMTP socket, which then used to send it to our internal mail servers on port 24. Besides the update, nothing has changed in the config files. The configuration has been working great for months … Then we had a great idea of doing holiday maintenance. (Currently, we are working around this issue by having exim send mail to the IP and port, instead of the socket.) Doing a tcpdump capture shows no TCP traffic either. The logs seem to say that it is trying to go to port 0, so my guess is that it’s not getting the port directive from either static or sql — since the docs state that if these settings aren't specified, it will always use the same connection type for the proxy that it received the connection on. Any thoughts? I can share config if necessary.
Re: Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1 (fwd)
We are working on fixing this. Aki > On 31 December 2018 at 23:45 Chris BL wrote: > > > Hi Aki, > > Bingo! Putting that line in dovecot.conf rather than my custom file, and > then using my old custom file, unchanged, from Alpine works perfectly. > > My only remaining question, then, would be ... what was this (change) > about / or is there any documentation that I should/could have read to > know what to do without asking a lead developer? > > Thank you very much. > > I hope you had a great start to the New Year! > > Happy 2019, > Chris > > > On Mon, 31 Dec 2018, Aki Tuomi wrote: > > > If your client directly executes imap binary, it is not mandatory for > > dovecot to be running, but you need to put the service section into > > /etc/dovecot/dovecot.conf and restart the dovecot service. > > > > Putting it to your local config file does not affect the global service. > > > > Aki > > > > > On 31 December 2018 at 22:16 Chris BL > > > wrote: > > > > > > > > > > > > Hi Aki, > > > > > > I am not 100% sure. I do not really know what my OS does. "ps -A" says > > > dovecot is running, but if I say "sudo service dovecot stop", my email > > > client works fine still (that is, assuming the old version of dovecot is > > > installed). ie the on-demand instances of dovecot-imapd that Alpine calls > > > are, I assume, started and stopped by Alpine. (?) > > > > > > Is my OS using dovecot for other stuff, like managing system mail (e.g. > > > root's reports of cron jobs, which still go to /var/mail, but I never > > > read > > > them)? I am not certain. But I believed that any other use of dovecot > > > would be using a different .conf file, so I was hoping I just had to know > > > how to make my custom one (-c flag) work. > > > > > > Thanks, > > > Chris > > > > > > > > > On Mon, 31 Dec 2018, Aki Tuomi wrote: > > > > > > > Am I assuming correctly that you are not, in fact, running anything but > > > > imap process from Dovecot? > > > > > > > > Aki > > > > > > > > > On 31 December 2018 at 18:35 Chris BL > > > > > wrote: > > > > > > > > > > > > > > > > > > > > Hi Aki, > > > > > > > > > > Oops; I did not think carefully enough about your instructions. Here > > > > > is the output from > > > > > > > > > > $ dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > > > > > > > > # 2.3.2.1 (0719df592): > > > > > /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > > > # Pigeonhole version 0.5.2 () > > > > > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 > > > > > # Hostname: cpbl-t450s > > > > > doveconf: Warning: please set ssl_dh= > > > > 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 > > > > > mail_location = > > > > > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > > > > service stats { > > > > > unix_listener stats-writer { > > > > > mode = 0666 > > > > > } > > > > > } > > > > > ssl_dh = # hidden, use -P to show it > > > > > verbose_proctitle = yes > > > > > > > > > > > > > > > I then followed the instructions in the Warning lines above and now I > > > > > get: > > > > > > > > > > dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > > > # 2.3.2.1 (0719df592): > > > > > /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > > > # Pigeonhole version 0.5.2 () > > > > > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 > > > > > # Hostname: cpbl-t450s > > > > > mail_location = > > > > > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > > > > service stats { > > > > > unix_listener stats-writer { > > > > > mode = 0666 > > > > > } > > > > > } > > > > > ssl_dh = # hidden, use -P to show it > > > > > verbose_proctitle = yes > > > > > > > > > > > > > > > However, this does not help my primary symptom: > > > > > > > > > > > > > > > $ /usr/lib/dovecot/imap -c > > > > > /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > > > 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 > > > > > > > > > > > > > > > Thanks! > > > > > Chris > > > > > > > > > > > > > > > > > > > > On Mon, Dec 31, 2018 at 10:27 AM Aki Tuomi > > > > > wrote: > > > > > Did you remove the service section before taking doveconf -n? > > > > > 'cos I can't see it here.. > > > > > > > > > > Also, did you
Re: Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1 (fwd)
Hi Aki, Bingo! Putting that line in dovecot.conf rather than my custom file, and then using my old custom file, unchanged, from Alpine works perfectly. My only remaining question, then, would be ... what was this (change) about / or is there any documentation that I should/could have read to know what to do without asking a lead developer? Thank you very much. I hope you had a great start to the New Year! Happy 2019, Chris On Mon, 31 Dec 2018, Aki Tuomi wrote: > If your client directly executes imap binary, it is not mandatory for dovecot > to be running, but you need to put the service section into > /etc/dovecot/dovecot.conf and restart the dovecot service. > > Putting it to your local config file does not affect the global service. > > Aki > > > On 31 December 2018 at 22:16 Chris BL wrote: > > > > > > > > Hi Aki, > > > > I am not 100% sure. I do not really know what my OS does. "ps -A" says > > dovecot is running, but if I say "sudo service dovecot stop", my email > > client works fine still (that is, assuming the old version of dovecot is > > installed). ie the on-demand instances of dovecot-imapd that Alpine calls > > are, I assume, started and stopped by Alpine. (?) > > > > Is my OS using dovecot for other stuff, like managing system mail (e.g. > > root's reports of cron jobs, which still go to /var/mail, but I never read > > them)? I am not certain. But I believed that any other use of dovecot > > would be using a different .conf file, so I was hoping I just had to know > > how to make my custom one (-c flag) work. > > > > Thanks, > > Chris > > > > > > On Mon, 31 Dec 2018, Aki Tuomi wrote: > > > > > Am I assuming correctly that you are not, in fact, running anything but > > > imap process from Dovecot? > > > > > > Aki > > > > > > > On 31 December 2018 at 18:35 Chris BL > > > > wrote: > > > > > > > > > > > > > > > > Hi Aki, > > > > > > > > Oops; I did not think carefully enough about your instructions. Here is > > > > the output from > > > > > > > > $ dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > > > > > > # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > > # Pigeonhole version 0.5.2 () > > > > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 > > > > # Hostname: cpbl-t450s > > > > doveconf: Warning: please set ssl_dh= > > > 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 > > > > mail_location = > > > > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > > > service stats { > > > > unix_listener stats-writer { > > > > mode = 0666 > > > > } > > > > } > > > > ssl_dh = # hidden, use -P to show it > > > > verbose_proctitle = yes > > > > > > > > > > > > I then followed the instructions in the Warning lines above and now I > > > > get: > > > > > > > > dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > > # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > > # Pigeonhole version 0.5.2 () > > > > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 > > > > # Hostname: cpbl-t450s > > > > mail_location = > > > > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > > > service stats { > > > > unix_listener stats-writer { > > > > mode = 0666 > > > > } > > > > } > > > > ssl_dh = # hidden, use -P to show it > > > > verbose_proctitle = yes > > > > > > > > > > > > However, this does not help my primary symptom: > > > > > > > > > > > > $ /usr/lib/dovecot/imap -c > > > > /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > > 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 > > > > > > > > > > > > Thanks! > > > > Chris > > > > > > > > > > > > > > > > On Mon, Dec 31, 2018 at 10:27 AM Aki Tuomi > > > > wrote: > > > > Did you remove the service section before taking doveconf -n? > > > > 'cos I can't see it here.. > > > > > > > > Also, did you restart dovecot after config change? > > > > > > > > Aki > > > > > > > > > On 31 December 2018 at 16:54 Chris BL > > > > wrote: > > > > > > > > > > > > > > > Hi Aki, > > > > > > > > > > Yes, the same connect error: imap(meuser,)Error: > > > > net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission > > > > denied > > > > > > > > > >
Re: Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1 (fwd)
If your client directly executes imap binary, it is not mandatory for dovecot to be running, but you need to put the service section into /etc/dovecot/dovecot.conf and restart the dovecot service. Putting it to your local config file does not affect the global service. Aki > On 31 December 2018 at 22:16 Chris BL wrote: > > > > Hi Aki, > > I am not 100% sure. I do not really know what my OS does. "ps -A" says > dovecot is running, but if I say "sudo service dovecot stop", my email > client works fine still (that is, assuming the old version of dovecot is > installed). ie the on-demand instances of dovecot-imapd that Alpine calls > are, I assume, started and stopped by Alpine. (?) > > Is my OS using dovecot for other stuff, like managing system mail (e.g. > root's reports of cron jobs, which still go to /var/mail, but I never read > them)? I am not certain. But I believed that any other use of dovecot > would be using a different .conf file, so I was hoping I just had to know > how to make my custom one (-c flag) work. > > Thanks, > Chris > > > On Mon, 31 Dec 2018, Aki Tuomi wrote: > > > Am I assuming correctly that you are not, in fact, running anything but > > imap process from Dovecot? > > > > Aki > > > > > On 31 December 2018 at 18:35 Chris BL > > > wrote: > > > > > > > > > > > > Hi Aki, > > > > > > Oops; I did not think carefully enough about your instructions. Here is > > > the output from > > > > > > $ dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > > > > # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > # Pigeonhole version 0.5.2 () > > > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 > > > # Hostname: cpbl-t450s > > > doveconf: Warning: please set ssl_dh= > > 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 > > > mail_location = > > > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > > service stats { > > > unix_listener stats-writer { > > > mode = 0666 > > > } > > > } > > > ssl_dh = # hidden, use -P to show it > > > verbose_proctitle = yes > > > > > > > > > I then followed the instructions in the Warning lines above and now I get: > > > > > > dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > # Pigeonhole version 0.5.2 () > > > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 > > > # Hostname: cpbl-t450s > > > mail_location = > > > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > > service stats { > > > unix_listener stats-writer { > > > mode = 0666 > > > } > > > } > > > ssl_dh = # hidden, use -P to show it > > > verbose_proctitle = yes > > > > > > > > > However, this does not help my primary symptom: > > > > > > > > > $ /usr/lib/dovecot/imap -c > > > /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > 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 > > > > > > > > > Thanks! > > > Chris > > > > > > > > > > > > On Mon, Dec 31, 2018 at 10:27 AM Aki Tuomi > > > wrote: > > > Did you remove the service section before taking doveconf -n? 'cos > > > I can't see it here.. > > > > > > Also, did you restart dovecot after config change? > > > > > > Aki > > > > > > > On 31 December 2018 at 16:54 Chris BL > > > wrote: > > > > > > > > > > > > Hi Aki, > > > > > > > > Yes, the same connect error: imap(meuser,)Error: > > > net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied > > > > > > > > The mail location in "doveconf -n" (belo) does not reflect my > > > preferences. > > > > > > > > In Alpine, if I acknowledge the error I get, which tells me to add > > > > novalidate-cert in my pinerc file, it prompts me for my POSIX > > > username and > > > > password. After that, I get my /var/spool/mail inbox, which is > > > not what I > > > > want. > > > > > > > > > > > > doveconf -n > > > > # 2.3.2.1 (0719df592): /etc/dovecot/dovecot.conf > > > > # Pigeonhole version 0.5.2 () > > > > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 > > > > # Hostname: myhost-t450s > > > > mail_location = mbox:~/mail:INBOX=/var/mail/%u > > > >
Re: Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1 (fwd)
Hi Aki, I am not 100% sure. I do not really know what my OS does. "ps -A" says dovecot is running, but if I say "sudo service dovecot stop", my email client works fine still (that is, assuming the old version of dovecot is installed). ie the on-demand instances of dovecot-imapd that Alpine calls are, I assume, started and stopped by Alpine. (?) Is my OS using dovecot for other stuff, like managing system mail (e.g. root's reports of cron jobs, which still go to /var/mail, but I never read them)? I am not certain. But I believed that any other use of dovecot would be using a different .conf file, so I was hoping I just had to know how to make my custom one (-c flag) work. Thanks, Chris On Mon, 31 Dec 2018, Aki Tuomi wrote: > Am I assuming correctly that you are not, in fact, running anything but imap > process from Dovecot? > > Aki > > > On 31 December 2018 at 18:35 Chris BL wrote: > > > > > > > > Hi Aki, > > > > Oops; I did not think carefully enough about your instructions. Here is the > > output from > > > > $ dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf > > > > # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf > > # Pigeonhole version 0.5.2 () > > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 > > # Hostname: cpbl-t450s > > doveconf: Warning: please set ssl_dh= > 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 > > mail_location = > > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > service stats { > > unix_listener stats-writer { > > mode = 0666 > > } > > } > > ssl_dh = # hidden, use -P to show it > > verbose_proctitle = yes > > > > > > I then followed the instructions in the Warning lines above and now I get: > > > > dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf > > # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf > > # Pigeonhole version 0.5.2 () > > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 > > # Hostname: cpbl-t450s > > mail_location = > > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > service stats { > > unix_listener stats-writer { > > mode = 0666 > > } > > } > > ssl_dh = # hidden, use -P to show it > > verbose_proctitle = yes > > > > > > However, this does not help my primary symptom: > > > > > > $ /usr/lib/dovecot/imap -c /home/meuser/dotfiles/auto-stanford-dovecot.conf > > 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 > > > > > > Thanks! > > Chris > > > > > > > > On Mon, Dec 31, 2018 at 10:27 AM Aki Tuomi > > wrote: > > Did you remove the service section before taking doveconf -n? 'cos I > > can't see it here.. > > > > Also, did you restart dovecot after config change? > > > > Aki > > > > > On 31 December 2018 at 16:54 Chris BL > > wrote: > > > > > > > > > Hi Aki, > > > > > > Yes, the same connect error: imap(meuser,)Error: > > net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied > > > > > > The mail location in "doveconf -n" (belo) does not reflect my > > preferences. > > > > > > In Alpine, if I acknowledge the error I get, which tells me to add > > > novalidate-cert in my pinerc file, it prompts me for my POSIX > > username and > > > password. After that, I get my /var/spool/mail inbox, which is not > > what I > > > want. > > > > > > > > > doveconf -n > > > # 2.3.2.1 (0719df592): /etc/dovecot/dovecot.conf > > > # Pigeonhole version 0.5.2 () > > > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 > > > # Hostname: myhost-t450s > > > mail_location = mbox:~/mail:INBOX=/var/mail/%u > > > mail_privileged_group = mail > > > namespace inbox { > > > inbox = yes > > > location = > > > mailbox Drafts { > > > special_use = \Drafts > > > } > > > mailbox Junk { > > > special_use = \Junk > > > } > > > mailbox Sent { > > > special_use = \Sent > > > } > > > mailbox "Sent Messages" { > > > special_use = \Sent > > > } > > > mailbox Trash { > > > special_use = \Trash > > > } > > > prefix = > > > } > > > passdb { > > > driver = pam > >
Re: Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1 (fwd)
Am I assuming correctly that you are not, in fact, running anything but imap process from Dovecot? Aki > On 31 December 2018 at 18:35 Chris BL wrote: > > > > Hi Aki, > > Oops; I did not think carefully enough about your instructions. Here is the > output from > > $ dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf > > # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf > # Pigeonhole version 0.5.2 () > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 > # Hostname: cpbl-t450s > doveconf: Warning: please set ssl_dh= 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 > mail_location = > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > service stats { > unix_listener stats-writer { > mode = 0666 > } > } > ssl_dh = # hidden, use -P to show it > verbose_proctitle = yes > > > I then followed the instructions in the Warning lines above and now I get: > > dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf > # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf > # Pigeonhole version 0.5.2 () > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 > # Hostname: cpbl-t450s > mail_location = > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > service stats { > unix_listener stats-writer { > mode = 0666 > } > } > ssl_dh = # hidden, use -P to show it > verbose_proctitle = yes > > > However, this does not help my primary symptom: > > > $ /usr/lib/dovecot/imap -c /home/meuser/dotfiles/auto-stanford-dovecot.conf > 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 > > > Thanks! > Chris > > > > On Mon, Dec 31, 2018 at 10:27 AM Aki Tuomi wrote: > Did you remove the service section before taking doveconf -n? 'cos I > can't see it here.. > > Also, did you restart dovecot after config change? > > Aki > > > On 31 December 2018 at 16:54 Chris BL > wrote: > > > > > > Hi Aki, > > > > Yes, the same connect error: imap(meuser,)Error: > net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied > > > > The mail location in "doveconf -n" (belo) does not reflect my > preferences. > > > > In Alpine, if I acknowledge the error I get, which tells me to add > > novalidate-cert in my pinerc file, it prompts me for my POSIX > username and > > password. After that, I get my /var/spool/mail inbox, which is not > what I > > want. > > > > > > doveconf -n > > # 2.3.2.1 (0719df592): /etc/dovecot/dovecot.conf > > # Pigeonhole version 0.5.2 () > > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 > > # Hostname: myhost-t450s > > mail_location = mbox:~/mail:INBOX=/var/mail/%u > > mail_privileged_group = mail > > namespace inbox { > > inbox = yes > > location = > > mailbox Drafts { > > special_use = \Drafts > > } > > mailbox Junk { > > special_use = \Junk > > } > > mailbox Sent { > > special_use = \Sent > > } > > mailbox "Sent Messages" { > > special_use = \Sent > > } > > mailbox Trash { > > special_use = \Trash > > } > > prefix = > > } > > passdb { > > driver = pam > > } > > protocols = " imap" > > ssl_cert => ssl_client_ca_dir = /etc/ssl/certs > > ssl_dh = # hidden, use -P to show it > > ssl_key = # hidden, use -P to show it > > userdb { > > driver = passwd > > } > > > > > > > > On Mon, 31 Dec 2018, Aki Tuomi wrote: > > > > > You are still getting the connect error? > > > > > > Can you share your doveconf -n? > > > > > > Aki > > > > > > > On 31 December 2018 at 16:42 cpblpublic+dove...@gmail.com wrote: > > > > > > > > > > > > Hi Aki, > > > > > > > > Thanks. I put that in the .conf file I mentioned, and it made no > > > > difference. > > > > > > > > Chris > > > > > > > > > Hi! > > > > > > > > > > In your case it's probably easiest to change > > > > > > > > > > service stats { > > > > > unix_listener stats-writer { > > > > > mode =
Re: Several problems on Solaris10
Answer inline. On Sun, Dec 30, 2018 at 12:59 PM James wrote: > On 29/12/2018 13:49, Pierluigi Frullani wrote: > > > My version is 2.2.13 ( it was the last one, at the time of the first > > server setup ). > > 2.2.13 is from around May 2014. It worked but I can't see why you > wouldn't switch to the latest 2.3.4. (You might be seeing what I can't > and your question hasn't explained.) > That's the date for installation. I was using the courier-imap and switched to dovecot. Not changed since then. > > I have seen that ( it seems ) the new solaris don't honour the > > LD_LIBRARY_PATH. > > I'm sure it does but you shouldn't need it anyway. > Believe me, it doesn't :( > Did you compile this yourself or are you using someone else's package? > Solaris has no files in /usr/local, you must have added those. > Yes I did compile it by myself using the "configure; make " way, with the following command: CPPFLAGS="-I/usr/local/clucene/include -I/usr/local/libtextcat/include -I/usr/local/openssl-1.0.1e/include" LDFLAGS="-L/usr/local/clucene/lib -L/usr/local/libtextcat/lib -L/usr/local/openssl-1.0.1e/lib" ./configure --prefix=/usr/local/dovecot --with-ssl=yes --with-stemmer --with-lucene --with-zlib ( also tried with --without-shared-libs or without it ) The problem ( as usual ) arise with the openssl libs that solaris ships, as they are always missing some parts ( basically for the export laws solaris adhere :) ) If I compile with the internal (open)ssl libs it won't even finish the compilation :( 1. Do not put your files in /use/local. You will clash with someone > else thinking it is the place to put personal stuff. man filesystem: > "/opt Root of a subtree for add-on application packages." > Being that I'm the only one administering this machine I'm sure it would not ;) 2. Do not use LD_LIBRARY_PATH in the run time environment. Instead use > the runpath in binaries as set during linking. > That's the important point, but please read on. > 4. When linking use -L to point to the libraries. These need not be in > the installation location and during build won't be (because you haven't > installed yet because you are building new libraries). 5. When linking use -R to point to the installed location of the libraries. > That's fine with me, ( and eventually I will try to modify all the makefiles, but I hoped it would have already been done by configure ( wich obviously has not :) > It should work if the paths are set correctly in the binaries. A > generic package can use $ORIGIN. > It's possible libtool is doing its usual trick of making a simple task > difficult - I take measures to undo its wrong doing and set -L and -R > between libtool and ld (cc -G). > I will try too ( but wouldn't be nice if the configure tool would do that for us ? ) > -- what is its run path? > # dump -Lv /opt/XXX/sbin/dovecot | grep RUNPATH > Interesting: root@puma dump -Lv dovecot | grep RUN [10]RUNPATH /usr/local/dovecot/lib/dovecot:/usr/local/lib:/usr/ccs/lib:/lib:/usr/lib:/usr/sfw/lib so it's obviously missing the openssl libraries > -- can the runtime linker find the libraries? > # ldd -r /opt/XXX/sbin/dovecot > > Yes, although not the one I want: root@puma ldd -r imap-login | egrep "ssl|crypto" libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 libcrypto.so.1.0.0 =>/usr/lib/libcrypto.so.1.0.0 At the moment I've applied a workaround by creating a fake script that change the library path on execution: = root@puma cat imap-login #!/bin/sh LD_LIBRARY_PATH=/usr/local/openssl-1.0.1e/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH exec /usr/local/dovecot/libexec/dovecot/imap-login.orig = and it's working but is not something I really like. Would you ( or could ) show me where to replace -R and -L on Makefile(s) to fix the runpath trouble ? I've tried the following: CPPFLAGS="-I/usr/local/clucene/include -I/usr/local/libtextcat/include -I/usr/local/openssl-1.0.1e/include" LDFLAGS="-L/usr/local/clucene/lib -L/usr/local/libtextcat/lib -L/usr/local/openssl-1.0.1e/lib -R/usr/local/openssl-1.0.1e/lib " ./configure --prefix=/usr/local/dovecot --with-ssl=yes --with-stemmer --with-lucene --with-zlib and it seems to work: root@puma dump -Lv ./src/imap-login/.libs/imap-login | grep RUN [14]RUNPATH /usr/local/dovecot/lib/dovecot:/usr/local/lib:/usr/local/openssl-1.0.1e/lib:/usr/ccs/lib:/lib:/usr/lib:/usr/sfw/lib I will try this weekend to install the new binary and see if it has done the magic. BTW, thanks in advance for your time Pigi
Re: Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1
Hi Aki, (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) Oops; I did not think carefully enough about your instructions. Here is the output from $ dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf # Pigeonhole version 0.5.2 () # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 # Hostname: cpbl-t450s doveconf: Warning: please set ssl_dh= /etc/dovecot/dh.pem mail_location = maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX service stats { unix_listener stats-writer { mode = 0666 } } ssl_dh = # hidden, use -P to show it verbose_proctitle = yes I then followed the instructions in the Warning lines above and now I get: dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf # Pigeonhole version 0.5.2 () # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 # Hostname: cpbl-t450s mail_location = maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX service stats { unix_listener stats-writer { mode = 0666 } } ssl_dh = # hidden, use -P to show it verbose_proctitle = yes However, this does not help my primary symptom: $ /usr/lib/dovecot/imap -c /home/meuser/dotfiles/auto-stanford-dovecot.conf 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 Thanks! Chris On Mon, Dec 31, 2018 at 10:27 AM Aki Tuomi wrote: > Did you remove the service section before taking doveconf -n? 'cos I can't > see it here.. > > Also, did you restart dovecot after config change? > > Aki > > > On 31 December 2018 at 16:54 Chris BL > wrote: > > > > > > Hi Aki, > > > > Yes, the same connect error: imap(meuser,)Error: > net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied > > > > The mail location in "doveconf -n" (belo) does not reflect my > preferences. > > > > In Alpine, if I acknowledge the error I get, which tells me to add > > novalidate-cert in my pinerc file, it prompts me for my POSIX username > and > > password. After that, I get my /var/spool/mail inbox, which is not what > I > > want. > > > > > > doveconf -n > > # 2.3.2.1 (0719df592): /etc/dovecot/dovecot.conf > > # Pigeonhole version 0.5.2 () > > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 > > # Hostname: myhost-t450s > > mail_location = mbox:~/mail:INBOX=/var/mail/%u > > mail_privileged_group = mail > > namespace inbox { > > inbox = yes > > location = > > mailbox Drafts { > > special_use = \Drafts > > } > > mailbox Junk { > > special_use = \Junk > > } > > mailbox Sent { > > special_use = \Sent > > } > > mailbox "Sent Messages" { > > special_use = \Sent > > } > > mailbox Trash { > > special_use = \Trash > > } > > prefix = > > } > > passdb { > > driver = pam > > } > > protocols = " imap" > > ssl_cert = > ssl_client_ca_dir = /etc/ssl/certs > > ssl_dh = # hidden, use -P to show it > > ssl_key = # hidden, use -P to show it > > userdb { > > driver = passwd > > } > > > > > > > > On Mon, 31 Dec 2018, Aki Tuomi wrote: > > > > > You are still getting the connect error? > > > > > > Can you share your doveconf -n? > > > > > > Aki > > > > > > > On 31 December 2018 at 16:42 cpblpublic+dove...@gmail.com wrote: > > > > > > > > > > > > Hi Aki, > > > > > > > > Thanks. I put that in the .conf file I mentioned, and it made no > > > > difference. > > > > > > > > Chris > > > > > > > > > Hi! > > > > > > > > > > In your case it's probably easiest to change > > > > > > > > > > service stats { > > > > > unix_listener stats-writer { > > > > > mode = 0666 > > > > > } > > > > > } > > > > > > > > > > Aki > > > > > > > > > > > On 31 December 2018 at 16:05 cpblpublic+dove...@gmail.com wrote: > > > > > > > > > > > > > > > > > > > > > > > > I use a localhost dovecot imap server in order to access maildir > folders from Alpine (see 2009 instructions for my set up here > > > > > > > https://cpbl.wordpress.com/2009/11/07/alpine-offlineimap-and-gmail-under-ubuntu/ > ) > > > > > > > > > > > > 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). > > > > > > > > > > > > The version of Alpine did not change. Uninstalling dovecot-core > and dovecot-imapd, and reinstalling the older versions, fully fixes the > problem. > > > > > > > > > > > > I would like to know how to get
Re: Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1 (fwd)
Hi Aki, Oops; I did not think carefully enough about your instructions. Here is the output from $ dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf # Pigeonhole version 0.5.2 () # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 # Hostname: cpbl-t450s doveconf: Warning: please set ssl_dh= /etc/dovecot/dh.pem mail_location = maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX service stats { unix_listener stats-writer { mode = 0666 } } ssl_dh = # hidden, use -P to show it verbose_proctitle = yes I then followed the instructions in the Warning lines above and now I get: dovecot -n -c /home/meuser/dotfiles/auto-stanford-dovecot.conf # 2.3.2.1 (0719df592): /home/meuser/dotfiles/auto-stanford-dovecot.conf # Pigeonhole version 0.5.2 () # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 ext4 # Hostname: cpbl-t450s mail_location = maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX service stats { unix_listener stats-writer { mode = 0666 } } ssl_dh = # hidden, use -P to show it verbose_proctitle = yes However, this does not help my primary symptom: $ /usr/lib/dovecot/imap -c /home/meuser/dotfiles/auto-stanford-dovecot.conf 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 Thanks! Chris On Mon, Dec 31, 2018 at 10:27 AM Aki Tuomi wrote: Did you remove the service section before taking doveconf -n? 'cos I can't see it here.. Also, did you restart dovecot after config change? Aki > On 31 December 2018 at 16:54 Chris BL wrote: > > > Hi Aki, > > Yes, the same connect error: imap(meuser,)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied > > The mail location in "doveconf -n" (belo) does not reflect my preferences. > > In Alpine, if I acknowledge the error I get, which tells me to add > novalidate-cert in my pinerc file, it prompts me for my POSIX username and > password. After that, I get my /var/spool/mail inbox, which is not what I > want. > > > doveconf -n > # 2.3.2.1 (0719df592): /etc/dovecot/dovecot.conf > # Pigeonhole version 0.5.2 () > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 > # Hostname: myhost-t450s > mail_location = mbox:~/mail:INBOX=/var/mail/%u > mail_privileged_group = mail > namespace inbox { > inbox = yes > location = > mailbox Drafts { > special_use = \Drafts > } > mailbox Junk { > special_use = \Junk > } > mailbox Sent { > special_use = \Sent > } > mailbox "Sent Messages" { > special_use = \Sent > } > mailbox Trash { > special_use = \Trash > } > prefix = > } > passdb { > driver = pam > } > protocols = " imap" > ssl_cert = ssl_client_ca_dir = /etc/ssl/certs > ssl_dh = # hidden, use -P to show it > ssl_key = # hidden, use -P to show it > userdb { > driver = passwd > } > > > > On Mon, 31 Dec 2018, Aki Tuomi wrote: > > > You are still getting the connect error? > > > > Can you share your doveconf -n? > > > > Aki > > > > > On 31 December 2018 at 16:42 cpblpublic+dove...@gmail.com wrote: > > > > > > > > > Hi Aki, > > > > > > Thanks. I put that in the .conf file I mentioned, and it made no > > > difference. > > > > > > Chris > > > > > > > Hi! > > > > > > > > In your case it's probably easiest to change > > > > > > > > service stats { > > > > unix_listener stats-writer { > > > > mode = 0666 > > > > } > > > > } > > > > > > > > Aki > > > > > > > > > On 31 December 2018 at 16:05 cpblpublic+dove...@gmail.com wrote: > > > > > > > > > > > > > > > > > > > > I use a localhost dovecot imap server in order to access maildir folders from Alpine (see 2009 instructions for my set up here > > > > > https://cpbl.wordpress.com/2009/11/07/alpine-offlineimap-and-gmail-under-ubuntu/ ) > > > > > > > > > > My configuration has worked nicely since 2009, but failed after a recent upgrade of dovecot (during basic upgrade from
Re: Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1
Did you remove the service section before taking doveconf -n? 'cos I can't see it here.. Also, did you restart dovecot after config change? Aki > On 31 December 2018 at 16:54 Chris BL wrote: > > > Hi Aki, > > Yes, the same connect error: imap(meuser,)Error: > net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied > > The mail location in "doveconf -n" (belo) does not reflect my preferences. > > In Alpine, if I acknowledge the error I get, which tells me to add > novalidate-cert in my pinerc file, it prompts me for my POSIX username and > password. After that, I get my /var/spool/mail inbox, which is not what I > want. > > > doveconf -n > # 2.3.2.1 (0719df592): /etc/dovecot/dovecot.conf > # Pigeonhole version 0.5.2 () > # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 > # Hostname: myhost-t450s > mail_location = mbox:~/mail:INBOX=/var/mail/%u > mail_privileged_group = mail > namespace inbox { > inbox = yes > location = > mailbox Drafts { > special_use = \Drafts > } > mailbox Junk { > special_use = \Junk > } > mailbox Sent { > special_use = \Sent > } > mailbox "Sent Messages" { > special_use = \Sent > } > mailbox Trash { > special_use = \Trash > } > prefix = > } > passdb { > driver = pam > } > protocols = " imap" > ssl_cert = ssl_client_ca_dir = /etc/ssl/certs > ssl_dh = # hidden, use -P to show it > ssl_key = # hidden, use -P to show it > userdb { > driver = passwd > } > > > > On Mon, 31 Dec 2018, Aki Tuomi wrote: > > > You are still getting the connect error? > > > > Can you share your doveconf -n? > > > > Aki > > > > > On 31 December 2018 at 16:42 cpblpublic+dove...@gmail.com wrote: > > > > > > > > > Hi Aki, > > > > > > Thanks. I put that in the .conf file I mentioned, and it made no > > > difference. > > > > > > Chris > > > > > > > Hi! > > > > > > > > In your case it's probably easiest to change > > > > > > > > service stats { > > > > unix_listener stats-writer { > > > > mode = 0666 > > > > } > > > > } > > > > > > > > Aki > > > > > > > > > On 31 December 2018 at 16:05 cpblpublic+dove...@gmail.com wrote: > > > > > > > > > > > > > > > > > > > > I use a localhost dovecot imap server in order to access maildir > > > > > folders from Alpine (see 2009 instructions for my set up here > > > > > https://cpbl.wordpress.com/2009/11/07/alpine-offlineimap-and-gmail-under-ubuntu/ > > > > > ) > > > > > > > > > > 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). > > > > > > > > > > The version of Alpine did not change. Uninstalling dovecot-core and > > > > > dovecot-imapd, and reinstalling the older versions, fully fixes the > > > > > problem. > > > > > > > > > > I would like to know how to get my configuration working with the new > > > > > version of dovecot. > > > > > > > > > > Here's what the problem looks like: > > > > > > > > > > I have a file auto-dovecot.conf with only the following two lines. > > > > > > > > > > verbose_proctitle = yes > > > > > mail_location = > > > > > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > > > > > > > > > Other /etc/ files are unchanged from installation defaults. > > > > > > > > > > Alpine calls imapd when it starts, with the following command: > > > > > > > > > > /usr/lib/dovecot/imap -c /home/meuser/dotfiles/auto-dovecot.conf > > > > > > > > > > > > > > > When I run that command, I get: > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > so I am guessing that the first line is the issue, since when the > > > > > older version I get instead: > > > > > > > > > > * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ 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] Logged in as meuser > > > > > > > > > > > > > > > Can anyone help me? I cannot find documentation for using a localhost > > > > > server for Alpine, except my own from 2009. > > > > > > > > > > Many thanks! > > > > > > > > > > Chris
Re: Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1
Hi Aki, Yes, the same connect error: imap(meuser,)Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied The mail location in "doveconf -n" (belo) does not reflect my preferences. In Alpine, if I acknowledge the error I get, which tells me to add novalidate-cert in my pinerc file, it prompts me for my POSIX username and password. After that, I get my /var/spool/mail inbox, which is not what I want. doveconf -n # 2.3.2.1 (0719df592): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.2 () # OS: Linux 4.18.0-13-generic x86_64 Ubuntu 18.10 # Hostname: myhost-t450s mail_location = mbox:~/mail:INBOX=/var/mail/%u mail_privileged_group = mail namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } protocols = " imap" ssl_cert = You are still getting the connect error? > > Can you share your doveconf -n? > > Aki > > > On 31 December 2018 at 16:42 cpblpublic+dove...@gmail.com wrote: > > > > > > Hi Aki, > > > > Thanks. I put that in the .conf file I mentioned, and it made no > > difference. > > > > Chris > > > > > Hi! > > > > > > In your case it's probably easiest to change > > > > > > service stats { > > > unix_listener stats-writer { > > > mode = 0666 > > > } > > > } > > > > > > Aki > > > > > > > On 31 December 2018 at 16:05 cpblpublic+dove...@gmail.com wrote: > > > > > > > > > > > > > > > > I use a localhost dovecot imap server in order to access maildir > > > > folders from Alpine (see 2009 instructions for my set up here > > > > https://cpbl.wordpress.com/2009/11/07/alpine-offlineimap-and-gmail-under-ubuntu/ > > > > ) > > > > > > > > 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). > > > > > > > > The version of Alpine did not change. Uninstalling dovecot-core and > > > > dovecot-imapd, and reinstalling the older versions, fully fixes the > > > > problem. > > > > > > > > I would like to know how to get my configuration working with the new > > > > version of dovecot. > > > > > > > > Here's what the problem looks like: > > > > > > > > I have a file auto-dovecot.conf with only the following two lines. > > > > > > > > verbose_proctitle = yes > > > > mail_location = > > > > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > > > > > > > Other /etc/ files are unchanged from installation defaults. > > > > > > > > Alpine calls imapd when it starts, with the following command: > > > > > > > > /usr/lib/dovecot/imap -c /home/meuser/dotfiles/auto-dovecot.conf > > > > > > > > > > > > When I run that command, I get: > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > so I am guessing that the first line is the issue, since when the older > > > > version I get instead: > > > > > > > > * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ 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] Logged in as meuser > > > > > > > > > > > > Can anyone help me? I cannot find documentation for using a localhost > > > > server for Alpine, except my own from 2009. > > > > > > > > Many thanks! > > > > > > > > Chris > > > >
Re: Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1
You are still getting the connect error? Can you share your doveconf -n? Aki > On 31 December 2018 at 16:42 cpblpublic+dove...@gmail.com wrote: > > > Hi Aki, > > Thanks. I put that in the .conf file I mentioned, and it made no > difference. > > Chris > > > Hi! > > > > In your case it's probably easiest to change > > > > service stats { > > unix_listener stats-writer { > > mode = 0666 > > } > > } > > > > Aki > > > > > On 31 December 2018 at 16:05 cpblpublic+dove...@gmail.com wrote: > > > > > > > > > > > > I use a localhost dovecot imap server in order to access maildir folders > > > from Alpine (see 2009 instructions for my set up here > > > https://cpbl.wordpress.com/2009/11/07/alpine-offlineimap-and-gmail-under-ubuntu/ > > > ) > > > > > > 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). > > > > > > The version of Alpine did not change. Uninstalling dovecot-core and > > > dovecot-imapd, and reinstalling the older versions, fully fixes the > > > problem. > > > > > > I would like to know how to get my configuration working with the new > > > version of dovecot. > > > > > > Here's what the problem looks like: > > > > > > I have a file auto-dovecot.conf with only the following two lines. > > > > > > verbose_proctitle = yes > > > mail_location = > > > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > > > > > Other /etc/ files are unchanged from installation defaults. > > > > > > Alpine calls imapd when it starts, with the following command: > > > > > > /usr/lib/dovecot/imap -c /home/meuser/dotfiles/auto-dovecot.conf > > > > > > > > > When I run that command, I get: > > > > > > 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 > > > > > > > > > > > > > > > so I am guessing that the first line is the issue, since when the older > > > version I get instead: > > > > > > * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ 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] Logged in as meuser > > > > > > > > > Can anyone help me? I cannot find documentation for using a localhost > > > server for Alpine, except my own from 2009. > > > > > > Many thanks! > > > > > > Chris > >
Re: Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1
Hi Aki, Thanks. I put that in the .conf file I mentioned, and it made no difference. Chris > Hi! > > In your case it's probably easiest to change > > service stats { > unix_listener stats-writer { > mode = 0666 > } > } > > Aki > > > On 31 December 2018 at 16:05 cpblpublic+dove...@gmail.com wrote: > > > > > > > > I use a localhost dovecot imap server in order to access maildir folders > > from Alpine (see 2009 instructions for my set up here > > https://cpbl.wordpress.com/2009/11/07/alpine-offlineimap-and-gmail-under-ubuntu/ > > ) > > > > 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). > > > > The version of Alpine did not change. Uninstalling dovecot-core and > > dovecot-imapd, and reinstalling the older versions, fully fixes the problem. > > > > I would like to know how to get my configuration working with the new > > version of dovecot. > > > > Here's what the problem looks like: > > > > I have a file auto-dovecot.conf with only the following two lines. > > > > verbose_proctitle = yes > > mail_location = > > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > > > Other /etc/ files are unchanged from installation defaults. > > > > Alpine calls imapd when it starts, with the following command: > > > > /usr/lib/dovecot/imap -c /home/meuser/dotfiles/auto-dovecot.conf > > > > > > When I run that command, I get: > > > > 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 > > > > > > > > > > so I am guessing that the first line is the issue, since when the older > > version I get instead: > > > > * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ 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] Logged in as meuser > > > > > > Can anyone help me? I cannot find documentation for using a localhost > > server for Alpine, except my own from 2009. > > > > Many thanks! > > > > Chris >
Re: Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1
Hi! In your case it's probably easiest to change service stats { unix_listener stats-writer { mode = 0666 } } Aki > On 31 December 2018 at 16:05 cpblpublic+dove...@gmail.com wrote: > > > > I use a localhost dovecot imap server in order to access maildir folders from > Alpine (see 2009 instructions for my set up here > https://cpbl.wordpress.com/2009/11/07/alpine-offlineimap-and-gmail-under-ubuntu/ > ) > > 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). > > The version of Alpine did not change. Uninstalling dovecot-core and > dovecot-imapd, and reinstalling the older versions, fully fixes the problem. > > I would like to know how to get my configuration working with the new version > of dovecot. > > Here's what the problem looks like: > > I have a file auto-dovecot.conf with only the following two lines. > > verbose_proctitle = yes > mail_location = > maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX > > Other /etc/ files are unchanged from installation defaults. > > Alpine calls imapd when it starts, with the following command: > > /usr/lib/dovecot/imap -c /home/meuser/dotfiles/auto-dovecot.conf > > > When I run that command, I get: > > 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 > > > > > so I am guessing that the first line is the issue, since when the older > version I get instead: > > * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ 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] Logged in as meuser > > > Can anyone help me? I cannot find documentation for using a localhost server > for Alpine, except my own from 2009. > > Many thanks! > > Chris
Localhost imap server fails after upgrade from 2.2.33.2-1 to 1:2.3.2.1
I use a localhost dovecot imap server in order to access maildir folders from Alpine (see 2009 instructions for my set up here https://cpbl.wordpress.com/2009/11/07/alpine-offlineimap-and-gmail-under-ubuntu/ ) 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). The version of Alpine did not change. Uninstalling dovecot-core and dovecot-imapd, and reinstalling the older versions, fully fixes the problem. I would like to know how to get my configuration working with the new version of dovecot. Here's what the problem looks like: I have a file auto-dovecot.conf with only the following two lines. verbose_proctitle = yes mail_location = maildir:/home/meuser/imap/gmailStanford:LAYOUT=fs:INBOX=/home/meuser/imap/gmailStanford/INBOX Other /etc/ files are unchanged from installation defaults. Alpine calls imapd when it starts, with the following command: /usr/lib/dovecot/imap -c /home/meuser/dotfiles/auto-dovecot.conf When I run that command, I get: 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 so I am guessing that the first line is the issue, since when the older version I get instead: * PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ 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] Logged in as meuser Can anyone help me? I cannot find documentation for using a localhost server for Alpine, except my own from 2009. Many thanks! Chris
Moving Alternate Storage to another disk.
Hello, Dovecot 2.3.4_3 on FreeBSD 11.2. I am using mdbox Alternate Storage since about two years without any problems. However, the disk containing this storage is almost full and I have to move this data to another disk, probably zpool. Would it be okay to do the following? 1) Shut down dovecot (and mail server) so no new mail comes in. 2) Copy/move all files in ALT location to new disk, using shell commands like cp/mv/cpdup. 3) Change the path to ALT in dovecot-conf mail_location. 4) Change the 'dbox-alt-root' soft-links in each users main (INBOX) directory to point to this new location. 5) Start up dovecot and mail server. Am I missing something or maybe there is a better way? -- Thanks, and have a nice new year. bOnK
RE: BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"
> On 31 December 2018 at 15:47 Marc Roos wrote: > > > > > >> > >> I can only move messages to a root namespace folder when specifying > >> inbox=yes. That is strange because it is not even the inbox. I don't > > >> even get why it is not by default possible, maybe bug there? > >> > > > >This makes no sense. inbox=yes namespace means the namespace which has > >'INBOX' folder as per RFC. > > > With this configuration > > namespace { > disabled = no > hidden = no > ignore_on_failure = no > inbox = yes > list = yes > location = > mailbox Archive { > auto = create > autoexpunge = 0 > autoexpunge_max_mails = 0 > comment = > driver = > special_use = \Archive > } > mailbox Archives { > auto = no > autoexpunge = 0 > autoexpunge_max_mails = 0 > comment = > driver = > special_use = \Archive > } > order = 0 > prefix = > separator = / > subscriptions = yes > type = private > } > namespace { > disabled = no > hidden = no > ignore_on_failure = no > inbox = no > list = no > location = > mbox:/home/mail-archive/%u/Archive/:CONTROL=/home/mail-archive/%u/Archiv > e/control:INDEX=/home/mail-archive/%u/Archive/index:LAYOUT=maildir++ > order = 0 > prefix = Archive/ > separator = / > subscriptions = yes > type = private > } > > I get this error message from apple mail when I right click and choose > archive > "The IMAP command "UID COPY" (to Archive) failed for the mailbox "INBOX" > with server error: Mailbox isn't selectable" > Did you notice that you have a mailbox called 'Archive' and namespace called 'Archive'? Namespace roots are not selectable, and this looks more like a config error. Aki > If I add the inbox=yes, the dovecot logs are flooded with > Error: namespace configuration error: There can be only one namespace > with inbox=yes > namespace configuration error: There can be only one namespace with > inbox=yes in=0 out=398 > > >> You have made the mistake of overloading the use of a parameter > >> inbox=yes (or not creating a parameter to tell folder can be used to > > >> move messages to), there is indeed only one folder that gets > incoming > >> messages delivered to, and that is the inbox=yes. You should have > >> created a 2nd parameter specifying if a folder should be allowed to > >> store mail. > >> > > > >You can deny this with ACLs. Or with filesystem permissions. > > > >> (I have been running this dovecot server for 20 years or so, and I > am > >> really surprised about still running into issues on such basic > things as > >> trying to put folders onto different storage. Not to mention the > lack of > >> help you can get here. Is there some roadmap, features > implementation > >> overview available? Can you make public issues on github?) > >> > > > >I'm sorry you feel that you have not been served. Perhaps you can > maybe > > appreciate that we provide our support for free of charge, so it is > best > > effort basis, and might not always prioritize the things you find > important. > > > >We are not unfortunately going to be making issues public on Github, > >we have our own issue tracking system. > >
RE: BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"
> >> >> I can only move messages to a root namespace folder when specifying >> inbox=yes. That is strange because it is not even the inbox. I don't >> even get why it is not by default possible, maybe bug there? >> > >This makes no sense. inbox=yes namespace means the namespace which has >'INBOX' folder as per RFC. With this configuration namespace { disabled = no hidden = no ignore_on_failure = no inbox = yes list = yes location = mailbox Archive { auto = create autoexpunge = 0 autoexpunge_max_mails = 0 comment = driver = special_use = \Archive } mailbox Archives { auto = no autoexpunge = 0 autoexpunge_max_mails = 0 comment = driver = special_use = \Archive } order = 0 prefix = separator = / subscriptions = yes type = private } namespace { disabled = no hidden = no ignore_on_failure = no inbox = no list = no location = mbox:/home/mail-archive/%u/Archive/:CONTROL=/home/mail-archive/%u/Archiv e/control:INDEX=/home/mail-archive/%u/Archive/index:LAYOUT=maildir++ order = 0 prefix = Archive/ separator = / subscriptions = yes type = private } I get this error message from apple mail when I right click and choose archive "The IMAP command "UID COPY" (to Archive) failed for the mailbox "INBOX" with server error: Mailbox isn't selectable" If I add the inbox=yes, the dovecot logs are flooded with Error: namespace configuration error: There can be only one namespace with inbox=yes namespace configuration error: There can be only one namespace with inbox=yes in=0 out=398 >> You have made the mistake of overloading the use of a parameter >> inbox=yes (or not creating a parameter to tell folder can be used to >> move messages to), there is indeed only one folder that gets incoming >> messages delivered to, and that is the inbox=yes. You should have >> created a 2nd parameter specifying if a folder should be allowed to >> store mail. >> > >You can deny this with ACLs. Or with filesystem permissions. > >> (I have been running this dovecot server for 20 years or so, and I am >> really surprised about still running into issues on such basic things as >> trying to put folders onto different storage. Not to mention the lack of >> help you can get here. Is there some roadmap, features implementation >> overview available? Can you make public issues on github?) >> > >I'm sorry you feel that you have not been served. Perhaps you can maybe > appreciate that we provide our support for free of charge, so it is best > effort basis, and might not always prioritize the things you find important. > >We are not unfortunately going to be making issues public on Github, >we have our own issue tracking system. >
Re: Migration
> On 31 Dec 2018, at 12.22, Ignacio García wrote: > > A totally different approach (that is imap-server agnostic), providing that > you're setting up those new accounts with temporary passwords (which you > know), before users change their passwords to their liking: you could also > use imapsync ( https://github.com/imapsync/imapsync) . We here use it with a > batch file and a text file containing all accounts to do mass-migrations, > usually at night, when there's little to none user interaction with their > mail accounts. I like this approach because mail service never gets > interrupted and we do programmed syncs all night in case DNS propagation > takes more than expected and mail still arrives to the old server. I still don't recommend to use imapsync for migrations as UIDVALIDITY and UID numbers will change and end users will need to invalidate their local client caches and redownload all mail headers and usually also mail bodies again. Sami
Re: Migration
A totally different approach (that is imap-server agnostic), providing that you're setting up those new accounts with temporary passwords (which you know), before users change their passwords to their liking: you could also use imapsync ( https://github.com/imapsync/imapsync) . We here use it with a batch file and a text file containing all accounts to do mass-migrations, usually at night, when there's little to none user interaction with their mail accounts. I like this approach because mail service never gets interrupted and we do programmed syncs all night in case DNS propagation takes more than expected and mail still arrives to the old server. Ignacio El 30/12/2018 a las 23:09, Hans Brage escribió: Thanks! That was a really useful answer. // Hans Den 2018-12-30 kl. 10:53, skrev Sami Ketola: On 29 Dec 2018, at 23.49, Hans Brage wrote: Hi! I'm currently running an small imap-server on Dovecot 2.2.4 but will retire that server. I've set up an new server with Dovecot 2.3.4 and will migrate the mailboxes (maildir-format) from the old to the new server. I'm planning to restructure the accounts a bit when migrating so I need to move them one by one. Its only a few so thats not a big issue. Both servers are using virtual accounts (users file). I've understood that best method for migration is to run doveadm backup -R from the new server. But I really cant figure out what other parameters or settings that I need to perform that task and if it should be run as user vmail or root. Would be greatful for any tips, hints, links or similiar. Once you have the new server set up, you can use dsync over ssh to sync the mailboxes with something like: doveadm backup -u user@newserver -R ssh sudouser@oldserver sudo /usr/bin/doveadm dsync-server -u user@oldserver needs to be run as root on new server. Also ssh access with keys and without password is recommended. Sami