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 e7309a2c7b smtpsrv: Send enhanced status codes
SMTP supports enhanced status codes, which help with
internationalization and accessibility in cases where protocol errors
make their way to the users.

This patch makes chasquid include these extended status codes in the
corresponding replies, as well as advertising support in the EHLO reply.

Main references:
- RFC 3463 (https://tools.ietf.org/html/rfc3463)
- RFC 2034 (https://tools.ietf.org/html/rfc2034)
- SMTP Enhanced Status Codes Registry
  (https://www.iana.org/assignments/smtp-enhanced-status-codes/smtp-enhanced-status-codes.xhtml)
2019-01-10 15:44:25 +00:00
..
2018-03-26 01:58:47 +01:00
2018-03-26 01:58:47 +01:00
2018-03-26 01:58:47 +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):

 - 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.