I've finally got it to work, kind of .. It should allow you to log in, but several settings don't work yet and there are probably many bugs. Anyway, I thought I'd show this already in case someone is interested of looking how it works :) One thing I'm still wondering a bit is if I should show process names as: 32602 pts/19 S 0:00 dovecot/config 32603 pts/19 S 0:00 dovecot/log 32604 ? Ss 0:00 dovecot 32606 ? S 0:00 dovecot/imap-login 32607 ? S 0:00 dovecot/auth -s 3 Or if I should name the binaries all as dovecot-config, dovecot-log, etc. One nice thing with the above is that it also shows imap and imap-login processes while grepping for dovecot. You can get the tarball from http://dovecot.org/tmp/dovecot-1.0-test67-mrewrite.tar.gz (it has all the test73 changes despite the name..) Example configuration file (with bare minimals) is at http://dovecot.org/tmp/dovecot.conf I think I'll create a separate dovecot-master.conf for those service-blocks in the above config file (after I add include-directive to config file parser code). After the code is working better, I'll commit it to CVS and it'll be in future -test releases. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050615/f8d61c4b/attachment-0001.bin>
Timo Sirainen <tss at iki.fi> writes:> I've finally got it to work, kind of .. It should allow you to log in, > but several settings don't work yet and there are probably many bugs. > Anyway, I thought I'd show this already in case someone is interested > of looking how it works :) > > One thing I'm still wondering a bit is if I should show process names > as: > > 32602 pts/19 S 0:00 dovecot/config > 32603 pts/19 S 0:00 dovecot/log > 32604 ? Ss 0:00 dovecot > 32606 ? S 0:00 dovecot/imap-login > 32607 ? S 0:00 dovecot/auth -s 3This is very lucid. Only argument I can see against is that solaris uses /nn to mark number of threads on a process (eg prstat). My vote will be on slashes before dashes any day.> Or if I should name the binaries all as dovecot-config, dovecot-log, > etc. One nice thing with the above is that it also shows imap and > imap-login processes while grepping for dovecot. > > You can get the tarball from > http://dovecot.org/tmp/dovecot-1.0-test67-mrewrite.tar.gz (it has all > the test73 changes despite the name..) > > Example configuration file (with bare minimals) is at > http://dovecot.org/tmp/dovecot.confI think it looks nice. Makes me think of master.cf in postfix. [snip] -- Anders "Quest" Qvist Ye olde jungle proverb: Even the Phantom must turn on the light to see what's in his goth wardrobe.
On Wed, 2005-06-15 at 19:27 +0900, Peter Evans wrote:> > > 32602 pts/19 S 0:00 dovecot/config > > > 32603 pts/19 S 0:00 dovecot/log > > > This is very lucid. Only argument I can see against is that solaris > > uses /nn to mark number of threads on a process (eg prstat). My vote > > will be on slashes before dashes any day. > > Or that solaris doesnt have setproctitleThe above is done by modifying argv[0] before exec()ing. setproctitle() doesn't matter..