[Dovecot] Simulating UW Snarf...
Steffen Kaiser
skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Thu Feb 9 09:09:54 EET 2006
On Thu, 9 Feb 2006, Curtis Maloney wrote:
> 1) There's nothing to say /var/mail/%u can't be mbox. Dovecot already
> supports the INBOX being a different format to the rest of the mail. Handy
> if you don't run a Maildir capable LDA (but who does that? :)
The actual point is that this INBOX is _writable_. The UW-Snarf feature
will move the mail from a non-quota /spooldir/%u into the user's
filesystem-quota limited INBOX. When that storage becomes full, this
copying stops, waits till there is new available space, then moves further
mails.
So, the mail is deliviered to /spooldir/%u, and won't be bounced, because
of "user over quota"; but the user cannot _use_ endless storage.
We have been using this UW-Imap feature, too, long time. This was on some
Dovecot TODO-list some time ago -- I think it was called UW-slurp feature
-- , but I don't found it in the CVS TODO file unfortunately.
I will need some work-around for this too.
> For some reason I recall there being an "on login" script hook possible with
> dovecot - if nothing else, just wrap the imap binary. This script could
> iterate over the /var/mail/%u/new/ directory, moving each file to
> ~/Maildir/tmp, then /new, and bailing out when it hits quota full.
See above, the spool file must be read regularily.
Bye,
--
Steffen Kaiser
More information about the dovecot
mailing list