Yahoo Groups archive

Milter-greylist

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

Thread

[milter-greylist] Request to make ADDRLEN configure option

[milter-greylist] Request to make ADDRLEN configure option

2004-06-17 by attila.bruncsak@itu.int

Hello,

Is it possible to make the ADDRLEN constant to be a configuration value
instead
of being fixed to 31 in the source code?
So to conditionally define with ifndef - endif construct.

The code would stay quiet compatible but I would be able to configure like
that:
CFLAGS='-DADDRLEN=127' configure ...

Others may profit as well.
Is there anybody else who needs bigger value than 31 for the ADDRLEN?

You may ask why do I need bigger than 31?
Actually for me the testmode is the production mode.
I enlist all the e-mail addresses of the users who want to have the
greylisting
instead of listing the addresses without greylisting enabled.
I have users with e-mail address longer than 31 char.

Bests,
Attila

PS:
Actually the real solution would be to do dynamic memory allocation for the
addresses,
but that would require a lot of code changes.

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.