[exim/exim] [Bug]: (Issue #3204)

matthewf via Exim-dev <[email protected]> Mon, 23 Feb 2026 18:50:19 +0000
Newsgroups gmane.mail.exim.devel
Message-ID <exim/exim/issues/[email protected]>
What is the problem environment ?
---------------------------------

FreeBSD 14.3-RELEASE-p5 GENERIC amd64

Exim version 4.99.1-203-369500e6c-XX #1 built 22-Feb-2026 16:02:41
Copyright ( c ) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2026
Copyright ( c ) University of Cambridge, 1995 - 2018

Support for : Content_Scanning Exim_filter crypteq IPv6 OpenSSL TLS_resume use_setclassresources DANE DKIM DNSSEC ESMTP_Limits ESMTP_Wellknown Event OCSP PIPECONNECT PRDR PROXY Queue_Ramp SPF SRS TCP_Fast_Open Experimental_ARC Experimental_SRV_smtps
Lookups ( built-in ) : dbm dbmnz dbmjz dnsdb dsearch iplsearch lsearch nwildlsearch wildlsearch spf readsock
Authenticators ( built-in ) :  cyrus_sasl plaintext
Routers ( built-in ) :  accept dnslookup ipliteral manualroute redirect queryprogram
Transports ( built-in ) :   appendfile/maildir autoreply pipe smtp
Malware:
Configure owner: 0:0
Size of off_t:8 ptr:8 long:8 int:4
Compiler: CLang [ 19.1.7 ( https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2 )]
Hints DB:
Using sqlite3
Library version: OpenSSL: Compile: OpenSSL 3.0.16 11 Feb 2025
                         Runtime: OpenSSL 3.0.16 11 Feb 2025
                                : built on: reproducible build, date unspecified
Library version: PCRE2: Compile: 10.47
                       Runtime: 10.47 2025-10-21
Library version: DNSDB: Exim 4.99.1-203-369500e6c-XX builtin
Library version: dsearch: Exim 4.99.1-203-369500e6c-XX builtin
Library version: lsearch: Exim 4.99.1-203-369500e6c-XX builtin
Library version: spf2: Compile: 1.2.11
                      Runtime: 1.2.11
WHITELIST_D_MACROS unset
TRUSTED_CONFIG_LIST unset
Configuration file is /usr/exim/configure

-XX because:
$ git diff
diff --git a/src/src/macros.h b/src/src/macros.h
index 4ca6b6b4d..3861066cc 100644
--- a/src/src/macros.h
+++ b/src/src/macros.h
@@ -130,7 +130,7 @@ changed, then the tables in expand.c for accessing them must be changed too. */
/* The size of buffer to get for constructing log entries. Make it big
enough to hold all the headers from a normal kind of message. */

-#define LOG_BUFFER_SIZE 8192
+#define LOG_BUFFER_SIZE 65536

#define LOG_NAME_SIZE 256

What happened?
--------------

[ #3040 ( https://code.exim.org/exim/exim/issues/3040 ) seems relevant (the messages in the log files are related to changes for this issue) ]

I did something extraordinary as root that caused a message to be rejected after DATA and lost because the system ran completely out of disk space very briefly at exactly the same time that the message was received.

Should this happen? One would reasonably expect a temporary rejection after DATA, as 3040 seems to have achieved - or is this another case from 3040.

I accept this is an extraordinary (perhaps even un-repeatable) scenario and very difficult to reproduce. So an acceptable response might be "don't do that again".

Secondly (and I'm pretty sure unrelated to the issue above, but it made me look) - at the time Exim had its default settings of:

message_size_limit = 50M
check_spool_space = 10M
smtp_check_spool_space

Should check_spool_space not at least be as big as message_size_limit as a default?

To which I feel a reasonable response might be "you as admin should set sensible values for those settings in the first place" (which I have now done!).

Relevant log output
-------------------

2026-02-23 13:00:20 SMTP connection from [ xx.xxx.xxx.xx ] I =[ xxx.xxx.xxx.xxx ] :25 ( TCP/IP connection count = 1 )
2026-02-23 13:00:21 1vuVXw-000000005GP-3xzD Message abandoned: Spool write error ( No space left on device ) while receiving message from xxx.xxxxxx.xx.xxxxxxxxxxxx.xxx [ xx.xxx.xxx.xx ]
2026-02-23 13:00:21 spoolfile error on close: No space left on device from <spc2_54778.577667.1.65fd147dc04e2ae800f250f0af483ecf@xxxxxxxx.xxxxxx.xx.xxxxxxxxxxxx.xxx> for [email protected]
2026-02-23 13:00:21 rescind the above message-accept from <spc2_54778.577667.1.65fd147dc04e2ae800f250f0af483ecf@xxxxxxxx.xxxxxx.xx.xxxxxxxxxxxx.xxx> for [email protected]
2026-02-23 13:00:21 H = xxx.xxxxxx.xx.xxxxxxxxxxxx.xxx [ xx.xxx.xxx.xx ] I =[ xxx.xxx.xxx.xxx ] :25 X = TLS1.3:TLS_AES_256_GCM_SHA384:256 F = <spc2_54778.577667.1.65fd147dc04e2ae800f250f0af483ecf@xxxxxxxx.xxxxxx.xx.xxxxxxxxxxxx.xxx> SPF = pass rejected after DATA: spoolfile error on close: No space left on device
2026-02-23 13:00:21 SMTP connection from xxx.xxxxxx.xx.xxxxxxxxxxxx.net [ xx.xxx.xxx.xx ] I =[ xxx.xxx.xxx.xxx ] :25 D = 1s closed by QUIT

---
View it on Exim Forgejo ( https://code.exim.org/exim/exim/issues/3204 ) or reply to this email directly.