[vexim] Vexim 2.2.1 quota support
Gordon Dickens
gordon at dickens.com
Sat Apr 26 04:30:25 PDT 2008
Hi Adam,
Please be aware that exim's quota threshold warning notification will
only be generated once. That is, it is only generated upon receipt of
the exact email which forces the maildir size over the quota limit. So,
if you are testing simply by setting the quota threshold limit to a
value smaller than the maildir size then the warning message will not be
generated unless that exact test email causes the maildir size to go
over the quota limit. The following is extracted from "The Exim SMTP
mail server" book by Philip Hazel (page 195):
"The append file transport can be configured to send a warning message
when the size of a mailbox crosses a given threshold. It does this only
once, because repeating such a warning for mailboxes that are above the
threshold would only exacerbate the problem."
FYI,
Gordon Dickens
On 4/25/2008 6:51 AM, Adam roland wrote:
> hi everybody,
>
> i just installed exim4-daemon-heavy 4.63-17 + courier POP3/IMAP backend
> with vexim 2.2.1frontend and say it's going very well,
> indeed one thing doesn't seem to be working; the quota support;
>
> let's see my exim4.conf;
>
> virtual_delivery:
> ...
> quota = ${lookup mysql{select users.quota from users,domains \
> where localpart = '${quote_mysql:$local_part}' \
> and domain = '${quote_mysql:$domain}' \
> and users.domain_id = domains.domain_id}{${value}M}}
> quota_is_inclusive = false
> #quota_size_regex = ,S=(\d+):
> quota_warn_threshold = 75%
> maildir_use_size_file =
> false
>
> # maildir_quota_directory_regex = ^(?:cur|new|\.(?!Trash).*)$
> quota_warn_message = "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 75% 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"
>
>
> in every situation the user reach the 75% size of the mailbox, the
> system doesn't sent the warning message,
>
> can someone point me to the solution?
More information about the Vexim
mailing list