Re: [exim] Help with limit per user

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Dennis Isaías Cervantes Nuñez
Data:  
Para: 'Richard Doyle', exim-users
Asunto: Re: [exim] Help with limit per user
Thank you for your response

I set the acl in this line
acl_not_smtp = acl_check_limit

with this definition 
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 = acl_c_msg_limit  / 1h / strict / $authenticated_id


we are read this post but it doesn't work

http://serverfault.com/questions/757897/rate-limit-for-users-in-exim


-----Mensaje original-----
De: Exim-users [mailto:exim-users-bounces+dennis.cervantes=tboxplanet.com@exim.org] En nombre de Richard Doyle
Enviado el: martes, 29 de marzo de 2016 5:48 p. m.
Para: exim-users@???
Asunto: 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_l
> imits}
> {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.


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/