Re: [Exim] maildirquota with exim

Top Page
Delete this message
Reply to this message
Author: maillist
Date:  
To: exim list
Subject: Re: [Exim] maildirquota with exim
thanks. it worked for me. is there any way I can customize the bounced message?


----- Original Message -----
From: "Dan Egli" <dan@???>
To: "exim list" <exim-users@???>
Sent: Tuesday, May 21, 2002 9:50 PM
Subject: Re: [Exim] maildirquota with exim


Umm, whats quota_2m? Here's my retry setup using MTA imposed quotas:

*                       *           F,3d,30m
*                       Quota



Works grand. If you meant Quota 2m (no underscore) then thats a two minute
retry. It won't fail till it's been trying for two minutes.


----- Original Message -----
From: maillist <mailtolist@???>
To: exim list <exim-users@???>
Sent: Tuesday, May 21, 2002 10:03 AM
Subject: Fw: [Exim] maildirquota with exim


>
> Hi Adam,
>
> Thanks for your help. I have successfully implemented maildirquota. Now, I

want
> to bounce the message to the sender immediately once the quota is full. I

have
> the following retry rules in my exim configure file:
>
> # Domain               Error       Retries
> # ------               -----       -------

>
> *                       quota_2m
> *                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h

>
> and accordingly it should bounce the mail immediately. but, it is still in

the
> queue.
>
> when I tried to force the queue by giving command:
>
> #exim -d6 -Mc 17ABP0-0004Nc-00
>
> it gave me the following message:
>
>
> Writing retry data for T:user@???
> first failed=1021994302 last try=1021994518 next try=1021995418 expired=0
> error -23 0: mailbox is full (MTA-imposed quota exceeded while writing to

file
> tmp/1021994518.16860.mail.domain
> end of retry processing
>
>
> ----- Original Message -----
> From: "Adam Cassar" <adam.cassar@???>
> To: "maillist" <mailtolist@???>
> Sent: Tuesday, May 21, 2002 7:46 PM
> Subject: Re: [Exim] maildirquota with exim
>
>
> Specify it using exim standard units, ie quota = 10M
>
> On Wed, 2002-05-22 at 00:16, maillist wrote:
> > and the quota should be in bytes or KB or MB?
> >
> > quota = ${lookup blah}
> >
> >
> > ----- Original Message -----
> > From: "Adam Cassar" <adam.cassar@???>
> > To: "maillist" <mailtolist@???>
> > Sent: Tuesday, May 21, 2002 6:13 PM
> > Subject: Re: [Exim] maildirquota with exim
> >
> >
> > I use quotas with maildir as follows:
> >
> > If you are using maildir's, use the maildir_tag to append the message
> > size to the file and quota_size_regex to grab the size out.
> >
> > ie:
> >
> > maildir_format = true
> > maildir_tag = ,S=$message_size
> > quota_size_regex = S=(\d+)$
> >
> > set the quota for users using:
> >
> > quota = ${lookup blah}
> >
> > Where blah is specific to your set up. IE I set quota using an ldap
> > lookup. Check out the ${lookup} macro. Works like a charm
> >
> > Hope this helps.
> >
> > On Tue, 2002-05-21 at 22:22, maillist wrote:
> > > Hi,
> > >
> > > I have a similar problem as listed at:
> > >
> > >
> http://www.exim.org/mailman/htdig/exim-users/Week-of-Mon-20010326/025257.html
> > >
> > > Anyone succeeded implementing maildirquota with exim?
> > >
> > > TIA.
> > >