1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-23 15:37:01 +00:00

chasquid: Dovecot support (experimental)

This patch adds dovecot support to the chasquid daemon, using the
internal dovecot library added in previous patches.

Dovecot support is still considered EXPERIMENTAL and may be reverted, or
changed in backwards-incompatible ways.

The patch also adds the corresponding integration test, which brings up
a dovecot server with a custom configuration, and tests chasquid's
authentication against it.  If dovecot is not installed, the test is
skipped.
This commit is contained in:
Alberto Bertogli
2018-02-06 10:59:58 +00:00
parent 51e7c5c19e
commit d39d3aaff4
15 changed files with 304 additions and 27 deletions

28
test/t-11-dovecot/msmtprc Normal file
View File

@@ -0,0 +1,28 @@
account default
host srv
port 1587
tls on
tls_trust_file config/certs/srv/fullchain.pem
from user@srv
auth on
user user@srv
password password
account smtpport : default
port 1025
account subm_tls : default
port 1465
tls_starttls off
account baduser : default
user unknownuser@srv
password secretpassword
account badpasswd : default
user user@srv
password badsecretpassword