[vexim] Vexim 2.2.1 quota support

Odhiambo Washington odhiambo at gmail.com
Fri Apr 25 04:18:34 PDT 2008


On Fri, Apr 25, 2008 at 1:51 PM, Adam roland <roland.adam at freemail.hu> 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?
>
>  cheers,
>
>  Roli

I don't know how the interaction between Exim and courier-imap would
yield the quota value, but I have used
maildir_use_size_file = true
to get the quota read from the size of the Maildir.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

"Oh My God! They killed init! You Bastards!"
 --from a /. post



More information about the Vexim mailing list