mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-27 16:17:03 +00:00
The Received header has some predefined structure and valid keywords, this patch adjust how we create them to be compliant with that structure.
35 lines
682 B
Plaintext
35 lines
682 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 testserver (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
|
|
|
|
|