On 10/18/2013 12:01 AM, Aleksander Podsiadły wrote:
Dnia 2013-10-17, czw o godzinie 09:53 -0700, Eric Shubert pisze:
Just for the record, I don't see how it could possibly work without
dovecot's LDA.
From wiki2.dovecot.org:
Dovecot supports VPopMail directly.
Dovecot implements the standard Maildir++ specification, so it's
compatible with Courier, maildrop, Exim, etc.
http://www.inter7.com/courierimap/README.maildirquota.html
So it works. :)
It does indeed appear to work now from the best I can tell, but I don't
use quotas for the most part, so it's hard for me to determine.
After a little digging, I see that maildrop plays a role here, which I
would expect. The /etc/maildrop/mailfilter script makes some delivery
magic happen. Upon closer examination on one of my QMTs, I see that some
accounts (mostly NOQUOTA ones) have .qmail files which invoke maildrop,
but most accounts have no .qmail file at all, so (according to the
dot-qmail man page) delivery is done according to
/var/qmail/control/defaultdelivery, which QMT defaults as "./Maildir/".
This is consistent with what I'm seeing in the maildrop.log file, as
there are no maildrop delivery messages for these accounts with no
.qmail file.
On a side note, it appears that the mailfilter script supports the
spambox processing. It could be that I used to use that but no longer
do. I'm wondering now if the mailfilter script is intended only for
spambox accounts. This might be the case.
At the same time, all of the accounts with quotas defined do have what
appears to be a fairly current maildirsize file in the Maildir
directory, which based on the time stamps is being created by the
delivery process. I'm not seeing where this happens, so I presume that
qmail-local must be doing this, courtesy of the netqmail-maildir++
patch. I've not examined the code in this patch, but I'm willing to
wager that it's there.
Also, I noticed that a few of the components in the mailfilter script
(maildirmake and deliverquota) are part of courier-imap, so these (at
least) will need to be included elsewhere (probably in maildrop-toaster)
if/when courier is removed from QMT before dovecot's LDA is implemented
(replacing maildrop-toaster). It might be just as well to include
dovecot's LDA along with dovecot IMAP and POP3 though. I'll have to give
that some thought.
I seem to recall that some people using dovecot have removed the courier
packages with no ill effects. I'm guessing that if this is so, then
they're not using the spambox feature (or maildrop). Can anyone confirm
this?
I continue to learn more of the intricate details of this thing.
Thanks for bringing this up, Aleksander!
P.S. On a side note I have one Maildir >2G, which qmailadmin shows as
<2G. I'm guessing from this that quotas >2G might not work (an int size
limit). Once again, qmailadmin could use a little fixing up.
--
-Eric 'shubes'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]