Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Re: is this a DoS?

2004-06-01 by Emmanuel Dreyfus

On Tue, Jun 01, 2004 at 01:58:05PM -0000, enscensc wrote:
[e-mail addresses are truncated to 32 chars]
> It triggers a problem when using regexp's in the configuration
> file. E.g.
> 
> | rcpt /spamtrap-prefix.*@.../
> | rcpt /maillists+foobarnet.blablub.com=mydomain.com@.*/
>                                ^
> would *never* be matched as no tested rcpt will have the characters
> after the marked place (^). That's a very confusing behavior and it is
> documented nowhere (afaik).

Hum, that's a real problem. 
I see several way of fixing the problem
1) raise the truncation to a higher value (64? 128?)
This impacts the memory usage.

2) ensure regex are matched on the address before it is truncated

3) Document it as a known problem

Opinions?
-- 
Emmanuel Dreyfus
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.