mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-23 15:37:01 +00:00
Make the SMTP courier fall back to the A record when MX does not exist, as per standard behaviour. This is not implemented nicely, because Go's API does not give a clear signal if the answer was that there are no MX records or something else happens. For now, we implement it with a heuristic that should work pretty reliably, but it's definitely not very nice.
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.