[Dovecot] Dovecot under daemontools

Odhiambo WASHINGTON wash at wananchi.com
Thu Aug 10 19:14:41 EEST 2006


* On 10/08/06 10:05 -0500, Rick Romero wrote:
| On Thu, 2006-08-10 at 17:40 +0300, Odhiambo WASHINGTON wrote:
| > * On 10/08/06 16:22 +0200, dale gallagher wrote:
| > | Hi there
| > 
| > Hi Dale!
| > 
| > | I'm having difficulties in getting dovecot to run under daemontools.
| > 
| > http://www.thedjbway.org/imap/dovecot.html
| > 
| > 
| > | Also, from a sysadmin perspective, so far, I find dovecot's config
| > | rather complex
| > | - I suppose that's what happens when one attempts to appease all
| > | authentication methods... anyway, I digress.
| > 
| > There are two plausible solutions to this complexity problem:
| > 
| > 1. Use a Windows Server with some click next-> next
| > 2. Quit being Sysadmin
| > 
| > ;)
| 
| I'm sure you're just kidding, but I kinda have to agree here.  There are
| some improvements that could be made in the system.
| 
| 1. The whole *BSD poll/kqueue issue. From what configure says, kqueue
| shouldn't ever show up.

It was problematic, so I simply disabled the compilation for KQUEUE 
using `make config` in /usr/ports/mail/dovecot (Yes, I use FreeBSD).

| 2. POP? It gets compiled in automatically, yet doesn't start.

That is not true, or perhaps you disabled it in dovecot.conf! It starts
in mine. I have about 20 boxes running dovecot.

| Doesn't bother me, as I'm just using IMAP, but it doesn't seem logical.

Sure. What is the error though?

| If POP doesn't start by default, I wouldn't think it would be compiled in by
| default.

I reserve my comment on that, since in my setups, I need both. I 
migrated from courier-imap to dovecot because I got convinced it's 
better. Timo is always here, and answers questions like the problem is 
his. Thanks Timo.


| 3. Config file. It flows well, but it's freaking huge.

Only when you get into the complicated details. In my case:

ksm# egrep -v '^[[:space:]]*(#|$)' /usr/local/etc/dovecot.conf | wc -l
      39

So, only 39 lines.


| 3a Quotas. Where are you told that to enable imap quotas, you need to
| say:  mail_plugins = quota imap_quota
| Maybe I missed it, but I modified horde to manually get the quotas
| because I couldn't find or figure out how enable it in dovecot.

I implement quota via the MTA. Pretty easy with Exim. You should think
about using MTA to control quota if dovecot is complicated. Just an
advise.


| 4. Config file gets overwritten on make install. Good thing I grew up
| with Leisure Suit Larry ;)


You have lied! But again what is your platform and how do you upgrade?
Perhaps the FreeBSD ports have made me so stupid. They never overwrite
any config files...


| > Sorry, one more .... courier-imap is easier to configure, no?
| 
| Yes on FreeBSD, you have IMAP/POP and SSL config files.
| 
| My suggestion would be to limit the compiled in defaults, or default to
| nothing and require the user to select what they need and dynamically
| add those sections to the example config file for each compiled in
| module.   IMAP/POP, auth, and whatever else.   And maybe be a little
| more descriptive on quotas (though I understand this is a new feature -
| at least for Maildir).

These are documented in the Wiki, no? You just have to spare time when
you want to implement a feature, and understand how dovecot implements
it. The architecture differs between these apps, you know, just as the
authors differ.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash at wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

Time flies like an arrow, but fruit flies like a banana.


More information about the dovecot mailing list