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:
14
test/t-exim/msmtprc
Normal file
14
test/t-exim/msmtprc
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user