1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-19 14:57:04 +00:00

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
This commit is contained in:
Alberto Bertogli
2016-10-11 21:44:36 +01:00
parent 008cd98e39
commit eadd0ffc89
3 changed files with 20 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ Delivery to the following recipient(s) failed permanently:
----- Original message -----
Received: from testserver (authenticated as user@testserver)
Received: from localhost (authenticated as user@testserver)
by testserver (chasquid)
(over *
(envelope from "user@testserver")

View File

@@ -1,4 +1,4 @@
EHLO
EHLO localhost
MAIL FROM: <>
RCPT TO: user@testserver
DATA