My system never issues the "dovecot start" command. I do, however, run /usr/local/libexec/dovecot/imap on port 9xxx. I talk to the server through port 9xxx and through the preauth tunnel. Is this arrangement OK? Are there some things that will only work if "dovecot" is invoked?
Thanks,
-- Dave Abrahams BoostPro Computing Software Development Training http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
on Thu Nov 01 2012, Dave Abrahams
My system never issues the "dovecot start" command. I do, however, run /usr/local/libexec/dovecot/imap on port 9xxx. I talk to the server through port 9xxx and through the preauth tunnel. Is this arrangement OK? Are there some things that will only work if "dovecot" is invoked?
In particular, I'm curious because of messages like the one below that I got from "doveadm search":
doveadm(dave): Error: net_connect_unix(/usr/local/var/run/dovecot/indexer) failed: No such file or directory
Is the lack of this (or any other) socket attributable to not having started dovecot itself?
-- Dave Abrahams BoostPro Computing Software Development Training http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
Timo?
on Fri Nov 02 2012, Dave Abrahams
on Thu Nov 01 2012, Dave Abrahams
wrote: My system never issues the "dovecot start" command. I do, however, run /usr/local/libexec/dovecot/imap on port 9xxx. I talk to the server through port 9xxx and through the preauth tunnel. Is this arrangement OK? Are there some things that will only work if "dovecot" is invoked?
In particular, I'm curious because of messages like the one below that I got from "doveadm search":
doveadm(dave): Error: net_connect_unix(/usr/local/var/run/dovecot/indexer) failed: No such file or directory
Is the lack of this (or any other) socket attributable to not having started dovecot itself?
-- Dave Abrahams BoostPro Computing Software Development Training http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
On 2.11.2012, at 9.52, Dave Abrahams wrote:
on Thu Nov 01 2012, Dave Abrahams
wrote: My system never issues the "dovecot start" command. I do, however, run /usr/local/libexec/dovecot/imap on port 9xxx. I talk to the server through port 9xxx and through the preauth tunnel. Is this arrangement OK? Are there some things that will only work if "dovecot" is invoked?
In particular, I'm curious because of messages like the one below that I got from "doveadm search":
doveadm(dave): Error: net_connect_unix(/usr/local/var/run/dovecot/indexer) failed: No such file or directory
Is the lack of this (or any other) socket attributable to not having started dovecot itself?
Yes, fts indexing is always done via the indexer process currently. You need dovecot master process running for that. I don't think there are other such things currently.
You could patch fts code to not use indexer process, probably a one line change. Except when running that way if two processes try to update the Lucene at the same time you'll get some errors.
Hi Dave,
Dave Abrahams wrote:
My system never issues the "dovecot start" command. I do, however, run /usr/local/libexec/dovecot/imap on port 9xxx. I talk to the server through port 9xxx and through the preauth tunnel. Is this arrangement OK?
No, most probably not. You try to investigate why dovecot does not run: http://wiki2.dovecot.org/WhyDoesItNotWork
Show your "doveconf -n" output and dovecot logfile content please.
Are there some things that will only work if "dovecot" is invoked?
The dovecot main process spawns all the services and sockets, you should invoke service binaries directly only for debugging purposes.
Regards Daniel
on Sun Nov 04 2012, Daniel Parthey
Hi Dave,
Dave Abrahams wrote:
My system never issues the "dovecot start" command. I do, however, run /usr/local/libexec/dovecot/imap on port 9xxx. I talk to the server through port 9xxx and through the preauth tunnel. Is this arrangement OK?
No, most probably not. You try to investigate why dovecot does not run: http://wiki2.dovecot.org/WhyDoesItNotWork
I know why it doesn't run: it doesn't run because I haven't done anything to make it run (e.g. no init script launches it). I've been running its "imap" executable from an init script (or launchd, the equivalent on my Mac), and most things seem to work just fine.
Show your "doveconf -n" output and dovecot logfile content please.
It's on a different machine than the one I'm using. I could post it later if you still think it's a good idea.
Are there some things that will only work if "dovecot" is invoked?
The dovecot main process spawns all the services and sockets, you should invoke service binaries directly only for debugging purposes.
OK, I think this is the definitive answer I was looking for. Thanks very much!
-- Dave Abrahams BoostPro Computing Software Development Training http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
participants (3)
-
Daniel Parthey
-
Dave Abrahams
-
Timo Sirainen