1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-19 14:57:04 +00:00
Files
go-chasquid-smtp/test
Alberto Bertogli d660f88f67 queue: Send DSN for messages that time out in the queue
The queue currently only considers failed recipients when deciding
whether to send a DSN or not. This is a bug, as recipients that time out
are not taken into account.

This patch fixes that issue by including both failed and pending
recipients in the DSN.

It also adds more comprehensive tests for this case, both in the queue
and in the dsn generation code.
2016-10-21 22:20:49 +01:00
..
2016-10-21 22:20:49 +01:00
2016-10-21 22:20:49 +01:00
2016-10-21 22:20:49 +01:00
2016-10-21 22:20:49 +01:00
2016-10-21 22:20:49 +01:00
2016-10-21 22:20:49 +01:00
2016-10-21 22:20:49 +01:00
2016-10-10 00:51:05 +01:00
2016-10-21 22:20:49 +01:00

This directory holds end to end tests, written usually in a combination of
shell and some Python.

They're not expected to be portable, as that gets impractical very quickly.
They also have some dependencies, listed below.


## Dependencies

The tests depend on the following things being installed on the system (listed
as Debian package, for consistency):

 - netcat (nc)
 - msmtp
 - util-linux (for /usr/bin/setsid)

For t-02-exim (Exim interaction tests):
 - gettext-base (for /usr/bin/envsubst)
 - The exim binary available somewhere, but it doesn't have to be installed.
   There's a script "get-exim4-debian.sh" to get it from the archives.

For some tests, python >= 3.5 is required; they will be skipped if it's not
available.