Re: [Exim] IMAP quotas help needed

Top Page
Delete this message
Reply to this message
Author: brian
Date:  
To: Jeffrey Wheat
CC: exim-users
Subject: Re: [Exim] IMAP quotas help needed
I think you have a little bit of misunderstanding on how exim checks the
quota:

exim -d user@???(brian@??? in this example)

appendfile transport entered
appendfile: mode=660 notify_comsat=0 quota=52428800
directory=/export/home/bkw.org/mail/brian/Maildir format=maildir
message_prefix=null
message_suffix=null
quota checks on directory /export/home/bkw.org/mail/brian/Maildir
check_dir_size: dir=/export/home/bkw.org/mail/brian/Maildir/tmp sum=0
count=1
check_dir_size: dir=/export/home/bkw.org/mail/brian/Maildir/new sum=2651
count=3
check_dir_size: dir=/export/home/bkw.org/mail/brian/Maildir/cur sum=1590351
count=343
check_dir_size: dir=/export/home/bkw.org/mail/brian/Maildir sum=1593002
count=343
delivering in maildir format in /export/home/bkw.org/mail/brian/Maildir
writing to file tmp/1052933575.H18708P62459.smtp-00.ssl-website.net
Exim quota = 52428800 old size = 1593002 this message = 299 (included)
file quota = 0 count = 343
writing data block fd=6 size=299 timeout=0
renaming temporary file
renamed tmp/1052933575.H18708P62459.smtp-00.ssl-website.net as
new/1052933575.H18708P62459.smtp-00.ssl-website.net
appendfile yields 0 with errno=0 more_errno=0
search_tidyup called
journalling brian@???
virtual_delivery transport returned OK for brian@???
post-process brian@??? (0)
brian@??? delivered


From what I can tell it checks the directory and not each file.

bkw


----- Original Message -----
From: "Jeffrey Wheat" <jeff@???>
To: <exim-users@???>
Sent: Wednesday, May 14, 2003 12:20 PM
Subject: [Exim] IMAP quotas help needed


> I am trying to implement quotas on my mail servers
> using exim 4.14 and courier-imap 1.7.1. I am using
> mysql as the backend for all of my users, both local
> and virtual, as well as maildir format. I have in my
> exim.conf file the following two settings for the
> delivery transports along with the standard maildir
> settings:
> maildir_tag = ,S=$message_size
> quota_size_regex = ,S=(\d+)
>
> I have in my authmysqlrc the required entry for the
> quota field. There is a big difference in the format
> used by exim and courier for the quota field, such as
>
> courier: 10000000S,200C
> exim:    10M

>
> Where the courier quota format states 10Meg and 200 msgs
> while the exim format states 10Meg.
>
> Has anyone come up with a patch/hack/config that will
> let my users get their quotas with IMAP's getquota command?
>
> I'd rather not have to use the courier "deliverquota" as
> an external delivery agent in order to get this to work.
>
> Are there any plans to have exim build the maildirsize files?
>
> Many thanks!
> Jeff
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.478 / Virus Database: 275 - Release Date: 5/6/2003
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##
>