[exim-dev] [Bug 1684] Malformed headers which exceed length …

Pàgina inicial
Delete this message
Reply to this message
Autor: admin
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 1684] Malformed headers which exceed length spec willingly passed to remote servers
https://bugs.exim.org/show_bug.cgi?id=1684

--- Comment #6 from Jeremy Harris <jgh146exb@???> ---
$max_received_linelength is already populated with the relevant value.
This can be checked in the smtp_data acl and the smtp transports:

acl_check_data:
 deny    condition  = ${if > {$max_received_linelength}{998}}
...


remote_smtp:
driver = smtp
message_size_limit = ${if > {$max_received_linelength}{998} {1}{0}}

Doing the latter results in a bounce for a long-line message accepted via
non-smtp and routed to an smtp transport. You could reject in the non-smtp
acl instead, but if support for long-lines in non-smtp traffic is desired
this would be complex to properly filter.

Possibly we should add the above to the example configuration file.

--
You are receiving this mail because:
You are on the CC list for the bug.