mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-08 17:51:57 +00:00
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).
This commit is contained in:
13
test/t-05-null_address/sendmail
Normal file
13
test/t-05-null_address/sendmail
Normal file
@@ -0,0 +1,13 @@
|
||||
EHLO
|
||||
MAIL FROM: <>
|
||||
RCPT TO: user@testserver
|
||||
DATA
|
||||
From: Mailer daemon <somewhere@horns.com>
|
||||
Subject: I've come to haunt you
|
||||
|
||||
Muahahahaha
|
||||
|
||||
|
||||
.
|
||||
QUIT
|
||||
|
||||
Reference in New Issue
Block a user