Re: [exim] Help with limit per user

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Richard Doyle
日付:  
To: exim-users
題目: Re: [exim] Help with limit per user
On 03/28/2016 07:59 AM, Dennis Isaías Cervantes Nuñez wrote:
>
>
> Hello excuse my bad language but use a translator because I'm Latino
>
> we have a exim mail server, where we implemented an ACL to limit shipments
> of users and thus avoid SPAM, but this does not work :(
>
> I copy the ACL as this refers to a text file where are defined the limit of
> each user, whether they can help or know another method, my idea is that I
> want setear for example a user can only send 10 messages per day and another
> allowing unlimited
>
> Thaks for your responses
>
>
>
> #--ACL AGREGADA PARA CONTROL DE USUARIOS EN LIMITE DE ENVIOS DIARIOS
>
> acl_check_limit:
>
> deny authenticated = *
>
>      message = Lo sentimos, ha agotado el número permitido de envíos diarios

>
>      set
> acl_c_msg_limit=${lookup{$sender_address}nwildlsearch{/etc/exim/send_limits}
> {yes}}

>
>      ratelimit = 1000 / 1h / strict / $authenticated_id

>

You've defined an ACL, but need to tell Exim when to use it. See Hazel's
book.