https://bugs.exim.org/show_bug.cgi?id=1684
--- Comment #6 from Jeremy Harris <[email protected]> --- $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. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
