Re: [Exim] how can i limit the mail box size ?

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Hunte Swee
Data:  
Para: Ben-Nes Michael, exim-users
Asunto: Re: [Exim] how can i limit the mail box size ?
You should have a storage to hold how much quota the user can used, e.g. LDAP, SQL database, then
configure the exim to use it.

The following is a fragment of my exim.conf. My installation is based on LDAP, the mailbox format is maildir.



################################################################################
# Rate/Anti-UCE control
################################################################################
RECIPIENTS_MAX                = 50
MESG_SIZE_LIMIT               = 50M
QUOTA_SIZE                    = 200M
QUOTA_FILE_COUNT              = 200
...
begin routers:
...
in_this_host:
    driver = accept
    transport = save_this_host_maildir
...

begin transports:
...
save_this_host_maildir:
    driver = appendfile
    create_directory = true
    mode = 0700
    maildir_format = true
    directory = /tpdata/vusers/${extract {mailMessageStore}{RCPT_USER_DATA}}/Maildir
    quota = ${extract {mailQuotaSize}{RCPT_USER_DATA} {$value} {QUOTA_SIZE}}
    quota_filecount = ${extract {mailQuotaCount}{RCPT_USER_DATA} {$value} {QUOTA_FILE_COUNT}}
    quota_warn_threshold = 75%
...
----- Original Message -----
From: "Ben-Nes Michael" <miki@???>
To: <exim-users@???>
Sent: Wednesday, September 24, 2003 12:55 AM
Subject: [Exim] how can i limit the mail box size ?


> Hi All
>
> How can I limit users mail box for specific size ?
>
> At start I would like to do it globally. ( 20mb max to all users ).
>
> Later I would like to enable few users to have bigger mailboxes.
>
> Thanks in Advance
>
> --------------------------
> Canaan Surfing Ltd.
> Internet Service Providers
> Ben-Nes Michael - Manager
> Tel: 972-4-6991122
> Fax: 972-4-6990098
> http://www.canaan.net.il
> --------------------------
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>