1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00
Files
go-chasquid-smtp/test
Alberto Bertogli 0bf5d9b242 Distinguish between permanent and transient errors
This patch makes the queue and couriers distinguish between permanent and
transient errors when delivering mail to individual recipients.

Pipe delivery errors are always permanent.

Procmail delivery errors are almost always permanent, except if the command
exited with code 75, which is an indication of transient.

SMTP delivery errors are almost always transient, except if the DNS resolution
for the domain failed.
2016-10-10 00:51:04 +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-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.