[exim] Wishlist - Rate Limiting Feature - Forget

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marc Perkel
Datum:  
To: exim-users
CC: Graeme Fowler
Neue Treads: [exim] Broken Bugzilla (was: Re: Wishlist - Rate Limiting Feature - Forget)
Betreff: [exim] Wishlist - Rate Limiting Feature - Forget
I was trying to post this to Bugzilla but getting a software error.
Might want to fix bugzilla.


Software error:

DBD::mysql::db do failed: Access denied for user 'bugs'@'localhost' to
database 'bugs' at Bugzilla/DB/Mysql.pm line 213
Bugzilla::DB::Mysql::bz_lock_tables('Bugzilla::DB::Mysql=HASH(0x8a11464)',
'bugs WRITE', 'bug_group_map WRITE', 'longdescs WRITE', 'cc WRITE',
'keywords WRITE', 'dependencies WRITE', 'bugs_activity WRITE', 'groups
READ', ...) called at /usr/local/www/data/bugzilla/post_bug.cgi line 410

For help, please send mail to the webmaster
(webmaster@???
<mailto:webmaster@sesame.csx.cam.ac.uk>), giving this error message and
the time and date of the error.

Here was my message.

I hope you can get this in before the next release because with this
feature and the new one Graeme added to test without counting I can
write a REALLY good greylisting system.

What I need is a "forget" command that will allow me to erase
information from the time limiting database base on a key.

warn condition = some condition
     ratelimit = forget / key


Here's a quick overview of using ratelimit to do grey listing. Real
email server will try/retry from lowest numbered MX records going up.
Spambots generally don't retry and often start with the highest MX
record or random MX records. So - imaging one computer with 3 IP
addresses, all of which are MX.

The lowest MX returns DEFER on new connection but the ratelimiting
remembers that so that for the next hour if they come back to the second
MX or the first MX they are both open. Generally a real server will his
the second MX in a fraction of a second of the first one. So in order to
get a message into the system the lowest MX has to be touched and then
it is unlocked.

However the third MX (or several more higher) should never be touched
and if they are I want to be able to forget and good credits in the
system and perhaps replace it with a different key that is a penalty
key. Or if the sending server does something right I want to forget the
penalty keys.

I have a rough plan figured out based on modifying what I'm already
doing and I think the ability it forget keys would be useful. So I'm
hoping that forget is something easy and that you could just throw it in
before the next release of Exim if it's something that's not too much
trouble.