[milters] Archive

Lists Index Date Thread Search

Article: 2897
From: Dave Godglick
Date: 2012-09-07 09:42:30 -0400
Subject: RE: combo tag extenstion)

Thanks Anthony,

I can't think of how the syntax would work either. I was hoping perhaps there was
something that I was missing. Basically what I was looking for was a way to stop a burst
of messages of it occurs as well as a daily cap. I'll go through my logs and see which
will be the best option.

Cheers, 

> -----Original Message-----
> From: milters@milter.info [mailto:milters@milter.info] On Behalf Of
> Anthony Howe
> Sent: September-07-12 9:21 AM
> To: milters@milter.info
> Subject: [milters] milter-limit list of limits (was Re: RE: combo tag
> extenstion)
> 
> On 6 Sep 2012 13:31, Dave Godglick whispered from the shadows...:
> > I was able to get it to reject no using milter-limit-Auth: which
> > should work for my purposes. Is it possible to set a group of limits
> > like 5/1M as well as 1000/24h
> 
> No, since I have no idea how that might work since logically the
> shorter time frame would always take precedence as I see it; or such a
> list would be dependent on ordering which would probably be confusing:
> 
> 	milter-limit-auth:achowe@snert.com	10/5m 1000/24h
> vs
> 	milter-limit-auth:achowe@snert.com	1000/24h 10/5m
> 
> The above syntax does NOT work, since it would currently conflict with
> the pattern-list syntax. If you can explain how you envision such a
> syntax I could think about it.
> 
> You can have:
> 
> 	milter-limit-auth:achowe@snert.com	10/5m
> 	milter-limit-auth:			1000/24h
> 
> Which would mean the authenticated user achowe@snert.com has a
> different limit from the global limit for _authenticated_ users (note
> that this would be different from a more general milter-limit-from:).
> 
> You can use a pattern list for milter-limit-auth: in which case the
> search string used is the sender address, which might be different from
> the {auth_authen} value.
> 
> --
> Anthony C Howe            Skype: SirWumpus                  SnertSoft
>                         Twitter: SirWumpus      BarricadeMX & Milters
> http://snert.com/      http://nanozen.info/     http://snertsoft.com/



Lists Index Date Thread Search