1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-20 15:07:03 +00:00
Files
go-chasquid-smtp/test/t-05-null_address/expected_dsr
Alberto Bertogli 469cbd5d76 test: Add a test for DSN and null address deliveries
This patch adds a test for delivery status notifications and null address
deliveries, that check that chasquid can both receive and send DSNs.

To do this, we extend the mail_diff utility to support wildcards in the
comparisons, to skip over variable parts of the messages (like dates).
2016-10-10 00:51:04 +01:00

34 lines
631 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 user user@testserver
by *
(envelope from "user@testserver")
on ; *
Date: *
From: Mailer daemon <somewhere@horns.com>
Subject: I've come to haunt you
Muahahahaha