Re: [exim] Exim-users Digest, Vol 25, Issue 1

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Chris Pattullo
Date:  
À: exim-users
Sujet: Re: [exim] Exim-users Digest, Vol 25, Issue 1
On Thu, 2006-06-01 at 11:58 +0100, Patrick von der Hagen
<hagen@???> wrote:
>         Hmmm, if I'm not mistaken ages=="since February", when exim
>         4.60 was
>         released? ;-)


no, I use exim 4.5x and it's got it.


>         However, the key is "average of mails/timeunit ....
>         significant
>         derivation". I don't want to have fixed limits but consider
>         keeping
>         several values for a given IP, like average values, maximum
>         values, etc.
>          and them do some calculations wheter the current rate "seems
>         to be
>         strange". Some kind of "self-learning-method", automatically
>         calculating
>         the limits when to take action.


don't know that this is the right way to go about this, but you might be
able to keep track of this via system filters, and database population,
etc. You can increment counters in the DB, and have DB functions do the
rest of the 'thinking' for you.

>         Perhaps it would pay-off to have different limits for a
>         sender,
>         depending on time, day of week, etc. One host might send
>         almost all
>         mails during the day, other hosts might distribute their mail
>         equally
>         during the day, one might be inactive on weekends, etc.


this is possible via DB lookups for a user in the rate-limiting
statement:

deny    ratelimit = [LOOKUP STATEMENT HERE] / 3h / per_rcpt / strict


(the per_rcpt & strict are additional and might not apply to your
situation)


Hope this offers another possible solution.


Chris

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com