Re: [exim] quota warn problem?

Pàgina inicial
Delete this message
Reply to this message
Autor: S.I
Data:  
A: exim-users
Assumpte: Re: [exim] quota warn problem?
incoming message isn't counted as part of the quota yet :)
quota_is_inclusive = false
-----------------------------------------------------------
y default, Exim's quota checking mimics system quotas, and restricts the mailbox to the specified maximum size, though the value is not accurate to the last byte, owing to separator lines and additional headers that may get added during message delivery. When a mailbox is nearly full, large messages may get refused even though small ones are accepted, because the size of the current message is added to the quota when the check is made. This behaviour can be changed by setting quota_is_inclusive false. When this is done, the check for exceeding the quota does not include the current message. Thus, deliveries continue until the quota has been exceeded; thereafter, no further messages are delivered. See also quota_warn_threshold.

On Wed, 17 May 2006 18:26:20 +0300
"S.I" <piston@???> wrote:

> Why my users can't recieve a mail warn message.
> here is my setup.
>
> MSG_QUOTA = "\ To: $local_part@$domain\n\
>                         Subject: Mailbox quota warning\n\n\
>                         This message was automatically generated by the mail delivery software.\n\n\
>                         You are now using over 90% of your allocated mail storage quota.\n\n\
>                         If your mailbox fills completely, further incoming messages will be automatically\n\
>                         returned to their senders.\n\n\
>                         Please take note of this and remove unwanted mail from your mailbox.\n"

>
> virtual_delivery:
>   driver = appendfile
>   maildir_format = true
>   create_directory = true
>   directory_mode = 0770
>   directory = /var/maildirs/$domain/$local_part/Maildir
>   delivery_date_add
>   envelope_to_add
>   group = nobody
>   user = mailnull
>   mode = 0660
>   quota = ${lookup mysql{select opt_quota from Auth \
>                 where username = '${quote_mysql:$local_part}' \
>                 and domain = '${quote_mysql:$domain}'}{${value}M}}
>   quota_warn_threshold = 90%
>   quota_is_inclusive = true
>   quota_warn_message = MSG_QUOTA
> #  maildir_tag = ,S=$message_size
> #  quota_size_regex = ,S=(\d+):
> #  maildir_use_size_file = false
>   no_mode_fail_narrower
>   return_path_add

>
> 2006-05-17 18:07:47 1FgN0e-000D0U-0G == ivo@??? R=virtual_user T=virtual_delivery defer (-22): mailbox is full (MTA-imposed quota exceeded while writing to tmp/1147878467.H469808P50210.DeViLsPoT.com)
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/