πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.mail.sendmail
2 messages
2 total messages Started by Otto J. Makela Thu, 22 Oct 2026 17:50
Sendmail 8.14.4 and tabs in long headers
#1
Author: Otto J. Makela
Date: Thu, 22 Oct 2026 17:50
17 lines
2207 bytes
I am forced (due to circumstances which I cannot currently rectify)
to run Sendmail 8.14.4 on a system where it cannot be updated.

It turns out this version rewrites tabs in long multi-line headers
(like To or Subject) into spaces. This unfortunately breaks DKIM
signatures using c=simple, and then of course messages bounce if
the From domain specifies p=reject in their DMARC.

Newer Sendmail versions do not of course do this. I've tried to look at
the ruleset, but haven't been successful in locating where this happens.
Anyone remember what part of it causes this rather unfortunate rewrite,
or was this part in the actual compiled source code?
-- 
   /* * * Otto J. Makela <om@iki.fi> * * * * * * * * * */
  /* Phone: +358 40 765 5772, ICBM: N 60 10' E 24 55' */
 /* Mail: Mechelininkatu 26 B 27,  FI-00100 Helsinki */
/* * * Computers Rule 01001111 01001011 * * * * * * */
Re: Sendmail 8.14.4 and tabs in long headers
#2
Author: Claus Aßmann
Date: Fri, 23 Oct 2026 05:54
21 lines
1939 bytes
Otto J. Makela wrote:

> It turns out this version rewrites tabs in long multi-line headers
> (like To or Subject) into spaces. This unfortunately breaks DKIM
[[...]]

> Newer Sendmail versions do not of course do this. I've tried to look at
[[...]]
> Anyone remember what part of it causes this rather unfortunate rewrite,
> or was this part in the actual compiled source code?

It's not done in the rules - so if there was any change in the
behaviour it's in the code (the release notes don't mention it).

Good luck finding that :-(

-- 
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads