On Thu, 23 Mar 2006 17:48:11 +1030
David <[EMAIL PROTECTED]> wrote:
> MAILDIRQUOTA=`~vpopmail/bin/vuserinfo -q [EMAIL PROTECTED]
>
> in the maildrop filter file. Can anybody tell me if this works with
> the Shupp toaster? I have successfully integrated maildrop as my LDA
> in a Shupp toaster, but it seems blissfully unaware of users' quotas
> and quota warning/over-quota messages get lost, and when the account
> fills up, maildrop just spits errors and the mail stops with
> maildrop. I am looking for a way to make it quota-aware.
Why don't you use deliverquota (part of courier-imap package, I guess)?
I think it does exactly what you need.
>From the manpage:
NAME
deliverquota - deliver to a maildir with a quota
SYNOPSIS
deliverquota [ -c ] [ -w percent ] maildir quota
DESCRIPTION
deliverquota delivers mail to a maildir taking into account any
software-imposed quota on the maildir. This manually-enforced
quota mecha- nism is described in the maildirquota(7) and
maildirmake(1) manual pages. Instead of setting up your mail server to
deliver the message directly to a maildir, configure the mail
server to run the deliv- erquota program in order to deliver the
message, and specify the loca- tion of the maildir as the argument to
deliverquota.
--
Adrian Pircalabu
--
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/