Re: [Exim] quota?

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Sergey V. Artjushkin
Data:  
Para: exim-users
Asunto: Re: [Exim] quota?
>>> Hello
>>>
>>> Colleagues,
>>> I'm trying to use quota option to limit users mailbox.
>>> As I understand from documentation,
>>> this is options of appendfile drivers.
>>> Where in configuration file I have to write this options?
>>> In section about TRANSPORTS CONFIGURATION ?
>>>
>
> > Yes.
>
> Hm.
> I wrote config like this:
>
 > local_delivery:
 >   driver = appendfile
 >   file = /var/mail/$local_part
 >   delivery_date_add
 >   envelope_to_add
 >   return_path_add
 >   group = mail
 >   mode = 0600
 >   quota = 300K
 >   quota_is_inclusive = true
 >   quota_warn_threshold = 80%
 >   quota_warn_message = "\
 >         To: $local_part@$domain\n\
 >         Subject: Size of Your mailbox\n\n\
 >         This message is automatically created \
 >         by mail delivery software.\n\n\
 >         The size of your mailbox has exceeded \
 >         a warning threshold that is\n\
 >         set by the system administrator.\n"

>
> Size of my mailbox is 298057 bytes. When I send big letter and
> this letter isn't delivered by exim due to quota exceeded, exim
> only write log about this and don't send any messages, that
> inform sender about full mailbox. Is there any opportunity
> to force exim to do it?



I found, that this letter is in then mail spool,

and exim try to deliver this letter more and more times.
And one last try is failed, exim will sent to sender
mail about full mailbox. Am I right? Is there any opportunity
to force exim to send warning mail about full mailbox and
don't try to deliver this letter more and more times?


> And one more question.
> As you see, the size of my mailbox is more then 80% from 300K.
> So why I didn't receive warning message anout it?
>
> Where I'm wrong?
>
>
> Thank you for advance.
>
>
>



-- 
With best regards.
------------------------------------------------------------------
Sergey Artjushkin                      Network Operation Center
    (SKIV-RIPE)                               ISP "CARAVAN"