1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-22 15:27:02 +00:00
Files
go-chasquid-smtp/test/t-05-null_address/expected_dsr
Alberto Bertogli eadd0ffc89 chasquid: Track and enforce the HELO/EHLO address
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
2016-10-21 22:13:39 +01:00

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