mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-22 15:27:02 +00:00
HELO and EHLO both take a mandatory parameter, which also should be used in the Received header. This patch tracks and enforces that parameter, and also updates the Received header generation to use it. https://tools.ietf.org/html/rfc5321#section-4.4
35 lines
681 B
Plaintext
35 lines
681 B
Plaintext
From user@testserver
|
|
From: Mail Delivery System <postmaster-dsn@testserver>
|
|
To: <user@testserver>
|
|
Subject: Mail delivery failed: returning message to sender
|
|
Message-ID: *
|
|
Date: *
|
|
X-Failed-Recipients: fail@testserver,
|
|
Auto-Submitted: auto-replied
|
|
|
|
Delivery to the following recipient(s) failed permanently:
|
|
|
|
- fail@testserver
|
|
|
|
|
|
----- Technical details -----
|
|
|
|
- "false" (PIPE) failed with error:
|
|
exit status 1
|
|
|
|
|
|
----- Original message -----
|
|
|
|
Received: from localhost (authenticated as user@testserver)
|
|
by testserver (chasquid)
|
|
(over *
|
|
(envelope from "user@testserver")
|
|
; *
|
|
Date: *
|
|
From: Mailer daemon <somewhere@horns.com>
|
|
Subject: I've come to haunt you
|
|
|
|
Muahahahaha
|
|
|
|
|