Re: [Exim] message_size too small?

Góra strony
Delete this message
Reply to this message
Autor: John Dalbec
Data:  
Dla: Nico Erfurth
CC: Exim Users Mailing List
Temat: Re: [Exim] message_size too small?
Nico Erfurth wrote:
> John Dalbec wrote:
>
>> If I run "exim -d jpdalbec < /dev/null" on my workstation with quotas
>> enabled the debug messages show message_size=311. But the message that
>> arrives in my mailbox is 510 bytes. What's up? I tested this with an
>> unpatched Exim-4.10 build just to make sure it wasn't my patches.
>>
>> This discrepancy means that quota_warn_messages may not be sent if the
>> threshold falls into a gap between message_size and the size of the
>> delivered message.
>
>
> The extra-bytes could be headers added while delivery.


Yes, I think you're right. Is there any way to have these added headers
included in the message_size at quota_warn time? Or is there a way to
determine the size of the added headers?
Thanks,
John Dalbec

local_delivery:
driver = appendfile
delivery_date_add
envelope_to_add
file = /var/mail/$local_part
group = mail
mode = 0660
quota_warn_threshold = 5%
quota = 125000K
return_path_add