1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-08 17:51:57 +00:00

chasquid: Make the "Received:" header RFC compliant

The Received header has some predefined structure and valid keywords,
this patch adjust how we create them to be compliant with that
structure.
This commit is contained in:
Alberto Bertogli
2016-10-08 18:38:54 +01:00
parent bc2b3b40a5
commit 3eac221a7f
2 changed files with 18 additions and 9 deletions

View File

@@ -20,10 +20,11 @@ Delivery to the following recipient(s) failed permanently:
----- Original message -----
Received: from user user@testserver
by *
Received: from testserver (authenticated as user@testserver)
by testserver (chasquid)
(over *
(envelope from "user@testserver")
on ; *
; *
Date: *
From: Mailer daemon <somewhere@horns.com>
Subject: I've come to haunt you