This may not help, but ... A/a vague memory from a long time ago, but I used to have issues with spool files not ending with a newline, and I think the error then was the same "Format error in spool file". It was actually caused by MailScanner at the time I think. As a quick fix, I wrote (or maybe stole) something to go over the queue and add a newline if there wasn't one.
Check yours have the newline with something like "cat -e /path/1nYsDq-0007Ah-Bg-H" and check the last line ends with "$". FWIW, my script makes these remarks: Is this Exim bug relevant: https://bugs.exim.org/show_bug.cgi?id=1974 See also: https://github.com/Exim/exim/blob/master/src/util/chunking_fixqueue_finalnewlines.pl J. . . . . . . . . . . . . . . . . . . . . . . . . . Jethro R Binks, Network Manager, Information Services Directorate, University Of Strathclyde, Glasgow, UK The University of Strathclyde is a charitable body, registered in Scotland, number SC015263. ________________________________ From: Exim-users <[email protected]> on behalf of Mark Murawski via Exim-users <[email protected]> Sent: 29 March 2022 18:05 To: [email protected] <[email protected]> Subject: [exim] Exim Input Spool Header Format? Hi, I'm having trouble with a spool file I need to fix. it looks like this, in-between --- --- 1nYsDq-0007Ah-Bg-H pbx 1000 1000 <foo@bar> 1648484882 0 -received_time_usec .362252 -ident foo -received_protocol local -body_linecount 5969 -max_received_linelength 103 -auth_id foo -auth_sender foo@bar -allow_unqualified_recipient -allow_unqualified_sender -local XX 1 [email protected] 204P Received: from abc by bar with local (Exim 4.92) (envelope-from <foo@bar>) id 1nYsDq-0007Ah-Bg for [email protected]; Mon, 28 Mar 2022 12:28:02 -0400 038 Date: Mon, 28 Mar 2022 12:28:02 -0400 043F From: "System" <notify@bar> 046T To: "User" <[email protected]> 045 Subject: New message 061I Message-ID: <A-9-1596072492-247-23131notify@bar> 018 MIME-Version: 1.0 076 Content-Type: multipart/mixed; boundary="----voicemail_9247231312086389261" --- 2022-03-29 13:03:25 1nYsDq-0007Ah-Bg Format error in spool file 1nYsDq-0007Ah-Bg-H: size=926 What's the issue with the file? I've been going through https://www.exim.org/exim-html-current/doc/html/spec_html/ch-format_of_spool_files.html, but I'm still having a hard time finding the issue since the error is so vague... I have no idea what's missing or invalid. Thanks! -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/ -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
