mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
Despite its loose appearance, the "Received" header has a reasonably standarized format. We were not following the standard format as closely as we should; this rarely causes problems in this particular case, but there's no need to deviate from it. This patch changes the Received header generation as follows: - The "from" section now uses the remote address as canonical (for non-authenticated users) which provides more valuable information than the user-supplied EHLO address (which is also included). - The remote authenticated user is now hidden, for additional privacy. - Use the "with" optional clause. - Use the standard way of printing TLS cipher suite. - Use the standard way of printing address literals.
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.