From: Giovanni Mancuso on
Hi,

i have a question about message_size_limit parameter.

Can i set this parameter to get the value from ldap?

Else, can i write a Policy Delegator that do it?

Bye

From: Noel Jones on
On 3/17/2010 4:41 AM, Giovanni Mancuso wrote:
> Hi,
>
> i have a question about message_size_limit parameter.
>
> Can i set this parameter to get the value from ldap?
>
> Else, can i write a Policy Delegator that do it?
>
> Bye

As documented, message_size_limit accepts a number value, not
a file or path.

From: Manuel Mely on
On Wed, Mar 17, 2010 at 5:41 AM, Giovanni Mancuso
<suuuper(a)messinalug.org> wrote:
> Hi,
>
> i have a question about message_size_limit parameter.
>
> Can i set this parameter to get the value from ldap?
>
> Else, can i write a Policy Delegator that do it?
>
> Bye
>

I have something that could help you!

From: Wietse Venema on
Giovanni Mancuso:
> Hi,
>
> i have a question about message_size_limit parameter.
>
> Can i set this parameter to get the value from ldap?
>
> Else, can i write a Policy Delegator that do it?

The policy delegation protocol allows you to reject arbitrary
message sizes.

However, you do not know the size until the entire message is
received. When the clients sends

MAIL FROM:<user(a)example.com> SIZE=12345

that size may be incorrect.

Once you know the real size (after the message is received) you
can only accept or reject the message. When the message has multiple
recipients they all receive the message or none receives it.

Wietse