Public bug reported: Dear esteemed Ubuntu maintainers, Please know that on:
ubuntu 24.04 Exim version 4.97 #2 built 21-Mar-2025 14:14:44 (after upgrade from 22.04) I see (selected text below) in my /var/log/exim4 reject log and my emails are not delivered :( :( 2025-03-07 15:22:54 1tqh1q-00C5uz-Hu H=vc8.csde.washington.edu [10.155.60.40] X=TLS1.3:ECDHE_X25519__ECDSA_SECP384R1_SHA384__AES_256_GCM:25 6 CV=no F=<csd...@vc8.csde.washington.edu> rejected after DATA: maximum allowed line length is 998 octets, got 2040 Envelope-from: <csd...@vc8.csde.washington.edu> I Message-Id: <E1tnt4l-00EbZL-8h@ika> 2025-02-28 08:08:18 1to2uQ-00Ft5p-3O H=grill-01.csde.washington.edu [10.155.60.131] F=<ad...@grill.csde.washington.edu> rejected after DATA : maximum allowed line length is 998 octets, got 1058 Content-Transfer-Encoding: base64 2025-02-13 18:56:07 1tils7-0093HN-8f H=vc8.csde.washington.edu [10.155.60.40] X=TLS1.3:ECDHE_X25519__ECDSA_SECP384R1_SHA384__AES_256_GCM:25 6 CV=no F=<csd...@vc8.csde.washington.edu> rejected after DATA: maximum allowed line length is 998 octets, got 2020 * But I configured the exim4 transport to allow 1G, see: root@ika:/etc/exim4# grep -rn message_linelength_limit /etc/exim4/conf.d/* /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost:54: message_linelength_limit = 1G /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp:64: message_linelength_limit = 1G * EXIM VERSION: root@ika:/etc/exim4# exim4 --version Exim version 4.97 #2 built 21-Mar-2025 14:14:44 Copyright (c) University of Cambridge, 1995 - 2018 (c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2022 Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013) Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages TLS_resume DANE DKIM DNSSEC Event I18N OCSP PIPECONNECT PRDR Queue_Ramp SOCKS SRS TCP_Fast_Open Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd Authenticators: cram_md5 external plaintext Routers: accept dnslookup ipliteral manualroute queryprogram redirect Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp Fixed never_users: 0 Configure owner: 0:0 Size of off_t: 8 Configuration file search path is /etc/exim4/exim4.conf:/var/lib/exim4/config.autogenerated Configuration file is /var/lib/exim4/config.autogenerated root@ika:/etc/exim4# * Other needful things: root@ika:/etc/exim4# lsb_release -rd No LSB modules are available. Description: Ubuntu 24.04.2 LTS Release: 24.04 root@ika:/etc/exim4# apt-cache policy exim4 exim4: Installed: (none) Candidate: 4.97-4ubuntu4.3 Version table: 4.97-4ubuntu4.3 500 500 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages 4.97-4ubuntu4 500 500 http://us.archive.ubuntu.com/ubuntu noble/main amd64 Packages root@ika:/etc/exim4# apt-cache policy exim4-base exim4-base: Installed: 4.97-4ubuntu4.3 Candidate: 4.97-4ubuntu4.3 Version table: *** 4.97-4ubuntu4.3 500 500 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages 100 /var/lib/dpkg/status 4.97-4ubuntu4 500 500 http://us.archive.ubuntu.com/ubuntu noble/main amd64 Packages root@ika:/etc/exim4# Please help - I would strongly prefer those mails to be delivered Is this a bug? IDK. The internet thinks that it might be fixed in version _____________________________________ UPDATE: I see there are two places that the checks happen for line length..... see: root@ika:/var/log/exim4# view rejectlog root@ika:/var/log/exim4# grep -rn linelength /etc/exim4/conf.d/* /etc/exim4/conf.d/acl/40_exim4-config_check_data:16: condition = ${if > {$max_received_linelength}{998}} /etc/exim4/conf.d/acl/40_exim4-config_check_data:18: got $max_received_linelength /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost:54: message_linelength_limit = 1G /etc/exim4/conf.d/transport/30_exim4-config_remote_smtp:64: message_linelength_limit = 1G root@ika:/var/log/exim4# There is also a directive that can be used called: IGNORE_SMTP_LINE_LENGTH_LIMIT maybe this will help someone else. Perhaps this is a user config issue and not a bug :) ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: exim4 (not installed) ProcVersionSignature: Ubuntu 6.8.0-58.60-generic 6.8.12 Uname: Linux 6.8.0-58-generic x86_64 ApportVersion: 2.28.1-0ubuntu3.5 Architecture: amd64 CasperMD5CheckResult: pass Date: Tue Apr 29 13:23:06 2025 InstallationDate: Installed on 2022-08-28 (975 days ago) InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419) ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> SourcePackage: exim4 UpgradeStatus: Upgraded to noble on 2025-04-14 (15 days ago) ** Affects: exim4 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2109641 Title: exim4 on 24.04 ignores message_linelength_limit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/2109641/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs