Christian Roessner via Postfix-devel:
> Hi,
> 
> why does exist a hard coded limit of 100000 characters in the
> netstring payload for socket maps? I have a customer who uses a
> socketmap for virtual aliases and he had to switch to the memcache
> protocol (he wrote a service speaking memcache) to workaround this
> issue, because memcache values seem not to have this limit.

Even memcached has limits, he just hasn't run into them.

Postfix virtual aliases have multiple limits. In fact, Postfix has
limits for everything, to prevent one bad actior from locking up
the entire server.

> Would it be possible to either drop this limit,

Sorry, that would make Postfix vulnerable by default, and that is
undesirable.

> set it higher it or have a configuration parameter for it?

It could be made configurable. For an example of this, see how the
"berkeley_db_read_buffer_size" configuration parameter controls a
global variable in the dict_db.c module.

Such a global variable already exists in dict_sockmap.c.

        Wietse
_______________________________________________
Postfix-devel mailing list -- postfix-devel@postfix.org
To unsubscribe send an email to postfix-devel-le...@postfix.org

Reply via email to