[Rspamd-Users] Message size limiting in rpsamd
Sophie Loewenthal
sophie at klunky.co.uk
Mon May 6 20:09:43 UTC 2019
> On 6 May 2019, at 22:01, Sophie Loewenthal <sophie at klunky.co.uk> wrote:
>
>> On 6 May 2019, at 21:56, Vsevolod Stakhov <vsevolod at rspamd.com> wrote:
>>
>> On 06/05/2019 20:34, Tim Harman via Users wrote:
>>> On 07/05/2019 6:12 am, Sophie Loewenthal wrote:
>>> ..SNIP..
>>>
>>> The problem is that we don't understand what you're trying to achieve.
>>
>> Yes, that's exactly that feeling I have about lots of questions here indeed.
>> ..SNIP..
>>
>> It actually has:
>>
>> $ rspamadm confighelp -k max_message
>>
>> Showing help for keyword max_message:
>> Configuration element: .options.max_message
>> Description: Maximum size of the message to be scanned (50Mb by default)
>> Type: size
>> Required: false
>
> Thank-you so much. This is exactly what I was looking for and am glad it’s been coded into rspamd. I shall try and change these.
> Should this be set like this?
>
> # local.d/options.inc
> max_message = 100Mb;
>
> ( Taken from https://rspamd.com/blog/page8/ )
Yes, it works.
# rspamadm configdump options
options {
SNIP
max_message = 11534336;
SNIP
}
# cat options.inc
local_addrs = "127.0.0.0/8, ::1";
max_message = 11Mb;
By the way, what happens when the size limit is reached?
More information about the Users
mailing list