1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-06-28 04:01:20 +02:00
docker-mailserver/test/files/auth
Brennan Kinney 611a66bf98
fix: Correctly support multiple Dovecot PassDBs (#3812)
* fix: Dovecot PassDB should restrict allowed auth mechanisms

This prevents PassDBs incompatible with certain auth mechanisms from logging failures which accidentally triggers Fail2Ban.

Instead only allow the PassDB to be authenticated against when it's compatible with the auth mechanism used.

* tests: Use `curl` for OAuth2 login test-cases instead of netcat

`curl` provides this capability for both IMAP and SMTP authentication with a bearer token. It supports both `XOAUTH2` and `OAUTHBEARER` mechanisms, as these updated test-cases demonstrate.

* chore: Add entry to `CHANGELOG.md`
2024-01-23 19:11:05 +01:00
..
added-imap-auth.txt tests: Use swaks instead of nc for sending mail (#3732) 2024-01-03 13:17:54 +13:00
added-pop3-auth.txt tests: Use swaks instead of nc for sending mail (#3732) 2024-01-03 13:17:54 +13:00
imap-auth.txt tests: Use swaks instead of nc for sending mail (#3732) 2024-01-03 13:17:54 +13:00
imap-ldap-auth.txt tests: Use swaks instead of nc for sending mail (#3732) 2024-01-03 13:17:54 +13:00
pop3-auth.txt tests: Use swaks instead of nc for sending mail (#3732) 2024-01-03 13:17:54 +13:00