Re: [exim] Error: maximum allowed line length is 998 octets,…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Quaquaraquà
Dátum:  
Címzett: Adam D. Barratt
CC: exim-users
Tárgy: Re: [exim] Error: maximum allowed line length is 998 octets, got 76
Ouch, now I understand your message about the two rejects. Sorry, I read
it too hastily and I thought it was about the order of the conditions.

Thanks,
Quaquero


On 01/10/17 22:55, Quaquaraquà wrote:
> Hi Adam,
>
> thank you for your reply. I tried your suggestion of swapping the two
> parts. Nevertheless I still obtain the same behaviour: every message
> is always rejected with an error about the maximum allowed length.
>
> Looking at the docs, if my interpretation is correct, it does not
> matter which order is followed in a deny verb, as far as there is only
> one "message" modifier. From section 20 of
> https://www.exim.org/exim-html-current/doc/html/spec_html/ch-access_control_lists.html
> :
>
> " [...] ACL modifiers appear mixed in with conditions in ACL
> statements. Some of them specify actions that are taken as the
> conditions for a statement are checked; others specify text for
> messages that are used when access is denied or a warning is generated.
> [...]
> For the deny verb, on the other hand, it is always the last message
> modifier that is used, because all the conditions must be true for
> rejection to happen. Specifying more than one message modifier does
> not make sense, and the message can even be specified after all the
> conditions"
>
>
> I'm including the whole exim configuration file in case someone wishes
> to take a look:
>
> https://pastebin.com/3a4tSPrE
>
> Thanks,
>
> Quaquero
>
>
>
> On 13/09/17 12:02, Adam D. Barratt wrote:
>> On 2017-09-13 10:44, Quaquaraquà via Exim-users wrote:
>>> Hi,
>>>
>>> I'm just noticing that I am not able to receive any email in my
>>> account. They all get blocked with the following message issued:
>>>
>>>
>>> 2017-09-13 11:26:33 1ds3wH-0003N5-Bs H=mout.gmx.net [212.227.15.19]
>>> X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no F=<xxxxxxxxx@???>
>>> rejected after DATA: maximum allowed line length is 998 octets, got 76
>>>
>>> So I tried to amateurly comment out the section in exim.conf:
>>>
>>>   #deny    message    = maximum allowed line length is 998 octets, \
>>>   #                     got $max_received_linelength
>>>   #deny    condition  = ${if > {$max_received_linelength}{998}}
>>
>> That's two stanzas - the first an unconditional deny with a message
>> and the second a conditional deny with with no message. You're
>> looking for:
>>
>> deny    condition  = ${if > {$max_received_linelength}{998}}
>>         message    = maximum allowed line length is 998 octets, \
>>                      got $max_received_linelength
>>
>> Regards,
>>
>> Adam
>