Hi again. 
I am setting something like this on my .procmailrc

:0
| deliverquota -w 90 /usr/home/qmail/maildirs/unixmexico/nbari/Maildir/
$MAILDIRQUOTA

and on the deliveryProgramPath (ldif) just something like this:

/usr/local/bin/procmail [EMAIL PROTECTED]
/usr/home/qmail/maildirs/unixmexico/nbari/procmailrc

but the quota is not working, how can i debug or see the value of
$MAILDIRQUOTA

ragards.


On Thu, 2003-12-18 at 01:56, Claudio Jeker wrote:
> On Wed, Dec 17, 2003 at 05:37:28PM -0600, [EMAIL PROTECTED] wrote:
> > Hi
> > I have been using qmail-ldap with procmail on a virtual environment with
> > almost 30 domains and everything is just working fine.
> > 
> > I have a general procmailrc file on /usr/local/etc/procmailrc the one
> > delivers mail like this:
> > 
> > :0
> > | deliverquota -w 90 ./Maildir/ 2097152S,200C
> > 
> > more info:
> > http://qmail-ldap.suares.com/pipermail/qmail-ldap-archive/2003-May/010129.html
> > 
> > 
> > The problem that i have now is that for some domains and users i need to
> > modify the quotas.
> > 
> > What i do for some users is just to specify the deliverprogrampath to
> > somethig  like:
> > 
> > /usr/local/bin/procmail [EMAIL PROTECTED] Q=104857600S,10000C
> > /usr/home/qmail/maildirs/unixmexico.com/nbari/procmailrc
> > 
> > and on the procmailrc i have a line like this:
> > :0
> > | deliverquota -w 90 /usr/home/qmail/maildirs/unixmexico/nbari/Maildir/ $Q
> > 
> > 
> > This works but the i would like to know if there is a way to use the ldap
> > mailQuotaSize and mailQuotaCount Attribute in a better way so i dont have
> > to   specify them again on the $Q var that i pass through the
> > deliverprogrampath.
> > 
> > Is there a way to put the mailQuotaSize and mailQuotaCount on the env
> > vars? and if they are on the env how can i use them.
> > 
> 
> qmail-lspawn sets the MAILDIRQUOTA environment variable with the
> Courier-IMAP like quota. So replaceing $Q with $MAILDIRQUOTA should work.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to