1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-27 20:45:56 +00:00

test: Add a test for Exim interactions

This patch adds a new test which makes chasquid send and receive email to/from
Exim.

To make it work we need to add two testing flags to the SMTP courier, which is
not ideal but doesn't muddle the code much.

The test is not very portable, and assumes an exim binary is available, but
does not have to be installed in the system. It includes a helper script to
fetch one from the Debian archives.
This commit is contained in:
Alberto Bertogli
2016-07-21 22:21:48 +01:00
parent aac2d3c061
commit 905161c537
11 changed files with 190 additions and 4 deletions

14
test/t-exim/msmtprc Normal file
View File

@@ -0,0 +1,14 @@
account default
host srv-chasquid
port 1025
tls on
tls_trust_file config/domains/srv-chasquid/cert.pem
from user@srv-chasquid
auth on
user user@srv-chasquid
password secretpassword