Re: [Exim] return-size limit

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: tdn
Cc: exim-users
Asunto: Re: [Exim] return-size limit
On Sat, 1 Sep 2001, tdn wrote:

> hello,
>
> i've just installed exim, have set a return-size limit of 1024bytes, yet bounce backs are 9KB
> any ideas where i could be going wrong?
>
> message_size_limit = 10485760
> return_size_limit = 1024


You aren't wrong. You've just discovered a feature of computers called
"block sizes". Here's the quote from the manual:

return_size_limit               Type: integer                   Default: 100K


    This option sets a limit in bytes on the size of messages that are
    returned to senders. If it is set to zero there is no limit. If the body
    of any message that is to be included in an error report is greater than
    the limit, it is truncated, and a comment pointing this out is added at
    the top. The actual cutoff may be greater than the value given, owing to
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    the use of buffering for transferring the message in chunks.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Exim's buffers are by default 8K in size. So it's going to send 8K
before it notices that it's passed the limit.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.